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";
78 fElectricFieldXElement[elementName] =
new G4ChannelingECHARM(fileEFX,CLHEP::eV/CLHEP::m);
79 fElectricFieldYElement[elementName] =
new G4ChannelingECHARM(fileEFY,CLHEP::eV/CLHEP::m);
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;