65 G4cout <<
"Screened Rutherford Elastic model is constructed " <<
G4endl
97 G4cout <<
"Calling G4DNAUeharaScreenedRutherfordElasticModel::Initialise()"
104 G4Exception(
"*** WARNING: the G4DNAUeharaScreenedRutherfordElasticModel is "
105 "not intented to be used with another particle than the electron",
113 G4Exception(
"*** WARNING : the G4DNAUeharaScreenedRutherfordElasticModel "
114 "class is not validated below 9 eV",
120 G4Exception(
"*** WARNING: the G4DNAUeharaScreenedRutherfordElasticModel "
121 "class is used above 10 keV",
128 G4cout <<
"Screened Rutherford elastic model is initialized " <<
G4endl
203 <<
"Calling CrossSectionPerVolume() of G4DNAUeharaScreenedRutherfordElasticModel"
216 sigma =
pi * crossSection / (
n * (
n + 1.));
221 G4cout <<
"__________________________________" <<
G4endl;
222 G4cout <<
"=== G4DNAUeharaScreenedRutherfordElasticModel - XS INFO START"
224 G4cout <<
"=== Kinetic energy(eV)=" << ekin/
eV
225 <<
" particle : " << particleDefinition->GetParticleName() <<
G4endl;
226 G4cout <<
"=== Cross section per water molecule (cm^2)=" << sigma/
cm/
cm
228 G4cout <<
"=== Cross section per water molecule (cm^-1)="
229 << sigma*waterDensity/(1./
cm) <<
G4endl;
230 G4cout <<
"=== G4DNAUeharaScreenedRutherfordElasticModel - XS INFO END"
235 return sigma*waterDensity;
255 G4double cross = z * (z + 1) * length * length;
277 etaC = 1.13 + 3.76 * (z * z / (137 * 137 * beta2));
279 G4double numerator = etaC * constK * std::pow(z, 2. / 3.);
286 if (denominator > 0.)
287 value = numerator / denominator;
306 <<
"Calling SampleSecondaries() of G4DNAUeharaScreenedRutherfordElasticModel"
319 G4cout <<
"---> Using Brenner & Zaider model" <<
G4endl;
327 G4cout <<
"---> Using Screened Rutherford model" <<
G4endl;
339 G4double xDir = std::sqrt(1. - cosTheta*cosTheta);
341 xDir *= std::cos(phi);
342 yDir *= std::sin(phi);
344 G4ThreeVector zPrimeVers((xDir*xVers + yDir*yVers + cosTheta*zVers));
394 / (1. / (4. * gamma * gamma)
395 +
beta / ((2. + 2. * delta) * (2. + 2. * delta)));
406 leftDenominator = (1. + 2.*gamma - cosTheta);
407 rightDenominator = (1. + 2.*delta + cosTheta);
408 if ( (leftDenominator * rightDenominator) != 0. )
410 fCosTheta = oneOverMax * (1./(leftDenominator*leftDenominator)
411 +
beta/(rightDenominator*rightDenominator));
478 return (-1.0 *
B + std::sqrt(
B *
B - 4.0 *
A *
C)) / (2.0 *
A);
528 std::vector<G4double>& vec)
535 size_t size = vec.size();
581 fCosTheta = (1 + 2.*
n - cosTheta);
582 if (fCosTheta !=0.) fCosTheta = oneOverMax / (fCosTheta*fCosTheta);
616 return numerator / denominator;
G4double C(G4double temp)
G4double S(G4double temp)
G4double B(G4double temperature)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
static constexpr double keV
static constexpr double eV
static constexpr double MeV
static constexpr double pi
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
Hep3Vector orthogonal() const
Hep3Vector cross(const Hep3Vector &) const
static G4DNAMolecularMaterial * Instance()
G4DNAUeharaScreenedRutherfordElasticModel(const G4ParticleDefinition *p=0, const G4String &nam="DNAUeharaScreenedRutherfordElasticModel")
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
G4double BrennerZaiderRandomizeCosTheta(G4double k)
std::vector< G4double > gamma035_10Coeff
G4double ScreenedRutherfordRandomizeCosTheta(G4double k, G4double z)
virtual ~G4DNAUeharaScreenedRutherfordElasticModel()
G4ParticleChangeForGamma * fParticleChangeForGamma
const std::vector< G4double > * fpWaterDensity
G4double RutherfordCrossSection(G4double energy, G4double z)
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
std::vector< G4double > deltaCoeff
std::vector< G4double > betaCoeff
std::vector< G4double > gamma10_100Coeff
G4double intermediateEnergyLimit
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
G4double ScreeningFactor(G4double energy, G4double z)
G4double CalculatePolynomial(G4double k, std::vector< G4double > &vec)
std::vector< G4double > gamma100_200Coeff
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
const G4String & GetParticleName() const
void SetHighEnergyLimit(G4double)
G4ParticleChangeForGamma * GetParticleChangeForGamma()
G4double LowEnergyLimit() const
G4double HighEnergyLimit() const
void SetLowEnergyLimit(G4double)
static constexpr double keV
static constexpr double eV