Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RDAugerTransition Class Reference

#include <G4RDAugerTransition.hh>

Public Member Functions

 G4RDAugerTransition (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)
 
 ~G4RDAugerTransition ()
 
const std::vector< G4int > * AugerOriginatingShellIds (G4int startShellId) const
 
const std::vector< G4int > * TransitionOriginatingShellIds () const
 
const G4DataVectorAugerTransitionEnergies (G4int startShellId) const
 
const G4DataVectorAugerTransitionProbabilities (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
 

Detailed Description

Definition at line 55 of file G4RDAugerTransition.hh.

Constructor & Destructor Documentation

G4RDAugerTransition::G4RDAugerTransition ( 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 G4RDAugerTransition.cc.

49 {
50  finalShellId = finalShell;
51  augerOriginatingShellIdsMap = *idMap;
52  augerTransitionEnergiesMap = *energyMap;
53  augerTransitionProbabilitiesMap = *probabilityMap;
54  transitionOriginatingShellIds = transIds;
55 
56 
57 }
G4RDAugerTransition::~G4RDAugerTransition ( )

Definition at line 59 of file G4RDAugerTransition.cc.

60 {
61 
62 }

Member Function Documentation

G4int G4RDAugerTransition::AugerOriginatingShellId ( G4int  index,
G4int  startShellId 
) const

Definition at line 123 of file G4RDAugerTransition.cc.

124 {
125  const std::vector<G4int>* ids = AugerOriginatingShellIds(startShellId);
126  // G4int i =
127  std::vector<G4int>::const_iterator pos = ids->begin();
128  G4int n = 0;
129  n = *(pos+index);
130  return n;
131 }
const std::vector< G4int > * AugerOriginatingShellIds(G4int startShellId) const
int G4int
Definition: G4Types.hh:78
const G4int n
static const G4double pos

Here is the call graph for this function:

const std::vector< G4int > * G4RDAugerTransition::AugerOriginatingShellIds ( G4int  startShellId) const

Definition at line 67 of file G4RDAugerTransition.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  //const std::vector<G4int>* dataOut = 0;
73 
74  if (dataSet->size() == 0) {G4cout << "Error: no auger Id found"<< G4endl;}
75  else {
76 
77  // dataOut = &dataSet;
78 
79  }
80 
81  return dataSet;
82 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Here is the caller graph for this function:

const G4DataVector * G4RDAugerTransition::AugerTransitionEnergies ( G4int  startShellId) const

Definition at line 96 of file G4RDAugerTransition.cc.

97 {
98  std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionEnergiesMap.find(startShellId);
99  const G4DataVector* dataSet = &(*shellId).second;
100 
101 
102  return dataSet;
103 }

Here is the caller graph for this function:

G4double G4RDAugerTransition::AugerTransitionEnergy ( G4int  index,
G4int  startShellId 
) const

Definition at line 136 of file G4RDAugerTransition.cc.

137 {
138  const G4DataVector* energies = AugerTransitionEnergies(startShellId);
139  G4double energy = 0;
140  if (index < (G4int) energies->size()) {
141  G4DataVector::const_iterator pos = energies->begin();
142  energy = *(pos+index);
143  }
144  return energy;
145 }
const G4DataVector * AugerTransitionEnergies(G4int startShellId) const
int G4int
Definition: G4Types.hh:78
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76
static const G4double pos

Here is the call graph for this function:

const G4DataVector * G4RDAugerTransition::AugerTransitionProbabilities ( G4int  startShellId) const

Definition at line 108 of file G4RDAugerTransition.cc.

109 {
110  std::map<G4int,G4DataVector,std::less<G4int> >::const_iterator shellId = augerTransitionProbabilitiesMap.find(startShellId);
111  const G4DataVector* dataSet = &(*shellId).second;
112  return dataSet;
113 }

Here is the caller graph for this function:

G4double G4RDAugerTransition::AugerTransitionProbability ( G4int  index,
G4int  startShellId 
) const

Definition at line 150 of file G4RDAugerTransition.cc.

151 {
152 
153  const G4DataVector *probabilities = AugerTransitionProbabilities(startShellId);
154  G4DataVector::const_iterator pos = probabilities->begin();
155 
156  G4double probability = 0;
157  probability = *(pos+index);
158 
159  return probability;
160 
161 }
double G4double
Definition: G4Types.hh:76
static const G4double pos
const G4DataVector * AugerTransitionProbabilities(G4int startShellId) const

Here is the call graph for this function:

G4int G4RDAugerTransition::FinalShellId ( ) const

Definition at line 115 of file G4RDAugerTransition.cc.

116 {
117  return finalShellId;
118 }
G4int G4RDAugerTransition::TransitionOriginatingShellId ( G4int  index) const

Definition at line 163 of file G4RDAugerTransition.cc.

164 {
165  return transitionOriginatingShellIds[index];
166 }
const std::vector< G4int > * G4RDAugerTransition::TransitionOriginatingShellIds ( ) const

Definition at line 86 of file G4RDAugerTransition.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: