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

#include <G4DNAWaterExcitationStructure.hh>

Public Member Functions

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

Detailed Description

Definition at line 33 of file G4DNAWaterExcitationStructure.hh.

Constructor & Destructor Documentation

G4DNAWaterExcitationStructure::G4DNAWaterExcitationStructure ( )

Definition at line 29 of file G4DNAWaterExcitationStructure.cc.

29  : nLevels(5)
30 {
31  energyConstant.push_back(8.22*eV);
32  energyConstant.push_back(10.00*eV);
33  energyConstant.push_back(11.24*eV);
34  energyConstant.push_back(12.61*eV);
35  energyConstant.push_back(13.77*eV);
36 
37  nLevels = energyConstant.size();
38 }
static constexpr double eV
Definition: G4SIunits.hh:215
G4DNAWaterExcitationStructure::~G4DNAWaterExcitationStructure ( )
virtual

Definition at line 41 of file G4DNAWaterExcitationStructure.cc.

42 { }

Member Function Documentation

G4double G4DNAWaterExcitationStructure::ExcitationEnergy ( G4int  level)

Definition at line 45 of file G4DNAWaterExcitationStructure.cc.

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

Here is the caller graph for this function:

G4int G4DNAWaterExcitationStructure::NumberOfLevels ( )
inline

Definition at line 43 of file G4DNAWaterExcitationStructure.hh.

43 { return nLevels; }

Here is the caller graph for this function:


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