Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -52,6 +52,7 @@
#include "G4NucleusLimits.hh"
#include "G4ThreeVector.hh"
#include "G4Threading.hh"
#include "G4RadioactiveDecayMode.hh"
class G4Fragment;
class G4RadioactiveDecayBaseMessenger;
@@ -156,6 +157,8 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
protected:
void DecayAnalog(const G4Track& theTrack);
G4DecayProducts* DoDecay(const G4ParticleDefinition& theParticleDef);
// Apply directional bias for "visible" daughters (e+-, gamma, n, p, alpha)
@@ -180,6 +183,12 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
static const G4double levelTolerance;
// Library of decay tables
DecayTableMap* dkmap;
#ifdef G4MULTITHREADED
static DecayTableMap* master_dkmap;
#endif
private:
void StreamInfo(std::ostream& os, const G4String& endline);
@@ -205,11 +214,14 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
//User define radioactive decay data files replacing some files in the G4RADECAY database
std::map<G4int, G4String> theUserRadioactiveDataFiles;
// Library of decay tables
DecayTableMap* dkmap;
#ifdef G4MULTITHREADED
static DecayTableMap* master_dkmap;
#endif
//The last RadDecayMode
G4RadioactiveDecayMode theRadDecayMode;
// // Library of decay tables
// DecayTableMap* dkmap;
// #ifdef G4MULTITHREADED
// static DecayTableMap* master_dkmap;
// #endif
// Remainder of life time at rest
G4double fRemainderLifeTime;