ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VDecayChannel Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/particles/management/include/G4VDecayChannel.hh>

+ Inheritance diagram for G4VDecayChannel:
+ Collaboration diagram for G4VDecayChannel:

Public Member Functions

 G4VDecayChannel (const G4String &aName, G4int Verbose=1)
 
 G4VDecayChannel (const G4String &aName, const G4String &theParentName, G4double theBR, G4int theNumberOfDaughters, const G4String &theDaughterName1, const G4String &theDaughterName2="", const G4String &theDaughterName3="", const G4String &theDaughterName4="")
 
virtual ~G4VDecayChannel ()
 
G4bool operator== (const G4VDecayChannel &right) const
 
G4bool operator!= (const G4VDecayChannel &right) const
 
G4bool operator< (const G4VDecayChannel &right) const
 
virtual G4DecayProductsDecayIt (G4double parentMass=-1.0)=0
 
const G4StringGetKinematicsName () const
 
G4double GetBR () const
 
G4int GetNumberOfDaughters () const
 
G4ParticleDefinitionGetParent ()
 
G4ParticleDefinitionGetDaughter (G4int anIndex)
 
G4int GetAngularMomentum ()
 
const G4StringGetParentName () const
 
const G4StringGetDaughterName (G4int anIndex) const
 
G4double GetParentMass () const
 
G4double GetDaughterMass (G4int anIndex) const
 
void SetParent (const G4ParticleDefinition *particle_type)
 
void SetParent (const G4String &particle_name)
 
void SetBR (G4double value)
 
void SetNumberOfDaughters (G4int value)
 
void SetDaughter (G4int anIndex, const G4ParticleDefinition *particle_type)
 
void SetDaughter (G4int anIndex, const G4String &particle_name)
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void DumpInfo ()
 
G4double GetRangeMass () const
 
void SetRangeMass (G4double val)
 
virtual G4bool IsOKWithParentMass (G4double parentMass)
 
void SetPolarization (const G4ThreeVector &)
 
const G4ThreeVectorGetPolarization () const
 

Protected Member Functions

void ClearDaughtersName ()
 
void CheckAndFillDaughters ()
 
void CheckAndFillParent ()
 
 G4VDecayChannel ()
 
 G4VDecayChannel (const G4VDecayChannel &)
 
G4VDecayChanneloperator= (const G4VDecayChannel &)
 
G4double DynamicalMass (G4double massPDG, G4double width, G4double maxDev=+1.) const
 

Protected Attributes

G4String kinematics_name
 
G4double rbranch
 
G4int numberOfDaughters
 
G4Stringparent_name
 
G4String ** daughters_name
 
G4double rangeMass
 
G4ThreeVector parent_polarization
 
G4ParticleTableparticletable
 
G4int verboseLevel
 
G4ParticleDefinitionG4MT_parent
 
G4ParticleDefinition ** G4MT_daughters
 
G4double G4MT_parent_mass
 
G4doubleG4MT_daughters_mass
 
G4doubleG4MT_daughters_width
 
G4Mutex daughtersMutex
 
G4Mutex parentMutex
 

Static Protected Attributes

static const G4String noName = " "
 

Private Member Functions

void FillDaughters ()
 
void FillParent ()
 
const G4StringGetNoName () const
 

Detailed Description

Definition at line 52 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 52 of file G4VDecayChannel.hh

Constructor & Destructor Documentation

G4VDecayChannel::G4VDecayChannel ( const G4String aName,
G4int  Verbose = 1 
)

Definition at line 69 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 69 of file G4VDecayChannel.cc

References G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4MT_parent_mass, G4ParticleTable::GetParticleTable(), and particletable.

+ Here is the call graph for this function:

G4VDecayChannel::G4VDecayChannel ( const G4String aName,
const G4String theParentName,
G4double  theBR,
G4int  theNumberOfDaughters,
const G4String theDaughterName1,
const G4String theDaughterName2 = "",
const G4String theDaughterName3 = "",
const G4String theDaughterName4 = "" 
)

Definition at line 90 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 90 of file G4VDecayChannel.cc

References daughters_name, G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4MT_parent_mass, G4ParticleTable::GetParticleTable(), numberOfDaughters, parent_name, particletable, and rbranch.

+ Here is the call graph for this function:

G4VDecayChannel::~G4VDecayChannel ( )
virtual

Definition at line 214 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 214 of file G4VDecayChannel.cc

References ClearDaughtersName(), daughtersMutex, G4MT_daughters_mass, G4MT_daughters_width, G4MUTEXDESTROY, parent_name, and parentMutex.

+ Here is the call graph for this function:

G4VDecayChannel::G4VDecayChannel ( )
protected

Definition at line 48 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 48 of file G4VDecayChannel.cc

