Geant4  10.01.p03
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)
 

Protected Member Functions

void ClearDaughtersName ()
 
void FillDaughters ()
 
void FillParent ()
 
 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
 
G4ParticleTableparticletable
 
G4int verboseLevel
 
G4ParticleDefinitionG4MT_parent
 
G4ParticleDefinition ** G4MT_daughters
 
G4double G4MT_parent_mass
 
G4doubleG4MT_daughters_mass
 
G4doubleG4MT_daughters_width
 

Static Protected Attributes

static const G4String noName = " "
 

Private Member Functions

const G4StringGetNoName () const
 

Detailed Description

Definition at line 104 of file G4VDecayChannel.hh.

Constructor & Destructor Documentation

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

Definition at line 84 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 104 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 219 of file G4VDecayChannel.cc.

References ClearDaughtersName(), G4MT_daughters_mass, G4MT_daughters_width, and parent_name.

+ Here is the call graph for this function:

G4VDecayChannel::G4VDecayChannel ( )
protected

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

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

+ Here is the call graph for this function:

Member Function Documentation

virtual G4DecayProducts* G4VDecayChannel::DecayIt ( G4double  parentMass = -1.0)
pure virtual
void G4VDecayChannel::DumpInfo ( )

Definition at line 535 of file G4VDecayChannel.cc.

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

Referenced by G4PhaseSpaceDecayChannel::DecayIt(), G4GeneralPhaseSpaceDecay::DecayIt(), G4NuclearDecayChannel::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 556 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::FillParent ( )
protected
G4int G4VDecayChannel::GetAngularMomentum ( )

Definition at line 477 of file G4VDecayChannel.cc.

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

+ Here is the call graph for this function:

G4double G4VDecayChannel::GetBR ( ) const
inline

Definition at line 345 of file G4VDecayChannel.hh.

References rbranch.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4AlphaDecay::DumpInfo(), G4KineticTrack::G4KineticTrack(), G4TextPPReporter::GeneratePropertyTable(), G4HtmlPPReporter::GeneratePropertyTable(), G4DecayTableMessenger::GetCurrentValue(), G4DecayTable::Insert(), and G4RadioactiveDecay::LoadDecayTable().

+ Here is the caller graph for this function:

G4ParticleDefinition * G4VDecayChannel::GetDaughter ( G4int  anIndex)
inline

Definition at line 260 of file G4VDecayChannel.hh.

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

Referenced by G4IonTable::CreateIon(), G4KineticTrack::Decay(), G4KineticTrack::G4KineticTrack(), G4TextPPReporter::GeneratePropertyTable(), G4HtmlPPReporter::GeneratePropertyTable(), 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 290 of file G4VDecayChannel.hh.

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

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

Definition at line 276 of file G4VDecayChannel.hh.

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

Referenced by G4KineticTrack::Decay(), and G4AlphaDecay::DumpInfo().

+ 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 339 of file G4VDecayChannel.hh.

References kinematics_name.

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

+ Here is the caller graph for this function:

const G4String & G4VDecayChannel::GetNoName ( ) const
private

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

References numberOfDaughters.

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

References FillParent(), 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 319 of file G4VDecayChannel.hh.

References G4MT_parent_mass.

const G4String & G4VDecayChannel::GetParentName ( ) const
inline

Definition at line 313 of file G4VDecayChannel.hh.

References parent_name.

Referenced by G4KineticTrack::Decay(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), and G4AlphaDecay::DumpInfo().

+ Here is the caller graph for this function:

G4double G4VDecayChannel::GetRangeMass ( ) const
inline

Definition at line 354 of file G4VDecayChannel.hh.

References rangeMass.

G4int G4VDecayChannel::GetVerboseLevel ( ) const
inline

Definition at line 351 of file G4VDecayChannel.hh.

References verboseLevel.

