#include <G4RDFluoData.hh>
Definition at line 52 of file G4RDFluoData.hh.
◆ G4RDFluoData() [1/2]
G4RDFluoData::G4RDFluoData |
( |
| ) |
|
◆ ~G4RDFluoData()
G4RDFluoData::~G4RDFluoData |
( |
| ) |
|
Definition at line 49 of file G4RDFluoData.cc.
51 std::map<G4int,G4DataVector*,std::less<G4int> >::iterator
pos;
std::map< G4int, G4DataVector *, std::less< G4int > > energyMap
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
static const G4double pos
◆ G4RDFluoData() [2/2]
◆ LoadData()
void G4RDFluoData::LoadData |
( |
G4int |
Z | ) |
|
Definition at line 186 of file G4RDFluoData.cc.
190 std::ostringstream ost;
192 ost <<
"fl-tr-pr-"<<
Z <<
".dat";
195 ost <<
"fl-tr-pr-"<<
".dat";
199 char* path = getenv(
"G4LEDATA");
202 G4String excep(
"G4LEDATA environment variable not set!");
203 G4Exception(
"G4RDEMDataSet::LoadData()",
"InvalidSetup",
210 std::ifstream
file(dirFile);
211 std::filebuf* lsdp =
file.rdbuf();
213 if (! (lsdp->is_open()) )
215 G4String excep =
"Data file: " + dirFile +
" not found";
216 G4Exception(
"G4RDEMDataSet::LoadData()",
"DataNotFound",
237 idMap[vacIndex] = initIds;
241 G4int n = initIds->size();
262 delete transEnergies;
263 delete transProbabilities;
272 if (a != -1) transProbabilities->push_back(a);
276 else if (k%nColumns == 1)
281 if(initIds->size() == 0) {
282 if (a != -1) initIds->push_back((
G4int)a);
288 if (a != -1) initIds->push_back(a);
292 else if (k%nColumns == 0)
298 transEnergies->push_back(e);}
std::vector< G4int > nInitShells
std::map< G4int, G4DataVector *, std::less< G4int > > energyMap
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
std::map< G4int, G4DataVector *, std::less< G4int > > idMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ NumberOfTransitions()
size_t G4RDFluoData::NumberOfTransitions |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 94 of file G4RDFluoData.cc.
98 {
G4Exception(
"G4RDFluoData::NumberOfTransitions()",
"OutOfRange",
std::vector< G4int > nInitShells
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ NumberOfVacancies()
size_t G4RDFluoData::NumberOfVacancies |
( |
| ) |
const |
◆ operator=()
◆ PrintData()
void G4RDFluoData::PrintData |
( |
void |
| ) |
|
Definition at line 308 of file G4RDFluoData.cc.
313 G4cout <<
"---- TransitionData for the vacancy nb " 326 G4cout <<
" - Transition energy = " << e <<
" MeV "<<
G4endl;
330 G4cout <<
"-------------------------------------------------"
size_t NumberOfTransitions(G4int vacancyIndex) const
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
◆ StartShellEnergy()
Definition at line 136 of file G4RDFluoData.cc.
141 {
G4Exception(
"G4RDFluoData::StartShellEnergy()",
"OutOfRange",
145 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
151 G4int nData = dataSet.size();
152 if (initIndex >= 0 && initIndex < nData)
154 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 G4RDFluoData::StartShellId |
( |
G4int |
initIndex, |
|
|
G4int |
vacancyIndex |
|
) |
| const |
Definition at line 109 of file G4RDFluoData.cc.
114 {
G4Exception(
"G4RDFluoData::StartShellId()",
"OutOfRange",
118 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
120 pos =
idMap.find(vacancyIndex);
124 G4int nData = dataSet.size();
127 if (initIndex >= 0 && initIndex < nData)
129 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 161 of file G4RDFluoData.cc.
166 {
G4Exception(
"G4RDFluoData::StartShellProb()",
"OutOfRange",
170 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
176 G4int nData = dataSet.size();
177 if (initIndex >= 0 && initIndex < nData)
179 n = dataSet[initIndex];
std::map< G4int, G4DataVector *, std::less< G4int > > probabilityMap
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double pos
◆ VacancyId()
G4int G4RDFluoData::VacancyId |
( |
G4int |
vacancyIndex | ) |
const |
Definition at line 75 of file G4RDFluoData.cc.
79 {
G4Exception(
"G4RDFluoData::VacancyId()",
"OutOfRange",
83 std::map<G4int,G4DataVector*,std::less<G4int> >::const_iterator
pos;
84 pos =
idMap.find(vacancyIndex);
85 if (pos!=
idMap.end())
87 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
◆ fluoTransitionTable
◆ idMap
◆ nInitShells
std::vector<G4int> G4RDFluoData::nInitShells |
|
private |
◆ numberOfVacancies
G4int G4RDFluoData::numberOfVacancies |
|
private |
◆ probabilityMap
The documentation for this class was generated from the following files: