Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4DNAEmfietzoglouWaterIonisationStructure Class Reference

#include <G4DNAEmfietzoglouWaterIonisationStructure.hh>

Public Member Functions

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

Detailed Description

Definition at line 42 of file G4DNAEmfietzoglouWaterIonisationStructure.hh.

Constructor & Destructor Documentation

G4DNAEmfietzoglouWaterIonisationStructure::G4DNAEmfietzoglouWaterIonisationStructure ( )

Definition at line 41 of file G4DNAEmfietzoglouWaterIonisationStructure.cc.

41  : nLevels(5)
42 {
43  energyConstant.push_back(10.*eV);
44  energyConstant.push_back(13.*eV);
45  energyConstant.push_back(17.*eV);
46  energyConstant.push_back(32.2*eV);
47  energyConstant.push_back(539.7*eV);
48 
49  nLevels = energyConstant.size();
50 }
static constexpr double eV
Definition: G4SIunits.hh:215
G4DNAEmfietzoglouWaterIonisationStructure::~G4DNAEmfietzoglouWaterIonisationStructure ( )
virtual

Definition at line 54 of file G4DNAEmfietzoglouWaterIonisationStructure.cc.

55 { }

Member Function Documentation

G4double G4DNAEmfietzoglouWaterIonisationStructure::IonisationEnergy ( G4int  level)

Definition at line 59 of file G4DNAEmfietzoglouWaterIonisationStructure.cc.

60 {
61  G4double ionisation = 0.;
62 
63  if (level >=0 && level < nLevels) ionisation = energyConstant[level];
64 
65  return ionisation;
66 }
double G4double
Definition: G4Types.hh:76

Here is the caller graph for this function:

G4int G4DNAEmfietzoglouWaterIonisationStructure::NumberOfLevels ( )
inline

Definition at line 52 of file G4DNAEmfietzoglouWaterIonisationStructure.hh.

52 { return nLevels; }

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