45 const std::map<
G4int,std::vector<G4int>,std::less<G4int> >* idMap,
49 finalShellId = finalShell;
50 augerOriginatingShellIdsMap = *idMap;
51 augerTransitionEnergiesMap = *energyMap;
52 augerTransitionProbabilitiesMap = *probabilityMap;
53 transitionOriginatingShellIds = transIds;
68 std::map<G4int,std::vector<G4int>,std::less<G4int> >::const_iterator shellId = augerOriginatingShellIdsMap.find(startShellId);
70 const std::vector<G4int>* dataSet = &(*shellId).second;
73 if (dataSet->size() == 0) {
G4cout <<
"Error: no auger Id found"<<
G4endl;}
88 const std::vector<G4int>* dataSet = &transitionOriginatingShellIds;
97 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionEnergiesMap.find(startShellId);
99 if (shellId == augerTransitionEnergiesMap.end() )
101 G4Exception(
"G4AugerTransition::AugerTransitionEnergies()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
120 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionProbabilitiesMap.find(startShellId);
122 if (shellId == augerTransitionProbabilitiesMap.end() )
125 G4Exception(
"G4AugerTransition::AugerTransitionProbabilities()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
151 std::vector<G4int>::const_iterator pos = ids->begin();
164 if (index < (
G4int) energies->size()) {
165 G4DataVector::const_iterator pos = energies->begin();
166 energy = *(pos+index);
178 G4DataVector::const_iterator pos = probabilities->begin();
181 probability = *(pos+index);
189 return transitionOriginatingShellIds[index];
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4int AugerOriginatingShellId(G4int index, G4int startShellId) const
G4int FinalShellId() const
const std::vector< G4int > * AugerOriginatingShellIds(G4int startShellId) const
const G4DataVector * AugerTransitionEnergies(G4int startShellId) const
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)
const G4DataVector * AugerTransitionProbabilities(G4int startShellId) const
G4double AugerTransitionEnergy(G4int index, G4int startShellId) const
const std::vector< G4int > * TransitionOriginatingShellIds() const
G4double AugerTransitionProbability(G4int index, G4int startShellId) const
G4int TransitionOriginatingShellId(G4int index) const