Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -48,14 +48,14 @@
#define G4AtomicTransitionManager_h 1
#include "G4ShellData.hh"
#include "G4FluoData.hh"
#include "G4AugerData.hh"
#include "G4FluoTransition.hh"
#include "G4AugerTransition.hh"
#include "G4AtomicShell.hh"
// #include "g4std/map"
#include <vector>
#include "globals.hh"
class G4AugerData;
// This class is a singleton
class G4AtomicTransitionManager {
@@ -64,6 +64,9 @@ public:
// The only way to get an instance of this class is to call the
// function Instance()
static G4AtomicTransitionManager* Instance();
// needs to be called once from other code before start of run
void Initialise();
// Z is the atomic number of the element, shellIndex is the
// index (in EADL) of the shell
@@ -71,15 +74,17 @@ public:
// Z is the atomic number of the element, shellIndex is the
// index (in EADL) of the final shell for the transition
// This function gives, upon Z and the Index of the initial shell where te vacancy is,
// the radiative transition that can happen (originating shell, energy, probability)
const G4FluoTransition* ReachableShell(G4int Z, size_t shellIndex) const ;
// This function gives, upon Z and the Index of the initial shell where
// the vacancy is, the radiative transition that can happen (originating
// shell, energy, probability)
const G4FluoTransition* ReachableShell(G4int Z, size_t shellIndex) const;
// This function gives, upon Z and the Index of the initial shell where te vacancy is,
// the NON-radiative transition that can happen with originating shell for the transition, and the
// data for the possible auger electrons emitted (originating vacancy, energy amnd probability)
// This function gives, upon Z and the Index of the initial shell where
// the vacancy is, the NON-radiative transition that can happen with
// originating shell for the transition, and the data for the possible
// auger electrons emitted (originating vacancy, energy amnd probability)
const G4AugerTransition* ReachableAugerShell(G4int Z, G4int shellIndex) const ;
const G4AugerTransition* ReachableAugerShell(G4int Z, G4int shellIndex) const;
// This function returns the number of shells of the element
// whose atomic number is Z
@@ -88,37 +93,37 @@ public:
// This function returns the number of those shells of the element
// whose atomic number is Z which are reachable through a radiative
// transition
// This function returns the number of possible radiative transitions for the atom with atomic number Z
// i.e. the number of shell in wich a vacancy can be filled with a radiative transition
G4int NumberOfReachableShells(G4int Z)const ;
G4int NumberOfReachableShells(G4int Z) const;
// This function returns the number of possible NON-radiative transitions for the atom with atomic number Z
// i.e. the number of shell in wich a vacancy can be filled by a NON-radiative transition
// This function returns the number of possible NON-radiative transitions
// for the atom with atomic number Z i.e. the number of shell in wich
// a vacancy can be filled by a NON-radiative transition
G4int NumberOfReachableAugerShells(G4int Z)const ;
G4int NumberOfReachableAugerShells(G4int Z) const;
// Gives the sum of the probabilities of radiative transition towards the
// shell whose index is shellIndex
G4double TotalRadiativeTransitionProbability(G4int Z, size_t shellIndex);
G4double
TotalRadiativeTransitionProbability(G4int Z, size_t shellIndex) const;
// Gives the sum of the probabilities of non radiative transition from the
// shell whose index is shellIndex
G4double TotalNonRadiativeTransitionProbability(G4int Z, size_t shellIndex);
protected:
G4double
TotalNonRadiativeTransitionProbability(G4int Z, size_t shellIndex) const;
void SetFluoDirectory(const G4String& ss);
private:
G4AtomicTransitionManager();
G4AtomicTransitionManager(G4int minZ = 1, G4int maxZ = 100,
G4int limitInfTable = 6, G4int limitSupTable=100 );
~G4AtomicTransitionManager();
private:
// Hide copy constructor and assignment operator
G4AtomicTransitionManager& operator=(const G4AtomicTransitionManager& right);
G4AtomicTransitionManager(const G4AtomicTransitionManager&);
static G4ThreadLocal G4AtomicTransitionManager* instance;
static G4AtomicTransitionManager* instance;
// the first element of the map is the atomic number Z.
// the second element is a vector of G4AtomicShell*.
@@ -128,8 +133,8 @@ private:
// the second element is a vector of G4AtomicTransition*.
std::map<G4int,std::vector<G4FluoTransition*>,std::less<G4int> > transitionTable;
// since Augereffect data r stored as a table in G4AugerData, we have here a pointer to an element of that class itself.
// since Augereffect data r stored as a table in G4AugerData, we have
// here a pointer to an element of that class itself.
G4AugerData* augerData;
// Minimum and maximum Z in EADL table containing identities and binding
@@ -142,7 +147,8 @@ private:
G4int infTableLimit;
G4int supTableLimit;
G4bool isInitialized;
G4String fluoDirectory;
};
#endif