#include <G4AugerTransition.hh>
|
| G4AugerTransition (G4int finalShell, std::vector< G4int > transIds, const std::map< G4int, std::vector< G4int >, std::less< G4int > > *idMap, const std::map< G4int, G4DataVector, std::less< G4int > > *energyMap, const std::map< G4int, G4DataVector, std::less< G4int > > *probabilityMap) |
|
| ~G4AugerTransition () |
|
const std::vector< G4int > * | AugerOriginatingShellIds (G4int startShellId) const |
|
const std::vector< G4int > * | TransitionOriginatingShellIds () const |
|
const G4DataVector * | AugerTransitionEnergies (G4int startShellId) const |
|
const G4DataVector * | AugerTransitionProbabilities (G4int startShellId) const |
|
G4int | FinalShellId () const |
|
G4int | AugerOriginatingShellId (G4int index, G4int startShellId) const |
|
G4double | AugerTransitionEnergy (G4int index, G4int startShellId) const |
|
G4double | AugerTransitionProbability (G4int index, G4int startShellId) const |
|
G4int | TransitionOriginatingShellId (G4int index) const |
|
Definition at line 55 of file G4AugerTransition.hh.
◆ G4AugerTransition()
G4AugerTransition::G4AugerTransition |
( |
G4int |
finalShell, |
|
|
std::vector< G4int > |
transIds, |
|
|
const std::map< G4int, std::vector< G4int >, std::less< G4int > > * |
idMap, |
|
|
const std::map< G4int, G4DataVector, std::less< G4int > > * |
energyMap, |
|
|
const std::map< G4int, G4DataVector, std::less< G4int > > * |
probabilityMap |
|
) |
| |
Definition at line 45 of file G4AugerTransition.cc.
49{
50 finalShellId = finalShell;
51 augerOriginatingShellIdsMap = *idMap;
52 augerTransitionEnergiesMap = *energyMap;
53 augerTransitionProbabilitiesMap = *probabilityMap;
54 transitionOriginatingShellIds = transIds;
55
56
57}
◆ ~G4AugerTransition()
G4AugerTransition::~G4AugerTransition |
( |
| ) |
|
◆ AugerOriginatingShellId()
G4int G4AugerTransition::AugerOriginatingShellId |
( |
G4int |
index, |
|
|
G4int |
startShellId |
|
) |
| const |
Definition at line 148 of file G4AugerTransition.cc.
149{
151
152 std::vector<G4int>::const_iterator pos = ids->begin();
156}
const std::vector< G4int > * AugerOriginatingShellIds(G4int startShellId) const
◆ AugerOriginatingShellIds()
const std::vector< G4int > * G4AugerTransition::AugerOriginatingShellIds |
( |
G4int |
startShellId | ) |
const |
Definition at line 67 of file G4AugerTransition.cc.
68{
69 std::map<G4int,std::vector<G4int>,std::less<G4int> >::const_iterator shellId = augerOriginatingShellIdsMap.find(startShellId);
70
71 const std::vector<G4int>* dataSet = &(*shellId).second;
72
73
74 if (dataSet->size() == 0) {
G4cout <<
"Error: no auger Id found"<<
G4endl;}
75 else {
76
77
78
79 }
80
81 return dataSet;
82}
G4DLLIMPORT std::ostream G4cout
Referenced by AugerOriginatingShellId().
◆ AugerTransitionEnergies()
Definition at line 96 of file G4AugerTransition.cc.
97{
98 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionEnergiesMap.find(startShellId);
99
100 if (shellId == augerTransitionEnergiesMap.end() )
101 {
102 G4Exception(
"G4AugerTransition::AugerTransitionEnergies()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
103 return 0;
104 }
105
107
108
109 return dataSet;
110}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Referenced by AugerTransitionEnergy().
◆ AugerTransitionEnergy()
G4double G4AugerTransition::AugerTransitionEnergy |
( |
G4int |
index, |
|
|
G4int |
startShellId |
|
) |
| const |
Definition at line 161 of file G4AugerTransition.cc.
162{
165 if (index < (
G4int) energies->size()) {
166 G4DataVector::const_iterator pos = energies->begin();
167 energy = *(pos+index);
168 }
169 return energy;
170}
const G4DataVector * AugerTransitionEnergies(G4int startShellId) const
◆ AugerTransitionProbabilities()
Definition at line 115 of file G4AugerTransition.cc.
116{
117
118
119
120
121 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionProbabilitiesMap.find(startShellId);
122
123 if (shellId == augerTransitionProbabilitiesMap.end() )
124 {
125
126 G4Exception(
"G4AugerTransition::AugerTransitionProbabilities()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
127 return 0;
128 }
129
131
132
133
134
135
136
137 return dataSet;
138}
Referenced by AugerTransitionProbability().
◆ AugerTransitionProbability()
G4double G4AugerTransition::AugerTransitionProbability |
( |
G4int |
index, |
|
|
G4int |
startShellId |
|
) |
| const |
Definition at line 175 of file G4AugerTransition.cc.
176{
177
179 G4DataVector::const_iterator pos = probabilities->begin();
180
182 probability = *(pos+index);
183
184 return probability;
185
186}
const G4DataVector * AugerTransitionProbabilities(G4int startShellId) const
◆ FinalShellId()
G4int G4AugerTransition::FinalShellId |
( |
| ) |
const |
◆ TransitionOriginatingShellId()
G4int G4AugerTransition::TransitionOriginatingShellId |
( |
G4int |
index | ) |
const |
◆ TransitionOriginatingShellIds()
const std::vector< G4int > * G4AugerTransition::TransitionOriginatingShellIds |
( |
| ) |
const |
Definition at line 86 of file G4AugerTransition.cc.
87{
88
89 const std::vector<G4int>* dataSet = &transitionOriginatingShellIds;
90 return dataSet;
91}
The documentation for this class was generated from the following files: