Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNACPA100WaterIonisationStructure Class Reference

#include <G4DNACPA100WaterIonisationStructure.hh>

Public Member Functions

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

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}

◆ ~G4DNACPA100WaterIonisationStructure()

G4DNACPA100WaterIonisationStructure::~G4DNACPA100WaterIonisationStructure ( )
virtual

Definition at line 61 of file G4DNACPA100WaterIonisationStructure.cc.

62{ }

Member Function Documentation

◆ IonisationEnergy()

G4double G4DNACPA100WaterIonisationStructure::IonisationEnergy ( G4int  level)

Definition at line 66 of file G4DNACPA100WaterIonisationStructure.cc.

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

Referenced by G4DNACPA100IonisationModel::DifferentialCrossSection(), and G4DNACPA100IonisationModel::SampleSecondaries().

◆ NumberOfLevels()

G4int G4DNACPA100WaterIonisationStructure::NumberOfLevels ( )
inline

Definition at line 58 of file G4DNACPA100WaterIonisationStructure.hh.

58{ return 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}

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