26 #ifndef G4RadioactiveDecay_h
27 #define G4RadioactiveDecay_h 1
151 std::vector<G4double>);
156 {
return theRadioactivityTables;}
174 {theNucleusLimits = theNucleusLimits1 ;}
179 {
return theNucleusLimits;}
185 if (!AnalogueMC) halflifethreshold = 1e-6*
CLHEP::s;
213 forceDecayDirection = theDir.
unit();
217 return forceDecayDirection;
267 std::vector<double>& weights_v,
268 std::vector<double>& times_v,
269 std::vector<G4DynamicParticle*>& secondaries_v);
302 std::vector<G4String> ValidVolumes;
303 bool isAllVolumesMode;
311 std::vector<G4RadioactivityTable*> theRadioactivityTables;
312 G4int decayWindows[100];
313 static const G4double levelTolerance;
316 std::map<G4int, G4String> theUserRadioactiveDataFiles;
320 #ifdef G4MULTITHREADED
339 return fRemainderLifeTime;
345 {
return DecayIt(theTrack, theStep);}
350 {
return DecayIt(theTrack, theStep);}
352 #ifdef G4MULTITHREADED
354 static G4Mutex radioactiveDecayMutex;
G4double condition(const G4ErrorSymMatrix &m)
std::vector< G4RadioactiveDecayRateVector > G4RadioactiveDecayRateTable
G4DecayProducts * DoDecay(const G4ParticleDefinition &theParticleDef)
void SelectAVolume(const G4String aVolume)
std::map< G4String, G4DecayTable * > DecayTableMap
G4bool IsRateTableReady(const G4ParticleDefinition &)
G4double ConvolveSourceTimeProfile(const G4double, const G4double)
std::vector< G4RadioactiveDecayRate > G4RadioactiveDecayRates
G4double GetMeanLifeTime(const G4Track &theTrack, G4ForceCondition *condition)
G4int GetVerboseLevel() const
void SetSourceTimeProfile(G4String filename)
G4bool IsApplicable(const G4ParticleDefinition &)
G4bool IsAnalogueMonteCarlo()
double A(double temperature)
const XML_Char int const XML_Char * value
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 *)
static constexpr double s
G4DecayTable * GetDecayTable(const G4ParticleDefinition *)
void SetNucleusLimits(G4NucleusLimits theNucleusLimits1)
G4double GetMeanFreePath(const G4Track &theTrack, G4double previousStepSize, G4ForceCondition *condition)
static constexpr double deg
void GetDecayRateTable(const G4ParticleDefinition &)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
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)
G4RadioactiveDecay(const G4String &processName="RadioactiveDecay")
void SetVerboseLevel(G4int value)
void SetDecayCollimation(const G4ThreeVector &theDir, G4double halfAngle=0.*CLHEP::deg)
void SetHLThreshold(G4double hl)
void BuildPhysicsTable(const G4ParticleDefinition &)
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)