Geant4-11
Public Member Functions | Private Attributes
G4DNACPA100WaterExcitationStructure Class Reference

#include <G4DNACPA100WaterExcitationStructure.hh>

Public Member Functions

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

Private Attributes

std::vector< G4doubleenergyConstant
 
G4int nLevels
 

Detailed Description

Definition at line 46 of file G4DNACPA100WaterExcitationStructure.hh.

Constructor & Destructor Documentation

◆ G4DNACPA100WaterExcitationStructure()

G4DNACPA100WaterExcitationStructure::G4DNACPA100WaterExcitationStructure ( )

Definition at line 44 of file G4DNACPA100WaterExcitationStructure.cc.

44 : nLevels(5)
45{
46
47 // The following values are extracted from the thesis of S. Edel,
48 // Paul Sabatier University, Toulouse, France, July 7, 2006
49 // Page 36
50
51 energyConstant.push_back(8.17*eV);
52 energyConstant.push_back(10.13*eV);
53 energyConstant.push_back(11.31*eV);
54 energyConstant.push_back(12.91*eV);
55 energyConstant.push_back(14.50*eV);
56
57 nLevels = energyConstant.size();
58}
static constexpr double eV
Definition: G4SIunits.hh:201

References energyConstant, eV, and nLevels.

◆ ~G4DNACPA100WaterExcitationStructure()

G4DNACPA100WaterExcitationStructure::~G4DNACPA100WaterExcitationStructure ( )
virtual

Definition at line 62 of file G4DNACPA100WaterExcitationStructure.cc.

63{ }

Member Function Documentation

◆ ExcitationEnergy()

G4double G4DNACPA100WaterExcitationStructure::ExcitationEnergy ( G4int  level)

Definition at line 67 of file G4DNACPA100WaterExcitationStructure.cc.

68{
69 G4double excitation = 0.;
70
71 if (level >=0 && level < nLevels) excitation = energyConstant[level];
72
73 return excitation;
74}
double G4double
Definition: G4Types.hh:83

References energyConstant, and nLevels.

Referenced by G4DNACPA100ExcitationModel::SampleSecondaries().

◆ NumberOfLevels()

G4int G4DNACPA100WaterExcitationStructure::NumberOfLevels ( )
inline

Definition at line 56 of file G4DNACPA100WaterExcitationStructure.hh.

56{ return nLevels; }

References nLevels.

Field Documentation

◆ energyConstant

std::vector<G4double> G4DNACPA100WaterExcitationStructure::energyConstant
private

◆ nLevels

G4int G4DNACPA100WaterExcitationStructure::nLevels
private

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