References G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4MT_parent_mass, G4ParticleTable::GetParticleTable(), and particletable.

+ Here is the call graph for this function:

G4VDecayChannel::G4VDecayChannel ( const G4VDecayChannel right)
protected

Definition at line 134 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 134 of file G4VDecayChannel.cc

References daughters_name, daughtersMutex, G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4MT_parent_mass, G4MUTEXINIT, G4ParticleTable::GetParticleTable(), kinematics_name, numberOfDaughters, parent_name, parent_polarization, parentMutex, particletable, rangeMass, rbranch, and verboseLevel.

+ Here is the call graph for this function:

Member Function Documentation

void G4VDecayChannel::CheckAndFillDaughters ( )
inlineprotected
void G4VDecayChannel::CheckAndFillParent ( )
inlineprotected
void G4VDecayChannel::ClearDaughtersName ( )
protected
void G4VDecayChannel::DumpInfo ( )

Definition at line 547 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 547 of file G4VDecayChannel.cc

References daughters_name, G4cout, G4endl, kinematics_name, numberOfDaughters, and rbranch.

Referenced by G4PhaseSpaceDecayChannel::DecayIt(), G4GeneralPhaseSpaceDecay::DecayIt(), and G4KL3DecayChannel::G4KL3DecayChannel().

+ Here is the caller graph for this function:

G4double G4VDecayChannel::DynamicalMass ( G4double  massPDG,
G4double  width,
G4double  maxDev = +1. 
) const
protected

Definition at line 567 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 567 of file G4VDecayChannel.cc

References G4UniformRand, mass, rangeMass, x, and y.

Referenced by G4PhaseSpaceDecayChannel::ThreeBodyDecayIt(), and G4PhaseSpaceDecayChannel::TwoBodyDecayIt().

+ Here is the caller graph for this function:

void G4VDecayChannel::FillDaughters ( )
private

Definition at line 329 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 329 of file G4VDecayChannel.cc

References CheckAndFillParent(), daughters_name, daughtersMutex, FatalException, G4ParticleTable::FindParticle(), G4cout, G4endl, G4Exception(), G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGWidth(), GetVerboseLevel(), GeV, numberOfDaughters, parent_name, particletable, rangeMass, SetBR(), and verboseLevel.

Referenced by CheckAndFillDaughters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VDecayChannel::FillParent ( )
private

Definition at line 445 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 445 of file G4VDecayChannel.cc

References FatalException, G4ParticleTable::FindParticle(), G4cout, G4endl, G4Exception(), G4MT_parent, G4MT_parent_mass, G4ParticleDefinition::GetPDGMass(), parent_name, parentMutex, particletable, and verboseLevel.

Referenced by CheckAndFillParent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4VDecayChannel::GetAngularMomentum ( )

Definition at line 489 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 489 of file G4VDecayChannel.cc

References kdfinder::abs(), CheckAndFillDaughters(), G4cout, G4endl, G4Exception(), G4MT_daughters, G4MT_parent, G4ParticleDefinition::GetPDGiParity(), G4ParticleDefinition::GetPDGiSpin(), JustWarning, numberOfDaughters, and verboseLevel.

+ Here is the call graph for this function:

G4ParticleDefinition * G4VDecayChannel::GetDaughter ( G4int  anIndex)
inline

Definition at line 211 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 211 of file G4VDecayChannel.hh

References CheckAndFillDaughters(), G4cout, G4endl, G4MT_daughters, numberOfDaughters, and verboseLevel.

Referenced by G4IonTable::CreateIon(), G4KineticTrack::Decay(), G4KineticTrack::G4KineticTrack(), G4TextPPReporter::GeneratePropertyTable(), G4HtmlPPReporter::GeneratePropertyTable(), G4NuclearDecay::GetDaughterNucleus(), and G4MTRunManagerKernel::SetUpDecayChannels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VDecayChannel::GetDaughterMass ( G4int  anIndex) const
inline

Definition at line 241 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 241 of file G4VDecayChannel.hh

References G4cout, G4endl, G4MT_daughters_mass, numberOfDaughters, and verboseLevel.

const G4String & G4VDecayChannel::GetDaughterName ( G4int  anIndex) const
inline

Definition at line 227 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 227 of file G4VDecayChannel.hh

References daughters_name, G4cout, G4endl, GetNoName(), numberOfDaughters, and verboseLevel.

Referenced by G4KineticTrack::Decay(), G4Decay::DecayIt(), G4MuonicAtomDecay::DecayIt(), G4TritonDecay::DumpNuclearInfo(), G4AlphaDecay::DumpNuclearInfo(), G4ECDecay::DumpNuclearInfo(), G4ProtonDecay::DumpNuclearInfo(), G4NeutronDecay::DumpNuclearInfo(), G4BetaPlusDecay::DumpNuclearInfo(), G4BetaMinusDecay::DumpNuclearInfo(), and G4ITDecay::DumpNuclearInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4String & G4VDecayChannel::GetKinematicsName ( ) const
inline

