49 G4String filePot = fileName +
"_pot.txt";
50 G4String fileEFX = fileName +
"_efx.txt";
51 G4String fileEFY = fileName +
"_efy.txt";
52 G4String fileAtD = fileName +
"_atd.txt";
53 G4String fileElD = fileName +
"_eld.txt";
71 G4String filePot = fileName +
"_pot.txt";
72 G4String fileEFX = fileName +
"_efx.txt";
73 G4String fileEFY = fileName +
"_efy.txt";
74 G4String fileAtD = fileName +
"_atd.txt";
75 G4String fileElD = fileName +
"_eld.txt";
103 std::ifstream vFileIn;
106 vFileIn.open(filename);
107 vFileIn >> points >> maximum;
113 for(
G4int i0=0;i0<points; i0++){
115 if(vTempX>maximumY) maximumY = vTempX;
116 if(vTempX<minimumY) minimumY = vTempX;
119 G4cout <<
"G4ChannelingMaterialData::SetBR()" <<
G4endl;
121 G4cout <<
"Point: " << points <<
" - Length [mm]: " << maximum <<
G4endl;
122 G4cout <<
"Maximum Radius [m]: " << maximumY <<
" - Minimum Radius [m]: " << minimumY <<
G4endl;
std::unordered_map< std::string, G4ChannelingECHARM * > fPotentialElement
G4ChannelingECHARM * fElectronDensity
G4ChannelingECHARM * fPotential
G4ChannelingECHARM * fElectricFieldX
virtual void SetBR(const G4String &)
std::unordered_map< std::string, G4ChannelingECHARM * > fElectronDensityElement
std::unordered_map< std::string, G4ChannelingECHARM * > fElectricFieldXElement
static constexpr double millimeter
static constexpr double eV
G4PhysicsVector * fVectorR
G4ChannelingECHARM * fElectricFieldY
static constexpr double m
void SetFilename(const G4String &)
std::unordered_map< std::string, G4ChannelingECHARM * > fNucleiDensityElement
G4ChannelingECHARM * fNucleiDensity
std::unordered_map< std::string, G4ChannelingECHARM * > fElectricFieldYElement
G4GLOB_DLL std::ostream G4cout
static constexpr double meter
virtual ~G4ChannelingMaterialData()
G4ChannelingMaterialData(const G4String &)
void SetFilenameElement(const G4String &, std::string)
void PutValue(size_t index, G4double theValue)