72 G4cout <<
"Calling G4SancheSolvatationModel::Initialise()" <<
G4endl;
77 exceptionDescription <<
"Attempting to calculate cross section for wrong particle";
78 G4Exception(
"G4DNASancheSolvatationModel::CrossSectionPerVolume",
"G4DNASancheSolvatationModel001",
102 G4cout <<
"Calling CrossSectionPerVolume() of G4SancheSolvatationModel" <<
G4endl;
112 if(waterDensity!= 0.0)
126 G4double sigma = std::sqrt(1.57)/2*expectationValue;
128 G4double XValueForfMax = std::sqrt(2.*sigma*sigma);
129 G4double fMaxValue = std::sqrt(2./3.14) * 1./(sigma*sigma*sigma) *
130 (XValueForfMax*XValueForfMax)*
131 std::exp(-1./2. * (XValueForfMax*XValueForfMax)/(sigma*sigma));
150 G4double f = std::sqrt(2./3.14) * 1/std::pow(sigma, 3) * R*R * std::exp(-1./2. * R*R/(sigma*sigma));
152 if(aRandomfValue < f)
160 G4double theta = std::acos (costheta);
163 G4double xDirection = R*std::cos(phi)* std::sin(theta);
164 G4double yDirection = R*std::sin(theta)*std::sin(phi);
168 return RandDirection;
180 G4cout <<
"Calling SampleSecondaries() of G4SancheSolvatationModel" <<
G4endl;
187 (-0.003*std::pow(k/
eV,6) + 0.0749*std::pow(k/
eV,5) - 0.7197*std::pow(k/
eV,4)
188 + 3.1384*std::pow(k/
eV,3) - 5.6926*std::pow(k/
eV,2) + 5.6237*k/
eV - 0.7883)*
nanometer;