26 #ifndef G4RadioactiveDecay_h
27 #define G4RadioactiveDecay_h 1
59 #include <CLHEP/Units/SystemOfUnits.h>
150 std::vector<G4double>);
264 std::vector<double>& weights_v,
265 std::vector<double>& times_v,
266 std::vector<G4DynamicParticle*>& secondaries_v);
317 #ifdef G4MULTITHREADED
342 {
return DecayIt(theTrack, theStep);}
347 {
return DecayIt(theTrack, theStep);}
349 #ifdef G4MULTITHREADED
351 static G4Mutex radioactiveDecayMutex;
G4VParticleChange * PostStepDoIt(const G4Track &theTrack, const G4Step &theStep)
G4double condition(const G4ErrorSymMatrix &m)
std::vector< G4RadioactiveDecayRateVector > G4RadioactiveDecayRateTable
G4double halflifethreshold
G4RadioactiveDecayRateVector theDecayRateTable
G4DecayProducts * DoDecay(const G4ParticleDefinition &theParticleDef)
G4RadioactiveDecay & operator=(const G4RadioactiveDecay &right)
void SelectAVolume(const G4String aVolume)
std::map< G4String, G4DecayTable * > DecayTableMap
static constexpr double s
CLHEP::Hep3Vector G4ThreeVector
G4bool IsRateTableReady(const G4ParticleDefinition &)
std::vector< G4String > ValidVolumes
G4double ConvolveSourceTimeProfile(const G4double, const G4double)
std::vector< G4RadioactiveDecayRate > G4RadioactiveDecayRates
G4VParticleChange * AtRestDoIt(const G4Track &theTrack, const G4Step &theStep)
G4RadioactiveDecayRates theDecayRateVector
G4double GetMeanLifeTime(const G4Track &theTrack, G4ForceCondition *condition)
G4int GetVerboseLevel() const
void SetSourceTimeProfile(G4String filename)
G4bool IsApplicable(const G4ParticleDefinition &)
G4bool IsAnalogueMonteCarlo()
G4ParticleChangeForRadDecay fParticleChangeForRadDecay
double A(double temperature)
static const G4ThreeVector origin
void SetDecayRate(G4int, G4int, G4double, G4int, std::vector< G4double >, std::vector< G4double >)
std::vector< G4RadioactivityTable * > GetTheRadioactivityTables()
void CollimateDecayProduct(G4DynamicParticle *product)
const G4ThreeVector & GetDecayDirection() const
void SetDecayDirection(const G4ThreeVector &theDir)
G4ThreeVector ChooseCollimationDirection() const
G4int GetDecayTimeBin(const G4double aDecayTime)
void DeselectAllVolumes()
G4NucleusLimits GetNucleusLimits() const
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4NucleusLimits theNucleusLimits
G4DecayTable * GetDecayTable(const G4ParticleDefinition *)
G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)
void SetNucleusLimits(G4NucleusLimits theNucleusLimits1)
G4double GetMeanFreePath(const G4Track &theTrack, G4double previousStepSize, G4ForceCondition *condition)
G4RadioactiveDecayRate theDecayRate
static const G4double levelTolerance
G4RadioactiveDecayRateTable theDecayRateTableVector
std::map< G4int, G4String > theUserRadioactiveDataFiles
G4double forceDecayHalfAngle
void GetDecayRateTable(const G4ParticleDefinition &)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4RadioactiveDecaymessenger * theRadioactiveDecaymessenger
void SetSplitNuclei(G4int r)
G4double GetDecayHalfAngle() const
void AddDecayRateTable(const G4ParticleDefinition &)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
G4DecayTable * LoadDecayTable(const G4ParticleDefinition &theParentNucleus)
std::vector< G4RadioactivityTable * > theRadioactivityTables
G4RadioactiveDecay(const G4String &processName="RadioactiveDecay")
void SetVerboseLevel(G4int value)
G4ThreeVector forceDecayDirection
void SetDecayCollimation(const G4ThreeVector &theDir, G4double halfAngle=0.*CLHEP::deg)
void SetHLThreshold(G4double hl)
void BuildPhysicsTable(const G4ParticleDefinition &)
static constexpr double deg
G4double fRemainderLifeTime
void SetAnalogueMonteCarlo(G4bool r)
void SetDecayHalfAngle(G4double halfAngle=0.*CLHEP::deg)
void DeselectAVolume(const G4String aVolume)
void AddDeexcitationSpectrumForBiasMode(G4ParticleDefinition *apartDef, G4double weight, G4double currenTime, std::vector< double > &weights_v, std::vector< double > ×_v, std::vector< G4DynamicParticle * > &secondaries_v)
void AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
void CollimateDecay(G4DecayProducts *products)
void SetDecayBias(G4String filename)
G4VParticleChange * DecayIt(const G4Track &theTrack, const G4Step &theStep)