Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNAEmfietzoglouWaterExcitationStructure Class Reference

#include <G4DNAEmfietzoglouWaterExcitationStructure.hh>

Public Member Functions

 G4DNAEmfietzoglouWaterExcitationStructure ()
 
virtual ~G4DNAEmfietzoglouWaterExcitationStructure ()
 
G4double ExcitationEnergy (G4int level)
 
G4int NumberOfLevels ()
 

Detailed Description

Definition at line 42 of file G4DNAEmfietzoglouWaterExcitationStructure.hh.

Constructor & Destructor Documentation

G4DNAEmfietzoglouWaterExcitationStructure::G4DNAEmfietzoglouWaterExcitationStructure ( )

Definition at line 41 of file G4DNAEmfietzoglouWaterExcitationStructure.cc.

41  : nLevels(5)
42 {
43  energyConstant.push_back(8.22*eV);
44  energyConstant.push_back(10.00*eV);
45  energyConstant.push_back(11.24*eV);
46  energyConstant.push_back(12.61*eV);
47  energyConstant.push_back(13.77*eV);
48 
49  nLevels = energyConstant.size();
50 }
static constexpr double eV
Definition: G4SIunits.hh:215
G4DNAEmfietzoglouWaterExcitationStructure::~G4DNAEmfietzoglouWaterExcitationStructure ( )
virtual

Definition at line 54 of file G4DNAEmfietzoglouWaterExcitationStructure.cc.

55 { }

Member Function Documentation

G4double G4DNAEmfietzoglouWaterExcitationStructure::ExcitationEnergy ( G4int  level)

Definition at line 57 of file G4DNAEmfietzoglouWaterExcitationStructure.cc.

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

Here is the caller graph for this function:

G4int G4DNAEmfietzoglouWaterExcitationStructure::NumberOfLevels ( )
inline

Definition at line 53 of file G4DNAEmfietzoglouWaterExcitationStructure.hh.

53 { return nLevels; }

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