Geant4  10.03
G4VDecayChannel Class Referenceabstract

#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 ()
 
G4int operator== (const G4VDecayChannel &right) const
 
G4int operator!= (const G4VDecayChannel &right) const
 
G4int 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 53 of file G4VDecayChannel.hh.

Constructor & Destructor Documentation

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

Definition 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 91 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, and particletable.

+ Here is the call graph for this function:

G4VDecayChannel::~G4VDecayChannel ( )
virtual

Definition 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 49 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 133 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::DumpInfo ( )

Definition at line 548 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 568 of file G4VDecayChannel.cc.

References G4UniformRand, rangeMass, and width.

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

+ Here is the caller graph for this function:

void G4VDecayChannel::FillDaughters ( )
private

Definition at line 330 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 446 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 490 of file G4VDecayChannel.cc.

References 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 212 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 242 of file G4VDecayChannel.hh.

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

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

Definition at line 228 of file G4VDecayChannel.hh.

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

Referenced by G4KineticTrack::Decay(), G4Decay::DecayIt(), G4AlphaDecay::DumpNuclearInfo(), G4ECDecay::DumpNuclearInfo(), G4NeutronDecay::DumpNuclearInfo(), G4ProtonDecay::DumpNuclearInfo(), G4ITDecay::DumpNuclearInfo(), G4BetaMinusDecay::DumpNuclearInfo(), and G4BetaPlusDecay::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 291 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 562 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 285 of file G4VDecayChannel.hh.

References numberOfDaughters.

Referenced by G4KineticTrack::Decay(), G4Decay::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 256 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 271 of file G4VDecayChannel.hh.

References G4MT_parent_mass.

const G4String & G4VDecayChannel::GetParentName ( ) const
inline

Definition at line 265 of file G4VDecayChannel.hh.

References parent_name.

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

+ Here is the caller graph for this function:

const G4ThreeVector & G4VDecayChannel::GetPolarization ( ) const
inline

Definition at line 318 of file G4VDecayChannel.hh.

References parent_polarization.

G4double G4VDecayChannel::GetRangeMass ( ) const
inline

Definition at line 306 of file G4VDecayChannel.hh.

References rangeMass.

G4int G4VDecayChannel::GetVerboseLevel ( ) const
inline
G4bool G4VDecayChannel::IsOKWithParentMass ( G4double  parentMass)
virtual

Reimplemented in G4PhaseSpaceDecayChannel.

Definition at line 586 of file G4VDecayChannel.cc.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 77 of file G4VDecayChannel.hh.

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

Definition at line 206 of file G4VDecayChannel.hh.

References rbranch.

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

Definition 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:

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

Definition at line 76 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 269 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 G4String particle_name)
inline

Definition at line 277 of file G4VDecayChannel.hh.

References G4MT_parent, and parent_name.

void G4VDecayChannel::SetPolarization ( const G4ThreeVector polar)
inline

Definition at line 312 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 309 of file G4VDecayChannel.hh.

References rangeMass.

void G4VDecayChannel::SetVerboseLevel ( G4int  value)
inline

Definition at line 300 of file G4VDecayChannel.hh.

References verboseLevel.

Referenced by G4Decay::DecayIt().

+ Here is the caller graph for this function:

Member Data Documentation

G4Mutex G4VDecayChannel::daughtersMutex
protected
G4double G4VDecayChannel::G4MT_parent_mass
protected
const G4String G4VDecayChannel::noName = " "
staticprotected

Definition at line 190 of file G4VDecayChannel.hh.

Referenced by GetNoName().

G4Mutex G4VDecayChannel::parentMutex
protected
G4ParticleTable* G4VDecayChannel::particletable
protected

Definition at line 182 of file G4VDecayChannel.hh.

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


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