Geant4  10.00.p02
G4AtomicTransitionManager.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // $Id: G4AtomicTransitionManager.hh,v 1.2 ????
28 //
29 // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
30 // Alfonso Mantero (Alfonso.Mantero@ge.infn.it)
31 //
32 // History:
33 // -----------
34 //
35 // 16 Sept 2001 EG Modified according to a design iteration in the
36 // LowEnergy category
37 //
38 // -------------------------------------------------------------------
39 
40 // Class description:
41 // Low Energy Electromagnetic Physics: create or fills and manages G4AtomicShell,
42 // G4FluoTransition, G4AugerTransition objects.
43 // Further documentation available from http://www.ge.infn.it/geant4/lowE
44 
45 // -------------------------------------------------------------------
46 
47 #ifndef G4AtomicTransitionManager_h
48 #define G4AtomicTransitionManager_h 1
49 
50 #include "G4ShellData.hh"
51 #include "G4FluoData.hh"
52 #include "G4AugerData.hh"
53 #include "G4FluoTransition.hh"
54 #include "G4AtomicShell.hh"
55 // #include "g4std/map"
56 #include <vector>
57 #include "globals.hh"
58 
59 // This class is a singleton
61 
62 public:
63 
64  // The only way to get an instance of this class is to call the
65  // function Instance()
67 
68  // Z is the atomic number of the element, shellIndex is the
69  // index (in EADL) of the shell
70  G4AtomicShell* Shell(G4int Z, size_t shellIndex) const;
71 
72  // Z is the atomic number of the element, shellIndex is the
73  // index (in EADL) of the final shell for the transition
74  // This function gives, upon Z and the Index of the initial shell where te vacancy is,
75  // the radiative transition that can happen (originating shell, energy, probability)
76  const G4FluoTransition* ReachableShell(G4int Z, size_t shellIndex) const ;
77 
78  // This function gives, upon Z and the Index of the initial shell where te vacancy is,
79  // the NON-radiative transition that can happen with originating shell for the transition, and the
80  // data for the possible auger electrons emitted (originating vacancy, energy amnd probability)
81 
82  const G4AugerTransition* ReachableAugerShell(G4int Z, G4int shellIndex) const ;
83 
84  // This function returns the number of shells of the element
85  // whose atomic number is Z
86  G4int NumberOfShells(G4int Z) const;
87 
88  // This function returns the number of those shells of the element
89  // whose atomic number is Z which are reachable through a radiative
90  // transition
91 
92  // This function returns the number of possible radiative transitions for the atom with atomic number Z
93  // i.e. the number of shell in wich a vacancy can be filled with a radiative transition
94 
96 
97 // This function returns the number of possible NON-radiative transitions for the atom with atomic number Z
98 // i.e. the number of shell in wich a vacancy can be filled by a NON-radiative transition
99 
101 
102  // Gives the sum of the probabilities of radiative transition towards the
103  // shell whose index is shellIndex
104  G4double TotalRadiativeTransitionProbability(G4int Z, size_t shellIndex);
105 
106  // Gives the sum of the probabilities of non radiative transition from the
107  // shell whose index is shellIndex
109 
110 protected:
111 
112  G4AtomicTransitionManager(G4int minZ = 1, G4int maxZ = 100,
113  G4int limitInfTable = 6, G4int limitSupTable=100 );
115 
116 private:
117  // Hide copy constructor and assignment operator
120 
122 
123  // the first element of the map is the atomic number Z.
124  // the second element is a vector of G4AtomicShell*.
125  std::map<G4int,std::vector<G4AtomicShell*>,std::less<G4int> > shellTable;
126 
127  // the first element of the map is the atomic number Z.
128  // the second element is a vector of G4AtomicTransition*.
129  std::map<G4int,std::vector<G4FluoTransition*>,std::less<G4int> > transitionTable;
130 
131  // since Augereffect data r stored as a table in G4AugerData, we have here a pointer to an element of that class itself.
132 
134 
135  // Minimum and maximum Z in EADL table containing identities and binding
136  // energies of shells
139 
140  // Minimum and maximum Z in EADL table containing identities, transition
141  // energies and transition probabilities of shells
144 
145 
146 };
147 
148 #endif
static G4ThreadLocal G4AtomicTransitionManager * instance
G4double TotalNonRadiativeTransitionProbability(G4int Z, size_t shellIndex)
G4double TotalRadiativeTransitionProbability(G4int Z, size_t shellIndex)
const G4AugerTransition * ReachableAugerShell(G4int Z, G4int shellIndex) const
G4int NumberOfReachableShells(G4int Z) const
std::map< G4int, std::vector< G4FluoTransition * >, std::less< G4int > > transitionTable
std::map< G4int, std::vector< G4AtomicShell * >, std::less< G4int > > shellTable
#define G4ThreadLocal
Definition: tls.hh:52
int G4int
Definition: G4Types.hh:78
G4AtomicTransitionManager & operator=(const G4AtomicTransitionManager &right)
G4int NumberOfReachableAugerShells(G4int Z) const
const G4FluoTransition * ReachableShell(G4int Z, size_t shellIndex) const
G4AtomicTransitionManager(G4int minZ=1, G4int maxZ=100, G4int limitInfTable=6, G4int limitSupTable=100)
double G4double
Definition: G4Types.hh:76
static G4AtomicTransitionManager * Instance()
G4AtomicShell * Shell(G4int Z, size_t shellIndex) const