65 G4cout <<
"Emfietzoglou excitation model is constructed " <<
G4endl;
82 std::map< G4String,G4DNACrossSectionDataSet*,std::less<G4String> >::iterator
pos;
98 G4cout <<
"Calling G4DNAEmfietzoglouExcitationModel::Initialise()" <<
G4endl;
100 G4String fileElectron(
"dna/sigma_excitation_e_emfietzoglou");
106 G4double scaleFactor = (1.e-22 / 3.343) *
m*
m;
126 if (particle==electronDef)
134 G4cout <<
"Emfietzoglou excitation model is initialized " << G4endl
159 G4cout <<
"Calling CrossSectionPerVolume() of G4DNAEmfietzoglouExcitationModel" <<
G4endl;
171 if(waterDensity!= 0.0)
175 std::map< G4String,G4double,std::less<G4String> >::iterator pos1;
179 lowLim = pos1->second;
182 std::map< G4String,G4double,std::less<G4String> >::iterator pos2;
186 highLim = pos2->second;
189 if (ekin >= lowLim && ekin < highLim)
191 std::map< G4String,G4DNACrossSectionDataSet*,std::less<G4String> >::iterator
pos;
204 G4Exception(
"G4DNAEmfietzoglouExcitationModel::CrossSectionPerVolume",
"em0002",
211 G4cout <<
"__________________________________" <<
G4endl;
212 G4cout <<
"G4DNAEmfietzoglouExcitationModel - XS INFO START" <<
G4endl;
213 G4cout <<
"Kinetic energy(eV)=" << ekin/
eV <<
" particle : " << particleName <<
G4endl;
214 G4cout <<
"Cross section per water molecule (cm^2)=" << sigma/
cm/
cm <<
G4endl;
215 G4cout <<
"Cross section per water molecule (cm^-1)=" << sigma*waterDensity/(1./
cm) << G4endl;
217 G4cout <<
"G4DNAEmfietzoglouExcitationModel - XS INFO END" <<
G4endl;
222 return sigma*waterDensity;
235 G4cout <<
"Calling SampleSecondaries() of G4DNAEmfietzoglouExcitationModel" <<
G4endl;
243 G4double newEnergy = k - excitationEnergy;
268 std::map< G4String,G4DNACrossSectionDataSet*,std::less<G4String> >::iterator
pos;
296 value += valuesBuffer[i];
307 if (valuesBuffer[i] > value)
309 delete[] valuesBuffer;
312 value -= valuesBuffer[i];
315 if (valuesBuffer)
delete[] valuesBuffer;
321 G4Exception(
"G4DNAEmfietzoglouExcitationModel::RandomSelect",
"em0002",
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
virtual G4bool LoadData(const G4String &argFileName)
static const G4double pos
void SetHighEnergyLimit(G4double)
virtual size_t NumberOfComponents(void) const
static constexpr double keV
G4double ExcitationEnergy(G4int level)
const G4ThreeVector & GetMomentumDirection() const
virtual ~G4DNAEmfietzoglouExcitationModel()
const G4String & GetParticleName() const
void SetProposedKineticEnergy(G4double proposedKinEnergy)
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...
static constexpr double m
G4DNAEmfietzoglouExcitationModel(const G4ParticleDefinition *p=0, const G4String &nam="DNAEmfietzoglouExcitationModel")
G4ParticleDefinition * GetDefinition() const
const XML_Char int const XML_Char * value
static G4DNAMolecularMaterial * Instance()
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &=*(new G4DataVector()))
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
void CreateWaterMolecule(ElectronicModification, G4int, const G4Track *)
G4int RandomSelect(G4double energy, const G4String &particle)
static constexpr double eV
const G4Track * GetCurrentTrack() const
static G4Electron * ElectronDefinition()
const std::vector< G4double > * fpMolWaterDensity
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4DNAEmfietzoglouWaterExcitationStructure waterStructure
void SetLowEnergyLimit(G4double)
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
G4double GetKineticEnergy() const
virtual G4double FindValue(G4double e, G4int componentId=0) const
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
virtual const G4VEMDataSet * GetComponent(G4int componentId) const
G4ParticleChangeForGamma * GetParticleChangeForGamma()
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
std::map< G4String, G4double, std::less< G4String > > lowEnergyLimit
std::map< G4String, G4double, std::less< G4String > > highEnergyLimit
G4double HighEnergyLimit() const
G4ParticleChangeForGamma * fParticleChangeForGamma
static G4DNAChemistryManager * Instance()
virtual G4double FindValue(G4double x, G4int componentId=0) const =0