65 G4cout <<
"Miller & Green excitation model is constructed " <<
G4endl;
86 G4cout <<
"Calling G4DNAMillerGreenExcitationModel::Initialise()" <<
G4endl;
171 if (particle==protonDef)
177 if (particle==hydrogenDef)
183 if (particle==alphaPlusPlusDef)
189 if (particle==alphaPlusDef)
195 if (particle==heliumDef)
208 G4cout <<
"Miller & Green excitation model is initialized " << G4endl
234 G4cout <<
"Calling CrossSectionPerVolume() of G4DNAMillerGreenExcitationModel" <<
G4endl;
244 particleDefinition != instance->
GetIon(
"hydrogen")
246 particleDefinition != instance->
GetIon(
"alpha++")
248 particleDefinition != instance->
GetIon(
"alpha+")
250 particleDefinition != instance->
GetIon(
"helium")
261 if(waterDensity!= 0.0)
268 std::map< G4String,G4double,std::less<G4String> >::iterator pos1;
273 lowLim = pos1->second;
276 std::map< G4String,G4double,std::less<G4String> >::iterator pos2;
281 highLim = pos2->second;
284 if (k >= lowLim && k < highLim)
286 crossSection =
Sum(k,particleDefinition);
341 G4cout <<
"__________________________________" <<
G4endl;
342 G4cout <<
"G4DNAMillerGreenExcitationModel - XS INFO START" <<
G4endl;
344 G4cout <<
"Cross section per water molecule (cm^2)=" << crossSection/
cm/
cm <<
G4endl;
345 G4cout <<
"Cross section per water molecule (cm^-1)=" << crossSection*waterDensity/(1./
cm) << G4endl;
347 G4cout <<
"G4DNAMillerGreenExcitationModel - XS INFO END" <<
G4endl;
354 G4cout <<
"MillerGreenExcitationModel : WARNING Water density is NULL" <<
G4endl;
358 return crossSection*waterDensity;
373 G4cout <<
"Calling SampleSecondaries() of G4DNAMillerGreenExcitationModel" <<
G4endl;
383 G4double excitationEnergy = excitation[level];
387 if (!
statCode) newEnergy = particleEnergy0 - excitationEnergy;
389 else newEnergy = particleEnergy0;
439 const G4double omegaj[]={0.85, 0.88, 0.88, 0.78, 0.78};
444 G4int particleTypeIndex = 0;
449 if (particleDefinition == instance->
GetIon(
"hydrogen")) particleTypeIndex=0;
450 if (particleDefinition == instance->
GetIon(
"alpha++")) particleTypeIndex=1;
451 if (particleDefinition == instance->
GetIon(
"alpha+")) particleTypeIndex=2;
452 if (particleDefinition == instance->
GetIon(
"helium")) particleTypeIndex=3;
458 if (tCorrected < Eliq[excitationLevel])
return 0;
464 numerator = std::pow(z * aj[excitationLevel], omegaj[excitationLevel]) *
465 std::pow(tCorrected - Eliq[excitationLevel], nu);
469 if (particleDefinition == instance->
GetIon(
"hydrogen"))
470 numerator = std::pow(z * 0.75*aj[excitationLevel], omegaj[excitationLevel]) *
471 std::pow(tCorrected - Eliq[excitationLevel], nu);
475 power = omegaj[excitationLevel] + nu;
478 denominator = std::pow(jj[excitationLevel], power) + std::pow(tCorrected, power);
486 if (particleDefinition == instance->
GetIon(
"hydrogen")) zEff = 1.;
488 G4double cross = sigma0 * zEff * zEff * numerator / denominator;
500 std::deque<G4double> values;
505 if ( particle == instance->
GetIon(
"alpha++") ||
507 particle == instance->
GetIon(
"hydrogen") ||
508 particle == instance->
GetIon(
"alpha+") ||
509 particle == instance->
GetIon(
"helium")
516 values.push_front(partial);
527 if (values[i] > value)
return i;
588 return totalCrossSection;
601 G4double r =
R(t, energyTransferred, _slaterEffectiveCharge, shellNumber);
618 G4double r =
R(t, energyTransferred, _slaterEffectiveCharge, shellNumber);
635 G4double r =
R(t, energyTransferred, _slaterEffectiveCharge, shellNumber);
636 G4double value = 1. -
G4Exp(-2 * r) * (((( 2./3. * r + 4./3.) * r + 2.) * r + 2.) * r + 1.);
651 G4double tElectron = 0.511/3728. * t;
655 G4double value = std::sqrt ( 2. * tElectron / H ) / ( energyTransferred / H ) * (_slaterEffectiveCharge/shellNumber);
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
std::map< G4String, G4double, std::less< G4String > > highEnergyLimit
G4double sCoefficient[3][4]
G4DNAMillerGreenExcitationModel(const G4ParticleDefinition *p=0, const G4String &nam="DNAMillerGreenExcitationModel")
G4double Sum(G4double energy, const G4ParticleDefinition *particle)
G4double S_2p(G4double t, G4double energyTransferred, G4double slaterEffectiveCharge, G4double shellNumber)
static constexpr double MeV
void SetHighEnergyLimit(G4double)
G4int RandomSelect(G4double energy, const G4ParticleDefinition *particle)
G4double R(G4double t, G4double energyTransferred, G4double slaterEffectiveCharge, G4double shellNumber)
static constexpr double keV
const G4ThreeVector & GetMomentumDirection() const
G4ParticleChangeForGamma * fParticleChangeForGamma
const G4String & GetParticleName() const
G4double GetPDGCharge() const
void SetProposedKineticEnergy(G4double proposedKinEnergy)
G4DNAWaterExcitationStructure waterExcitation
std::map< G4String, G4double, std::less< G4String > > lowEnergyLimit
G4double S_1s(G4double t, G4double energyTransferred, G4double slaterEffectiveCharge, G4double shellNumber)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
G4double LowEnergyLimit() const
const std::vector< double > * GetNumMolPerVolTableFor(const G4Material *) const
Retrieve a table of molecular densities (number of molecules per unit volume) in the G4 unit system f...
G4double PartialCrossSection(G4double energy, G4int level, const G4ParticleDefinition *particle)
G4ParticleDefinition * GetDefinition() const
virtual G4double GetPartialCrossSection(const G4Material *, G4int, const G4ParticleDefinition *, G4double)
virtual ~G4DNAMillerGreenExcitationModel()
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
const XML_Char int const XML_Char * value
static G4Proton * ProtonDefinition()
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
static G4DNAMolecularMaterial * Instance()
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
void CreateWaterMolecule(ElectronicModification, G4int, const G4Track *)
static constexpr double eV
const G4Track * GetCurrentTrack() const
G4double S_2s(G4double t, G4double energyTransferred, G4double slaterEffectiveCharge, G4double shellNumber)
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
G4double kineticEnergyCorrection[4]
static constexpr double eplus
G4ParticleDefinition * GetIon(const G4String &name)
void SetLowEnergyLimit(G4double)
static constexpr double barn
static MCTruthManager * instance
G4int GetLeptonNumber() const
static G4DNAGenericIonsManager * Instance(void)
G4double GetKineticEnergy() const
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
G4ParticleChangeForGamma * GetParticleChangeForGamma()
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
G4double HighEnergyLimit() const
G4double slaterEffectiveCharge[3][4]
static G4DNAChemistryManager * Instance()
const std::vector< G4double > * fpMolWaterDensity