Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNAWaterIonisationStructure Class Reference

#include <G4DNAWaterIonisationStructure.hh>

Public Member Functions

 G4DNAWaterIonisationStructure ()
 
virtual ~G4DNAWaterIonisationStructure ()
 
G4double IonisationEnergy (G4int level)
 
G4int NumberOfLevels ()
 

Detailed Description

Definition at line 33 of file G4DNAWaterIonisationStructure.hh.

Constructor & Destructor Documentation

◆ G4DNAWaterIonisationStructure()

G4DNAWaterIonisationStructure::G4DNAWaterIonisationStructure ( )

Definition at line 29 of file G4DNAWaterIonisationStructure.cc.

29 : nLevels(5)
30{
31 energyConstant.push_back(10.79*eV);
32 energyConstant.push_back(13.39*eV);
33 energyConstant.push_back(16.05*eV);
34 energyConstant.push_back(32.30*eV);
35 energyConstant.push_back(539.0*eV);
36
37 nLevels = energyConstant.size();
38}

◆ ~G4DNAWaterIonisationStructure()

G4DNAWaterIonisationStructure::~G4DNAWaterIonisationStructure ( )
virtual

Definition at line 41 of file G4DNAWaterIonisationStructure.cc.

42{ }

Member Function Documentation

◆ IonisationEnergy()

G4double G4DNAWaterIonisationStructure::IonisationEnergy ( G4int  level)

Definition at line 45 of file G4DNAWaterIonisationStructure.cc.

46{
47 G4double ionisation = 0.;
48
49 if (level >=0 && level < nLevels) ionisation = energyConstant[level];
50
51 return ionisation;
52}
double G4double
Definition: G4Types.hh:64

Referenced by G4DNAChemistryManager::CreateWaterMolecule(), G4DNABornIonisationModel::DifferentialCrossSection(), G4DNABornIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), and G4DNARuddIonisationModel::SampleSecondaries().

◆ NumberOfLevels()

G4int G4DNAWaterIonisationStructure::NumberOfLevels ( )
inline

Definition at line 43 of file G4DNAWaterIonisationStructure.hh.

43{ return nLevels; }

The documentation for this class was generated from the following files: