#include <G4FluoData.hh>
Definition at line 52 of file G4FluoData.hh.
G4FluoData::G4FluoData |
( |
const G4String & |
dir | ) |
|
G4FluoData::~G4FluoData |
( |
| ) |
|
Definition at line 50 of file G4FluoData.cc.
52 std::map<G4int,G4DataVector*,std::less<G4int> >::iterator
pos;
54 for (pos = idMap.begin(); pos != idMap.end(); ++
pos)
59 for (pos = energyMap.begin(); pos != energyMap.end(); ++
pos)
64 for (pos = probabilityMap.begin(); pos != probabilityMap.end(); ++
pos)
static const G4double pos
Definition at line 195 of file G4FluoData.cc.
198 std::ostringstream ost;
200 ost <<
"/fl-tr-pr-"<<
Z <<
".dat";
203 ost <<
"/fl-tr-pr-"<<
".dat";
207 char* path = getenv(
"G4LEDATA");
210 G4String excep(
"G4FluoData::LoadData()");
217 std::ifstream file(dirFile);
218 std::filebuf* lsdp = file.rdbuf();
220 if (! (lsdp->is_open()) )
222 G4String excep =
"G4FluoData::LoadData()";
223 G4String msg =
"data file: " + dirFile +
" not found";
245 idMap[vacIndex] = initIds;
246 energyMap[vacIndex] = transEnergies;
247 probabilityMap[vacIndex] = transProbabilities;
249 G4int n = initIds->size();
251 nInitShells.push_back(n);
260 if (sLocal == nColumns)
280 if (a != -1) transProbabilities->push_back(a);
284 else if (k%nColumns == 1)
289 if(initIds->size() == 0) {
290 if (a != -1) initIds->push_back((
G4int)a);
296 if (a != -1) initIds->push_back(a);
300 else if (k%nColumns == 0)
306 transEnergies->push_back(e);}
315 delete transEnergies;
316 delete transProbabilities;
std::vector< ExP01TrackerHit * > a
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static constexpr double MeV
size_t G4FluoData::NumberOfTransitions |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 97 of file G4FluoData.cc.
100 if (vacancyIndex<0 || vacancyIndex>=numberOfVacancies)
103 "vacancyIndex outside boundaries, energy deposited locally");
108 n = nInitShells[vacancyIndex]-1;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
size_t G4FluoData::NumberOfVacancies |
( |
| ) |
const |
Definition at line 320 of file G4FluoData.cc.
322 for (
G4int i = 0; i <numberOfVacancies; i++)
324 G4cout <<
"---- TransitionData for the vacancy nb "
337 G4cout <<
" - Transition energy = " << e <<
" MeV "<<
G4endl;
341 G4cout <<
"-------------------------------------------------"
G4double StartShellProb(G4int initIndex, G4int vacancyIndex) const
G4GLOB_DLL std::ostream G4cout
G4int StartShellId(G4int initIndex, G4int vacancyIndex) const
G4double StartShellEnergy(G4int initIndex, G4int vacancyIndex) const
size_t NumberOfTransitions(G4int vacancyIndex) const
static constexpr double MeV
Definition at line 143 of file G4FluoData.cc.
147 if (vacancyIndex<0 || vacancyIndex>=numberOfVacancies)
150 "vacancyIndex outside boundaries");}
153 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
155 pos = energyMap.find(vacancyIndex);
159 G4int nData = dataSet.size();
160 if (initIndex >= 0 && initIndex < nData)
162 n = dataSet[initIndex];
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
G4int G4FluoData::StartShellId |
( |
G4int |
initIndex, |
|
|
G4int |
vacancyIndex |
|
) |
| const |
Definition at line 115 of file G4FluoData.cc.
119 if (vacancyIndex<0 || vacancyIndex>=numberOfVacancies)
122 "vacancyIndex outside boundaries");
126 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
128 pos = idMap.find(vacancyIndex);
132 G4int nData = dataSet.size();
135 if (initIndex >= 0 && initIndex < nData)
137 n = (
G4int) dataSet[initIndex+1];
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
Definition at line 168 of file G4FluoData.cc.
172 if (vacancyIndex<0 || vacancyIndex>=numberOfVacancies)
175 "vacancyIndex outside boundaries, energy deposited locally");
180 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
182 pos = probabilityMap.find(vacancyIndex);
186 G4int nData = dataSet.size();
187 if (initIndex >= 0 && initIndex < nData)
189 n = dataSet[initIndex];
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
G4int G4FluoData::VacancyId |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 76 of file G4FluoData.cc.
79 if (vacancyIndex<0 || vacancyIndex>=numberOfVacancies)
82 "vacancyIndex outside boundaries");
86 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
87 pos = idMap.find(vacancyIndex);
88 if (pos!= idMap.end())
90 n = (
G4int) dataSet[0];
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/processes/electromagnetic/lowenergy/include/G4FluoData.hh
- source/geant4.10.03.p03/source/processes/electromagnetic/lowenergy/src/G4FluoData.cc