75 G4cout <<
"Rudd ionisation model is constructed " <<
G4endl;
97 std::map<G4String, G4DNACrossSectionDataSet*, std::less<G4String> >::iterator
pos;
118 G4cout <<
"Calling G4DNARuddIonisationModel::Initialise()" <<
G4endl;
123 G4String fileProton(
"dna/sigma_ionisation_p_rudd");
124 G4String fileHydrogen(
"dna/sigma_ionisation_h_rudd");
125 G4String fileAlphaPlusPlus(
"dna/sigma_ionisation_alphaplusplus_rudd");
126 G4String fileAlphaPlus(
"dna/sigma_ionisation_alphaplus_rudd");
127 G4String fileHelium(
"dna/sigma_ionisation_he_rudd");
176 tableHydrogen->
LoadData(fileHydrogen);
183 tableFile[alphaPlusPlus] = fileAlphaPlusPlus;
193 tableAlphaPlusPlus->
LoadData(fileAlphaPlusPlus);
195 tableData[alphaPlusPlus] = tableAlphaPlusPlus;
210 tableAlphaPlus->
LoadData(fileAlphaPlus);
231 if (particle==protonDef)
237 if (particle==hydrogenDef)
243 if (particle==heliumDef)
249 if (particle==alphaPlusDef)
255 if (particle==alphaPlusPlusDef)
263 G4cout <<
"Rudd ionisation model is initialized " <<
G4endl
295 G4cout <<
"Calling CrossSectionPerVolume() of G4DNARuddIonisationModel"
307 particleDefinition != instance->
GetIon(
"hydrogen")
309 particleDefinition != instance->
GetIon(
"alpha++")
311 particleDefinition != instance->
GetIon(
"alpha+")
313 particleDefinition != instance->
GetIon(
"helium")
321 || particleDefinition == instance->
GetIon(
"hydrogen")
326 if ( particleDefinition == instance->
GetIon(
"alpha++")
327 || particleDefinition == instance->
GetIon(
"alpha+")
328 || particleDefinition == instance->
GetIon(
"helium")
351 std::map< G4String,G4double,std::less<G4String> >::iterator pos2;
356 highLim = pos2->second;
363 if (k < lowLim) k = lowLim;
367 std::map< G4String,G4DNACrossSectionDataSet*,std::less<G4String> >::iterator
pos;
380 G4Exception(
"G4DNARuddIonisationModel::CrossSectionPerVolume",
"em0002",
388 G4cout <<
"__________________________________" <<
G4endl;
389 G4cout <<
"G4DNARuddIonisationModel - XS INFO START" <<
G4endl;
391 G4cout <<
"Cross section per water molecule (cm^2)=" << sigma/
cm/
cm <<
G4endl;
392 G4cout <<
"Cross section per water molecule (cm^-1)=" << sigma*waterDensity/(1./
cm) << G4endl;
395 G4cout <<
"G4DNARuddIonisationModel - XS INFO END" <<
G4endl;
398 return sigma*waterDensity;
412 G4cout <<
"Calling SampleSecondaries() of G4DNARuddIonisationModel"
450 std::map< G4String,G4double,std::less<G4String> >::iterator pos2;
455 highLim = pos2->second;
458 if (k >= lowLim && k <= highLim)
475 if (k<bindingEnergy)
return;
490 fvect->push_back(dp);
516 size_t secNumberInit = 0;
517 size_t secNumberFinal = 0;
519 G4double scatteredEnergy = k-bindingEnergy-secondaryKinetic;
526 secNumberInit = fvect->size();
528 secNumberFinal = fvect->size();
530 if(secNumberFinal > secNumberInit)
532 for (
size_t i=secNumberInit; i<secNumberFinal; ++i)
535 if (bindingEnergy >= ((*fvect)[i])->GetKineticEnergy())
538 bindingEnergy -= ((*fvect)[i])->GetKineticEnergy();
553 if(bindingEnergy < 0.0)
554 G4Exception(
"G4DNAEmfietzoglouIonisatioModel1::SampleSecondaries()",
606 G4double maximumKineticEnergyTransfer = 0.;
612 || particleDefinition == instance->
GetIon(
"hydrogen"))
617 else if (particleDefinition == instance->
GetIon(
"helium")
618 || particleDefinition == instance->
GetIon(
"alpha+")
619 || particleDefinition == instance->
GetIon(
"alpha++"))
621 maximumKineticEnergyTransfer = 4. * (0.511 / 3728) * k;
632 if (differentialCrossSection >= crossSectionMaximum)
633 crossSectionMaximum = differentialCrossSection;
640 secElecKinetic =
G4UniformRand()* maximumKineticEnergyTransfer;
646 return (secElecKinetic);
694 G4int ionizationLevelIndex)
712 const G4int j = ionizationLevelIndex;
727 const G4double Bj[5] = { 12.60 *
eV, 14.70 *
eV, 18.40 *
eV, 32.20 *
eV, 540
761 const G4double Gj[5] = { 0.99, 1.11, 1.11, 0.52, 1. };
771 G4double w = wBig / Bj[ionizationLevelIndex];
780 G4bool isProtonOrHydrogen =
false;
784 || particleDefinition == instance->
GetIon(
"hydrogen"))
786 isProtonOrHydrogen =
true;
790 else if (particleDefinition == instance->
GetIon(
"helium")
791 || particleDefinition == instance->
GetIon(
"alpha+")
792 || particleDefinition == instance->
GetIon(
"alpha++"))
795 tau = (0.511 / 3728.) *
k;
799 * std::pow((Ry / Bj[ionizationLevelIndex]), 2);
810 G4double wc = 4. * v2 - 2. * v - (Ry / (4. * Bj[ionizationLevelIndex]));
812 wc = 4. * v2 - 2. * v
815 G4double L1 = (C1 * std::pow(v, (D1))) / (1. + E1 * std::pow(v, (D1 + 4.)));
816 G4double L2 = C2 * std::pow(v, (D2));
817 G4double H1 = (A1 * std::log(1. + v2)) / (v2 + (B1 / v2));
825 * (S / Bj[ionizationLevelIndex])
827 / (std::pow((1. + w), 3)
828 * (1. +
G4Exp(alphaConst * (w - wc) / v))));
834 / (std::pow((1. + w), 3)
835 * (1. +
G4Exp(alphaConst * (w - wc) / v))));
837 if ((particleDefinition == instance->
GetIon(
"hydrogen"))
838 && (ionizationLevelIndex == 4))
843 / (std::pow((1. + w), 3)
844 * (1. +
G4Exp(alphaConst * (w - wc) / v))));
851 if (isProtonOrHydrogen)
856 if (particleDefinition == instance->
GetIon(
"alpha++"))
866 else if (particleDefinition == instance->
GetIon(
"alpha+"))
878 else if (particleDefinition == instance->
GetIon(
"helium"))
894 sigma = Gj[j] * (S / Bj[ionizationLevelIndex])
896 / (std::pow((1. + w), 3)
897 * (1. +
G4Exp(alphaConst * (w - wc) / v))));
903 / (std::pow((1. + w), 3)
904 * (1. +
G4Exp(alphaConst * (w - wc) / v))));
916 return zEff * zEff * sigma;
932 G4double r =
R(t, energyTransferred, slaterEffectiveChg, shellNumber);
948 G4double r =
R(t, energyTransferred, slaterEffectiveChg, shellNumber);
950 -
G4Exp(-2 * r) * (((2. * r * r + 2.) * r + 2.) * r + 1.);
966 G4double r =
R(t, energyTransferred, slaterEffectiveChg, shellNumber);
969 * ((((2. / 3. * r + 4. / 3.) * r + 2.) * r + 2.) * r + 1.);
987 G4double value = std::sqrt(2. * tElectron / H) / (energyTransferred / H)
988 * (slaterEffectiveChg / shellNumber);
1004 }
else if (particleDefinition == instance->
GetIon(
"hydrogen"))
1008 return ((0.6 / (1 +
G4Exp(value))) + 0.9);
1029 std::map<G4String, G4DNACrossSectionDataSet*, std::less<G4String> >::iterator
pos;
1048 value += valuesBuffer[i];
1059 if (valuesBuffer[i] > value)
1061 delete[] valuesBuffer;
1064 value -= valuesBuffer[i];
1068 delete[] valuesBuffer;
1073 G4Exception(
"G4DNARuddIonisationModel::RandomSelect",
1076 "Model not applicable to particle type.");
1096 std::map<G4String, G4double, std::less<G4String> >::iterator pos1;
1101 lowLim = pos1->second;
1104 std::map<G4String, G4double, std::less<G4String> >::iterator pos2;
1109 highLim = pos2->second;
1112 if (k >= lowLim && k <= highLim)
1114 std::map<G4String, G4DNACrossSectionDataSet*, std::less<G4String> >::iterator
pos;
1126 G4Exception(
"G4DNARuddIonisationModel::PartialCrossSection",
1129 "Model not applicable to particle type.");