Definition at line 290 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 290 of file G4VDecayChannel.hh

References kinematics_name.

Referenced by G4TextPPReporter::GeneratePropertyTable(), and G4HtmlPPReporter::GeneratePropertyTable().

+ Here is the caller graph for this function:

const G4String & G4VDecayChannel::GetNoName ( ) const
private

Definition at line 561 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 561 of file G4VDecayChannel.cc

References noName.

Referenced by GetDaughterName().

+ Here is the caller graph for this function:

G4int G4VDecayChannel::GetNumberOfDaughters ( ) const
inline

Definition at line 284 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 284 of file G4VDecayChannel.hh

References numberOfDaughters.

Referenced by G4KineticTrack::Decay(), G4Decay::DecayIt(), G4MuonicAtomDecay::DecayIt(), G4KineticTrack::G4KineticTrack(), G4TextPPReporter::GeneratePropertyTable(), G4HtmlPPReporter::GeneratePropertyTable(), G4SampleResonance::GetMinimumMass(), and G4TextPPRetriever::ModifyPropertyTable().

+ Here is the caller graph for this function:

G4ParticleDefinition * G4VDecayChannel::GetParent ( )
inline

Definition at line 255 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 255 of file G4VDecayChannel.hh

References CheckAndFillParent(), and G4MT_parent.

Referenced by G4DecayTable::Insert().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VDecayChannel::GetParentMass ( ) const
inline

Definition at line 270 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 270 of file G4VDecayChannel.hh

References G4MT_parent_mass.

const G4String & G4VDecayChannel::GetParentName ( ) const
inline

Definition at line 264 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 264 of file G4VDecayChannel.hh

References parent_name.

