#include <G4FluoData.hh>
Definition at line 52 of file G4FluoData.hh.
◆ G4FluoData() [1/2]
G4FluoData::G4FluoData |
( |
const G4String & |
dir | ) |
|
◆ ~G4FluoData()
G4FluoData::~G4FluoData |
( |
| ) |
|
Definition at line 50 of file G4FluoData.cc.
52 std::map<G4int,G4DataVector*,std::less<G4int> >::iterator
pos;
std::map< G4int, G4DataVector *, std::less< G4int > > energyMap
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
static const G4double pos
◆ G4FluoData() [2/2]
◆ LoadData()
void G4FluoData::LoadData |
( |
G4int |
Z | ) |
|
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;
249 G4int n = initIds->size();
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::map< G4int, G4DataVector *, std::less< G4int > > energyMap
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::vector< G4int > nInitShells
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
◆ NumberOfTransitions()
size_t G4FluoData::NumberOfTransitions |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 97 of file G4FluoData.cc.
103 "vacancyIndex outside boundaries, energy deposited locally");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::vector< G4int > nInitShells
◆ NumberOfVacancies()
size_t G4FluoData::NumberOfVacancies |
( |
| ) |
const |
◆ operator=()
◆ PrintData()
void G4FluoData::PrintData |
( |
void |
| ) |
|
Definition at line 320 of file G4FluoData.cc.
324 G4cout <<
"---- TransitionData for the vacancy nb " 337 G4cout <<
" - Transition energy = " << e <<
" MeV "<<
G4endl;
341 G4cout <<
"-------------------------------------------------" G4int StartShellId(G4int initIndex, G4int vacancyIndex) const
G4GLOB_DLL std::ostream G4cout
G4double StartShellEnergy(G4int initIndex, G4int vacancyIndex) const
G4double StartShellProb(G4int initIndex, G4int vacancyIndex) const
size_t NumberOfTransitions(G4int vacancyIndex) const
◆ StartShellEnergy()
Definition at line 143 of file G4FluoData.cc.
150 "vacancyIndex outside boundaries");}
153 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
159 G4int nData = dataSet.size();
160 if (initIndex >= 0 && initIndex < nData)
162 n = dataSet[initIndex];
std::map< G4int, G4DataVector *, std::less< G4int > > energyMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
◆ StartShellId()
G4int G4FluoData::StartShellId |
( |
G4int |
initIndex, |
|
|
G4int |
vacancyIndex |
|
) |
| const |
Definition at line 115 of file G4FluoData.cc.
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];
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
◆ StartShellProb()
Definition at line 168 of file G4FluoData.cc.
175 "vacancyIndex outside boundaries, energy deposited locally");
180 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
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)
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
static const G4double pos
◆ VacancyId()
G4int G4FluoData::VacancyId |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 76 of file G4FluoData.cc.
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];
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
◆ energyMap
◆ fluoDirectory
◆ fluoTransitionTable
◆ idMap
◆ nInitShells
std::vector<G4int> G4FluoData::nInitShells |
|
private |
◆ numberOfVacancies
G4int G4FluoData::numberOfVacancies |
|
private |
◆ probabilityMap
The documentation for this class was generated from the following files: