26 #ifndef G4RadioactiveDecay_h
27 #define G4RadioactiveDecay_h 1
152 std::vector<G4double>);
157 {
return theRadioactivityTables;}
175 {theNucleusLimits = theNucleusLimits1 ;}
180 {
return theNucleusLimits;}
186 if (!AnalogueMC) halflifethreshold = 1e-6*CLHEP::s;
214 forceDecayDirection = theDir.
unit();
218 return forceDecayDirection;
222 forceDecayHalfAngle =
std::min(
std::max(0.*CLHEP::deg,halfAngle),180.*CLHEP::deg);
228 G4double halfAngle = 0.*CLHEP::deg) {
294 std::vector<G4String> ValidVolumes;
295 bool isAllVolumesMode;
303 std::vector<G4RadioactivityTable*> theRadioactivityTables;
304 G4int decayWindows[99];
305 static const G4double levelTolerance;
308 std::map<G4int, G4String> theUserRadioactiveDataFiles;
312 #ifdef G4MULTITHREADED
331 return fRemainderLifeTime;
337 {
return DecayIt(theTrack, theStep);}
342 {
return DecayIt(theTrack, theStep);}
344 #ifdef G4MULTITHREADED
346 static G4Mutex radioactiveDecayMutex;
G4double condition(const G4ErrorSymMatrix &m)
std::vector< G4RadioactiveDecayRateVector > G4RadioactiveDecayRateTable
void SelectAVolume(const G4String aVolume)
std::map< G4String, G4DecayTable * > DecayTableMap
G4bool IsRateTableReady(const G4ParticleDefinition &)
std::vector< G4RadioactiveDecayRate > G4RadioactiveDecayRates
G4double GetMeanLifeTime(const G4Track &theTrack, G4ForceCondition *condition)
G4int GetVerboseLevel() const
void SetSourceTimeProfile(G4String filename)
G4bool IsApplicable(const G4ParticleDefinition &)
G4bool IsAnalogueMonteCarlo()
void SetDecayRate(G4int, G4int, G4double, G4int, std::vector< G4double >, std::vector< G4double >)
G4DecayTable * GetDecayTable(G4ParticleDefinition *)
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()
G4DecayProducts * DoDecay(G4ParticleDefinition &theParticleDef)
G4NucleusLimits GetNucleusLimits() const
G4double GetTaoTime(const G4double, const G4double)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
void SetNucleusLimits(G4NucleusLimits theNucleusLimits1)
G4double GetMeanFreePath(const G4Track &theTrack, G4double previousStepSize, G4ForceCondition *condition)
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
const XML_Char int const XML_Char * value
G4RadioactiveDecay(const G4String &processName="RadioactiveDecay")
void SetVerboseLevel(G4int value)
void SetDecayCollimation(const G4ThreeVector &theDir, G4double halfAngle=0.*CLHEP::deg)
G4DecayTable * LoadDecayTable(G4ParticleDefinition &theParentNucleus)
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 AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
void CollimateDecay(G4DecayProducts *products)
void SetDecayBias(G4String filename)
G4VParticleChange * DecayIt(const G4Track &theTrack, const G4Step &theStep)