Referenced by G4NuclearDecayChannel::BetaDecayIt(), G4KL3DecayChannel::DalitzDensity(), G4PhaseSpaceDecayChannel::DecayIt(), G4KL3DecayChannel::DecayIt(), G4NeutronBetaDecayChannel::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4MuonDecayChannel::DecayIt(), G4TauLeptonicDecayChannel::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4PionRadiativeDecayChannel::DecayIt(), G4GeneralPhaseSpaceDecay::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4NuclearDecayChannel::DecayIt(), G4Decay::DecayIt(), FillDaughters(), G4AlphaDecayChannel::G4AlphaDecayChannel(), G4BetaMinusDecayChannel::G4BetaMinusDecayChannel(), G4BetaPlusDecayChannel::G4BetaPlusDecayChannel(), G4GeneralPhaseSpaceDecay::G4GeneralPhaseSpaceDecay(), G4ITDecayChannel::G4ITDecayChannel(), G4KL3DecayChannel::G4KL3DecayChannel(), G4KshellECDecayChannel::G4KshellECDecayChannel(), G4LshellECDecayChannel::G4LshellECDecayChannel(), G4MshellECDecayChannel::G4MshellECDecayChannel(), G4MuonDecayChannel::G4MuonDecayChannel(), G4MuonRadiativeDecayChannelWithSpin::G4MuonRadiativeDecayChannelWithSpin(), G4NeutronBetaDecayChannel::G4NeutronBetaDecayChannel(), G4NuclearDecayChannel::G4NuclearDecayChannel(), G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel(), G4ProtonDecayChannel::G4ProtonDecayChannel(), 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:

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

Definition at line 128 of file G4VDecayChannel.hh.

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

Definition at line 254 of file G4VDecayChannel.hh.

References rbranch.

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

Definition at line 180 of file G4VDecayChannel.cc.

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

+ Here is the call graph for this function:

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

Definition at line 127 of file G4VDecayChannel.hh.

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

Definition at line 323 of file G4VDecayChannel.cc.

References G4ParticleDefinition::GetParticleName().

Referenced by G4TauMinus::Definition(), G4TauPlus::Definition(), G4NuclearDecayChannel::FillDaughterNucleus(), G4AlphaDecay::G4AlphaDecay(), G4DalitzDecayChannel::G4DalitzDecayChannel(), G4MuonDecayChannel::G4MuonDecayChannel(), G4MuonRadiativeDecayChannelWithSpin::G4MuonRadiativeDecayChannelWithSpin(), G4NeutronBetaDecayChannel::G4NeutronBetaDecayChannel(), G4NuclearDecayChannel::G4NuclearDecayChannel(), G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel(), and G4TauLeptonicDecayChannel::G4TauLeptonicDecayChannel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 276 of file G4VDecayChannel.cc.

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

+ Here is the call graph for this function:

void G4VDecayChannel::SetNumberOfDaughters ( G4int  value)

Definition at line 264 of file G4VDecayChannel.cc.

References ClearDaughtersName(), daughters_name, and numberOfDaughters.

Referenced by G4TauMinus::Definition(), G4TauPlus::Definition(), G4AlphaDecay::G4AlphaDecay(), G4DalitzDecayChannel::G4DalitzDecayChannel(), G4MuonDecayChannel::G4MuonDecayChannel(), G4MuonRadiativeDecayChannelWithSpin::G4MuonRadiativeDecayChannelWithSpin(), G4NeutronBetaDecayChannel::G4NeutronBetaDecayChannel(), G4NuclearDecayChannel::G4NuclearDecayChannel(), G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel(), and G4TauLeptonicDecayChannel::G4TauLeptonicDecayChannel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VDecayChannel::SetParent ( const G4ParticleDefinition particle_type)

Definition at line 472 of file G4VDecayChannel.cc.

References G4ParticleDefinition::GetParticleName().

Referenced by G4TauMinus::Definition(), G4TauPlus::Definition(), G4AlphaDecay::G4AlphaDecay(), G4DalitzDecayChannel::G4DalitzDecayChannel(), G4MuonDecayChannel::G4MuonDecayChannel(), G4MuonRadiativeDecayChannelWithSpin::G4MuonRadiativeDecayChannelWithSpin(), G4NeutronBetaDecayChannel::G4NeutronBetaDecayChannel(), G4NuclearDecayChannel::G4NuclearDecayChannel(), G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel(), and G4TauLeptonicDecayChannel::G4TauLeptonicDecayChannel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VDecayChannel::SetParent ( const G4String particle_name)
inline

Definition at line 325 of file G4VDecayChannel.hh.

References G4MT_parent, and parent_name.

void G4VDecayChannel::SetRangeMass ( G4double  val)
inline

Definition at line 357 of file G4VDecayChannel.hh.

References rangeMass.

void G4VDecayChannel::SetVerboseLevel ( G4int  value)
inline

Definition at line 348 of file G4VDecayChannel.hh.

References verboseLevel.

Referenced by G4Decay::DecayIt().

+ Here is the caller graph for this function:

Member Data Documentation

const G4String G4VDecayChannel::noName = " "
staticprotected

Definition at line 236 of file G4VDecayChannel.hh.

Referenced by GetNoName().

G4ParticleTable* G4VDecayChannel::particletable
protected

Definition at line 228 of file G4VDecayChannel.hh.

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


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