Referenced by G4KineticTrack::Decay(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4TritonDecay::DumpNuclearInfo(), G4AlphaDecay::DumpNuclearInfo(), G4ECDecay::DumpNuclearInfo(), G4ProtonDecay::DumpNuclearInfo(), G4SFDecay::DumpNuclearInfo(), G4NeutronDecay::DumpNuclearInfo(), G4BetaPlusDecay::DumpNuclearInfo(), G4BetaMinusDecay::DumpNuclearInfo(), and G4ITDecay::DumpNuclearInfo().

+ Here is the caller graph for this function:

const G4ThreeVector & G4VDecayChannel::GetPolarization ( ) const
inline

Definition at line 314 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 314 of file G4VDecayChannel.hh

References parent_polarization.

G4double G4VDecayChannel::GetRangeMass ( ) const
inline

Definition at line 302 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 302 of file G4VDecayChannel.hh

References rangeMass.

G4int G4VDecayChannel::GetVerboseLevel ( ) const
inline

Definition at line 299 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 299 of file G4VDecayChannel.hh

References verboseLevel.

Referenced by G4KL3DecayChannel::DalitzDensity(), G4KL3DecayChannel::DecayIt(), G4NeutronBetaDecayChannel::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4MuonDecayChannel::DecayIt(), G4TauLeptonicDecayChannel::DecayIt(), G4PhaseSpaceDecayChannel::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4PionRadiativeDecayChannel::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4GeneralPhaseSpaceDecay::DecayIt(), G4Decay::DecayIt(), G4MuonicAtomDecay::DecayIt(), FillDaughters(), G4GeneralPhaseSpaceDecay::G4GeneralPhaseSpaceDecay(), G4KL3DecayChannel::G4KL3DecayChannel(), G4MuonDecayChannel::G4MuonDecayChannel(), G4MuonRadiativeDecayChannelWithSpin::G4MuonRadiativeDecayChannelWithSpin(), G4NeutronBetaDecayChannel::G4NeutronBetaDecayChannel(), G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel(), G4TauLeptonicDecayChannel::G4TauLeptonicDecayChannel(), G4PhaseSpaceDecayChannel::ManyBodyDecayIt(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4PhaseSpaceDecayChannel::OneBodyDecayIt(), G4GeneralPhaseSpaceDecay::OneBodyDecayIt(), G4KL3DecayChannel::PhaseSpace(), G4PhaseSpaceDecayChannel::ThreeBodyDecayIt(), G4GeneralPhaseSpaceDecay::ThreeBodyDecayIt(), G4PhaseSpaceDecayChannel::TwoBodyDecayIt(), and G4GeneralPhaseSpaceDecay::TwoBodyDecayIt().

+ Here is the caller graph for this function:

G4bool G4VDecayChannel::IsOKWithParentMass ( G4double  parentMass)
virtual

Reimplemented in G4PhaseSpaceDecayChannel.

Definition at line 585 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 585 of file G4VDecayChannel.cc

References CheckAndFillDaughters(), CheckAndFillParent(), G4MT_daughters_mass, G4MT_daughters_width, numberOfDaughters, and rangeMass.

Referenced by G4Decay::DecayIt(), G4MuonicAtomDecay::DecayIt(), and G4PhaseSpaceDecayChannel::IsOKWithParentMass().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VDecayChannel::operator!= ( const G4VDecayChannel right) const
inline

Definition at line 76 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 76 of file G4VDecayChannel.hh

G4bool G4VDecayChannel::operator< ( const G4VDecayChannel right) const
inline

Definition at line 205 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 205 of file G4VDecayChannel.hh

References rbranch.

G4VDecayChannel & G4VDecayChannel::operator= ( const G4VDecayChannel right)
protected

Definition at line 172 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 172 of file G4VDecayChannel.cc

References ClearDaughtersName(), daughters_name, daughtersMutex, G4MT_daughters, G4MT_daughters_mass, G4MT_daughters_width, G4MT_parent, G4MT_parent_mass, G4MUTEXINIT, G4ParticleTable::GetParticleTable(), kinematics_name, numberOfDaughters, parent_name, parent_polarization, parentMutex, particletable, rangeMass, rbranch, and verboseLevel.

+ Here is the call graph for this function:

G4bool G4VDecayChannel::operator== ( const G4VDecayChannel right) const
inline

Definition at line 75 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 75 of file G4VDecayChannel.hh

void G4VDecayChannel::SetDaughter ( G4int  anIndex,
const G4ParticleDefinition particle_type 
)
void G4VDecayChannel::SetDaughter ( G4int  anIndex,
const G4String particle_name 
)

Definition at line 268 of file G4VDecayChannel.cc.

View newest version in sPHENIX GitHub at line 268 of file G4VDecayChannel.cc

References daughters_name, FatalException, G4cout, G4endl, G4Exception(), G4MT_daughters, numberOfDaughters, and verboseLevel.

+ Here is the call graph for this function:

void G4VDecayChannel::SetNumberOfDaughters ( G4int  value)
void G4VDecayChannel::SetParent ( const G4ParticleDefinition particle_type)
void G4VDecayChannel::SetParent ( const G4String particle_name)
inline

Definition at line 276 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 276 of file G4VDecayChannel.hh

References G4MT_parent, and parent_name.

void G4VDecayChannel::SetPolarization ( const G4ThreeVector polar)
inline

Definition at line 308 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 308 of file G4VDecayChannel.hh

References parent_polarization.

Referenced by G4DecayWithSpin::AtRestDoIt(), and G4DecayWithSpin::PostStepDoIt().

+ Here is the caller graph for this function:

void G4VDecayChannel::SetRangeMass ( G4double  val)
inline

Definition at line 305 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 305 of file G4VDecayChannel.hh

References rangeMass.

void G4VDecayChannel::SetVerboseLevel ( G4int  value)
inline

Definition at line 296 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 296 of file G4VDecayChannel.hh

References verboseLevel.

Referenced by G4Decay::DecayIt(), and G4MuonicAtomDecay::DecayIt().

+ Here is the caller graph for this function:

Member Data Documentation

G4Mutex G4VDecayChannel::daughtersMutex
protected

Definition at line 196 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 196 of file G4VDecayChannel.hh

Referenced by CheckAndFillDaughters(), ClearDaughtersName(), FillDaughters(), G4VDecayChannel(), operator=(), and ~G4VDecayChannel().

G4double* G4VDecayChannel::G4MT_daughters_width
protected
G4double G4VDecayChannel::G4MT_parent_mass
protected

Definition at line 193 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 193 of file G4VDecayChannel.hh

Referenced by G4PhaseSpaceDecayChannel::DecayIt(), FillParent(), G4VDecayChannel(), GetParentMass(), and operator=().

const G4String G4VDecayChannel::noName = " "
staticprotected

Definition at line 189 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 189 of file G4VDecayChannel.hh

Referenced by GetNoName().

G4ThreeVector G4VDecayChannel::parent_polarization
protected
G4Mutex G4VDecayChannel::parentMutex
protected

Definition at line 197 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 197 of file G4VDecayChannel.hh

Referenced by CheckAndFillParent(), FillParent(), G4VDecayChannel(), operator=(), and ~G4VDecayChannel().

G4ParticleTable* G4VDecayChannel::particletable
protected

Definition at line 181 of file G4VDecayChannel.hh.

View newest version in sPHENIX GitHub at line 181 of file G4VDecayChannel.hh

Referenced by FillDaughters(), FillParent(), G4VDecayChannel(), and operator=().


The documentation for this class was generated from the following files: