Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ( )

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 }
static constexpr double eV
Definition: G4SIunits.hh:215
G4DNAWaterIonisationStructure::~G4DNAWaterIonisationStructure ( )
virtual

Definition at line 41 of file G4DNAWaterIonisationStructure.cc.

42 { }

Member Function Documentation

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:76

Here is the caller graph for this function:

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: