46 const std::map<
G4int,std::vector<G4int>,std::less<G4int> >* idMap,
50 finalShellId = finalShell;
51 augerOriginatingShellIdsMap = *idMap;
52 augerTransitionEnergiesMap = *energyMap;
53 augerTransitionProbabilitiesMap = *probabilityMap;
54 transitionOriginatingShellIds = transIds;
69 std::map<G4int,std::vector<G4int>,std::less<G4int> >::const_iterator shellId = augerOriginatingShellIdsMap.find(startShellId);
71 const std::vector<G4int>* dataSet = &(*shellId).second;
74 if (dataSet->size() == 0) {
G4cout <<
"Error: no auger Id found"<<
G4endl;}
89 const std::vector<G4int>* dataSet = &transitionOriginatingShellIds;
98 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionEnergiesMap.find(startShellId);
100 if (shellId == augerTransitionEnergiesMap.end() )
102 G4Exception(
"G4AugerTransition::AugerTransitionEnergies()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
121 std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionProbabilitiesMap.find(startShellId);
123 if (shellId == augerTransitionProbabilitiesMap.end() )
126 G4Exception(
"G4AugerTransition::AugerTransitionProbabilities()",
"de0002",
JustWarning,
"corresponding map element not found, energy deposited locally");
152 std::vector<G4int>::const_iterator pos = ids->begin();
165 if (index < (
G4int) energies->size()) {
166 G4DataVector::const_iterator pos = energies->begin();
167 energy = *(pos+index);
179 G4DataVector::const_iterator pos = probabilities->begin();
182 probability = *(pos+index);
190 return transitionOriginatingShellIds[index];
G4DLLIMPORT 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
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)