#include <G4eIonisationParameters.hh>
Definition at line 60 of file G4eIonisationParameters.hh.
◆ G4eIonisationParameters()
G4eIonisationParameters::G4eIonisationParameters |
( |
G4int |
minZ = 1 , |
|
|
G4int |
maxZ = 99 |
|
) |
| |
◆ ~G4eIonisationParameters()
G4eIonisationParameters::~G4eIonisationParameters |
( |
| ) |
|
Definition at line 70 of file G4eIonisationParameters.cc.
71{
72
73 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::iterator
pos;
74
75 for (pos = param.begin(); pos != param.end(); ++pos)
76 {
78 delete dataSet;
79 }
80
81 for (pos = excit.begin(); pos != excit.end(); ++pos)
82 {
84 delete dataSet;
85 }
86
87 activeZ.clear();
88}
◆ Excitation()
Definition at line 124 of file G4eIonisationParameters.cc.
125{
127 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
128
130 if (pos!= excit.end()) {
132
134 G4double ee = std::max(ener.front(),std::min(ener.back(),e));
136 } else {
137 G4cout <<
"WARNING: G4IonisationParameters::Excitation "
138 << "did not find ID = "
140 }
141
142 return value;
143}
G4GLOB_DLL std::ostream G4cout
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual G4double FindValue(G4double x, G4int componentId=0) const =0
Referenced by G4eIonisationSpectrum::Excitation().
◆ Parameter()
Definition at line 91 of file G4eIonisationParameters.cc.
94{
96 G4int id = Z*100 + parameterIndex;
97 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
98
100 if (pos!= param.end()) {
103
104 if(shellIndex < nShells) {
107 G4double ee = std::max(ener.front(),std::min(ener.back(),e));
109 } else {
110 G4cout <<
"WARNING: G4IonisationParameters::FindParameter "
111 << "has no parameters for shell= " << shellIndex
112 << "; Z= " << Z
114 }
115 } else {
116 G4cout <<
"WARNING: G4IonisationParameters::Parameter "
117 << "did not find ID = "
119 }
120
121 return value;
122}
virtual const G4VEMDataSet * GetComponent(G4int componentId) const =0
virtual size_t NumberOfComponents(void) const =0
Referenced by G4eIonisationSpectrum::AverageEnergy(), G4eIonisationSpectrum::Probability(), and G4eIonisationSpectrum::SampleEnergy().
◆ PrintData()
void G4eIonisationParameters::PrintData |
( |
| ) |
const |
Definition at line 383 of file G4eIonisationParameters.cc.
384{
386 G4cout <<
"===== G4eIonisationParameters =====" <<
G4endl;
388
389 size_t nZ = activeZ.size();
390 std::map<G4int,G4VEMDataSet*,std::less<G4int> >::const_iterator
pos;
391
392 for (size_t i=0; i<nZ; i++) {
394
395 for (size_t j=0; j<length; j++) {
396
397 G4int index = Z*100 + j;
398
399 pos = param.find(index);
400 if (pos!= param.end()) {
403
404 for (size_t k=0; k<nShells; k++) {
405
406 G4cout <<
"===== Z= " << Z <<
" shell= " << k
407 << " parameter[" << j << "] ====="
411 }
412 }
413 }
414 }
415 G4cout <<
"====================================" <<
G4endl;
416}
virtual void PrintData(void) const =0
Referenced by G4eIonisationSpectrum::PrintData().
The documentation for this class was generated from the following files: