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

#include <G4DNACPA100WaterIonisationStructure.hh>

Public Member Functions

 G4DNACPA100WaterIonisationStructure ()
 
G4double IonisationEnergy (G4int level)
 
G4int NumberOfLevels ()
 
G4double UEnergy (G4int level)
 
virtual ~G4DNACPA100WaterIonisationStructure ()
 

Private Attributes

std::vector< G4doubleenergyConstant
 
G4int nLevels
 
std::vector< G4doubleUConstant
 

Detailed Description

Definition at line 46 of file G4DNACPA100WaterIonisationStructure.hh.

Constructor & Destructor Documentation

◆ G4DNACPA100WaterIonisationStructure()

G4DNACPA100WaterIonisationStructure::G4DNACPA100WaterIonisationStructure ( )

Definition at line 42 of file G4DNACPA100WaterIonisationStructure.cc.

42 : nLevels(5)
43{
44 energyConstant.push_back(10.79*eV);
45 energyConstant.push_back(13.39*eV);
46 energyConstant.push_back(16.05*eV);
47 energyConstant.push_back(32.30*eV);
48 energyConstant.push_back(539.0*eV);
49
50 UConstant.push_back(61.91*eV);
51 UConstant.push_back(59.52*eV);
52 UConstant.push_back(48.36*eV);
53 UConstant.push_back(70.71*eV);
54 UConstant.push_back(796.2*eV);
55
56 nLevels = energyConstant.size();
57}
static constexpr double eV
Definition: G4SIunits.hh:201

References energyConstant, eV, nLevels, and UConstant.

◆ ~G4DNACPA100WaterIonisationStructure()

G4DNACPA100WaterIonisationStructure::~G4DNACPA100WaterIonisationStructure ( )
virtual

Definition at line 61 of file G4DNACPA100WaterIonisationStructure.cc.

62{ }

Member Function Documentation

◆ IonisationEnergy()

G4double G4DNACPA100WaterIonisationStructure::IonisationEnergy ( G4int  level)

◆ NumberOfLevels()

G4int G4DNACPA100WaterIonisationStructure::NumberOfLevels ( )
inline

Definition at line 58 of file G4DNACPA100WaterIonisationStructure.hh.

58{ return nLevels; }

References nLevels.

◆ UEnergy()

G4double G4DNACPA100WaterIonisationStructure::UEnergy ( G4int  level)

Definition at line 77 of file G4DNACPA100WaterIonisationStructure.cc.

78{
79 G4double ionisation = 0.;
80
81 if (level >=0 && level < nLevels) ionisation = UConstant[level];
82
83 return ionisation;
84}

References nLevels, and UConstant.

Referenced by G4DNACPA100IonisationModel::RandomizeEjectedElectronEnergyFromCompositionSampling().

Field Documentation

◆ energyConstant

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

◆ nLevels

G4int G4DNACPA100WaterIonisationStructure::nLevels
private

◆ UConstant

std::vector<G4double> G4DNACPA100WaterIonisationStructure::UConstant
private

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