45 ReadFromECHARM(fileName,vConversion);
83 std::ifstream vFileIn;
84 vFileIn.open(filename);
97 ed <<
"No Points not found !" <<
G4endl;
98 G4Exception(
"G4ChannelingECHARM::ReadFromECHARM(...)",
104 else if(fPoints[1]==1){
110 G4double stepX = fDistances[0]/fPoints[0];
111 G4double stepY = fDistances[1]/fPoints[1];
112 for(
G4int i1=0;i1<fPoints[1]; i1++){
116 for(
G4int i0=0;i0<fPoints[0]; i0++){
120 vTempX *= vConversion;
132 G4cout <<
"G4ChannelingECHARM::ReadFromECHARM() - " << vConversion <<
" " << fPoints[0] <<
" " << fDistances[0] <<
" " << fPoints[1] <<
" " << fDistances[1] <<
" " <<
fMinimum <<
" " <<
fMaximum <<
G4endl;
G4ChannelingECHARM(const G4String &, G4double)
std::ostringstream G4ExceptionDescription
void PutValue(size_t idx, size_t idy, G4double value)
void PutY(size_t idy, G4double value)
G4Physics2DVector * fVectorEC2D
G4double Value(G4double theEnergy, size_t &lastidx) const
G4double GetEC(G4ThreeVector &)
void PutX(size_t idx, G4double value)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
G4PhysicsVector * fVectorEC
G4double Value(G4double x, G4double y, size_t &lastidx, size_t &lastidy) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static constexpr double meter
virtual void ReadFromECHARM(const G4String &, G4double)
void PutValue(size_t index, G4double theValue)