26#ifndef G4RadioactiveDecay_h
27#define G4RadioactiveDecay_h 1
155 std::vector<G4double>);
160 {
return theRadioactivityTables;}
177 {theNucleusLimits = theNucleusLimits1 ;}
182 {
return theNucleusLimits;}
191 if (!AnalogueMC) halflifethreshold = 1e-6*CLHEP::s;
218 forceDecayDirection = theDir.
unit();
222 return forceDecayDirection;
226 forceDecayHalfAngle = std::min(std::max(0.*CLHEP::deg,halfAngle),180.*CLHEP::deg);
234 G4double halfAngle = 0.*CLHEP::deg) {
269 std::vector<double>& weights_v,
270 std::vector<double>& times_v,
271 std::vector<G4DynamicParticle*>& secondaries_v);
275 void StreamInfo(std::ostream& os,
const G4String& endline);
307 std::vector<G4String> ValidVolumes;
308 bool isAllVolumesMode;
316 std::vector<G4RadioactivityTable*> theRadioactivityTables;
317 G4int decayWindows[100];
318 static const G4double levelTolerance;
324 std::map<G4int, G4String> theUserRadioactiveDataFiles;
331#ifdef G4MULTITHREADED
350 return fRemainderLifeTime;
356 {
return DecayIt(theTrack, theStep);}
361 {
return DecayIt(theTrack, theStep);}
363#ifdef G4MULTITHREADED
365 static G4Mutex radioactiveDecayMutex;
367 G4int& NumberOfInstances();
G4double condition(const G4ErrorSymMatrix &m)
std::vector< G4RadioactiveDecayRatesToDaughter > G4RadioactiveDecayRates
std::map< G4String, G4DecayTable * > DecayTableMap
std::vector< G4RadioactiveDecayChainsFromParent > G4RadioactiveDecayParentChainTable
std::vector< G4RadioactiveDecayRatesToDaughter > G4RadioactiveDecayRates
std::map< G4String, G4DecayTable * > DecayTableMap
std::vector< G4RadioactiveDecayChainsFromParent > G4RadioactiveDecayParentChainTable
void DeselectAVolume(const G4String aVolume)
void SetSplitNuclei(G4int r)
void SetVerboseLevel(G4int value)
void SetSourceTimeProfile(G4String filename)
void BuildPhysicsTable(const G4ParticleDefinition &)
std::vector< G4RadioactivityTable * > GetTheRadioactivityTables()
void SetDecayBias(G4String filename)
G4double GetDecayHalfAngle() const
G4DecayTable * LoadDecayTable(const G4ParticleDefinition &theParentNucleus)
G4double GetMeanLifeTime(const G4Track &theTrack, G4ForceCondition *condition)
G4DecayProducts * DoDecay(const G4ParticleDefinition &theParticleDef)
G4NucleusLimits GetNucleusLimits() const
G4bool IsAnalogueMonteCarlo()
void CollimateDecayProduct(G4DynamicParticle *product)
G4DecayTable * GetDecayTable(const G4ParticleDefinition *)
const G4ThreeVector & GetDecayDirection() const
void SelectAVolume(const G4String aVolume)
G4int GetVerboseLevel() const
G4double GetMeanFreePath(const G4Track &theTrack, G4double previousStepSize, G4ForceCondition *condition)
G4ThreeVector ChooseCollimationDirection() const
G4int GetDecayTimeBin(const G4double aDecayTime)
G4VParticleChange * DecayIt(const G4Track &theTrack, const G4Step &theStep)
void SetDecayHalfAngle(G4double halfAngle=0.*CLHEP::deg)
void SetAnalogueMonteCarlo(G4bool r)
void SetDecayRate(G4int, G4int, G4double, G4int, std::vector< G4double >, std::vector< G4double >)
void SetDecayDirection(const G4ThreeVector &theDir)
G4bool IsApplicable(const G4ParticleDefinition &)
void CalculateChainsFromParent(const G4ParticleDefinition &)
void SetHLThreshold(G4double hl)
void SetDecayCollimation(const G4ThreeVector &theDir, G4double halfAngle=0.*CLHEP::deg)
virtual void ProcessDescription(std::ostream &outFile) const
G4bool IsRateTableReady(const G4ParticleDefinition &)
void SetNucleusLimits(G4NucleusLimits theNucleusLimits1)
void DeselectAllVolumes()
void AddUserDecayDataFile(G4int Z, G4int A, G4String filename)
G4double ConvolveSourceTimeProfile(const G4double, const G4double)
void AddDeexcitationSpectrumForBiasMode(G4ParticleDefinition *apartDef, G4double weight, G4double currenTime, std::vector< double > &weights_v, std::vector< double > ×_v, std::vector< G4DynamicParticle * > &secondaries_v)
void CollimateDecay(G4DecayProducts *products)
void GetChainsFromParent(const G4ParticleDefinition &)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)