Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4VDecayChannel Class Referenceabstract
Inheritance diagram for G4VDecayChannel:
G4DalitzDecayChannel G4GeneralPhaseSpaceDecay G4KL3DecayChannel G4MuonDecayChannel G4MuonRadiativeDecayChannelWithSpin G4NeutronBetaDecayChannel G4NuclearDecay G4PhaseSpaceDecayChannel G4PionRadiativeDecayChannel G4TauLeptonicDecayChannel

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
 

Constructor & Destructor Documentation

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 ( )
virtual
G4VDecayChannel ( )
protected

Member Function Documentation

G4int operator== ( const G4VDecayChannel right) const
G4int operator!= ( const G4VDecayChannel right) const
G4int operator< ( const G4VDecayChannel right) const

References rbranch.

const G4String & GetKinematicsName ( ) const

References kinematics_name.

G4double GetBR ( ) const

References rbranch.

G4int GetNumberOfDaughters ( ) const

References numberOfDaughters.

G4ParticleDefinition * GetParent ( )
G4int GetAngularMomentum ( )
const G4String & GetParentName ( ) const

References parent_name.

const G4String & GetDaughterName ( G4int  anIndex) const
G4double GetParentMass ( ) const

References G4MT_parent_mass.

G4double GetDaughterMass ( G4int  anIndex) const
void SetParent ( const G4ParticleDefinition particle_type)
void SetParent ( const G4String particle_name)

References G4MT_parent, and parent_name.

void SetBR ( G4double  value)

References rbranch.

void SetNumberOfDaughters ( G4int  value)
void SetDaughter ( G4int  anIndex,
const G4ParticleDefinition particle_type 
)
void SetDaughter ( G4int  anIndex,
const G4String particle_name 
)
void SetVerboseLevel ( G4int  value)

References verboseLevel.

G4int GetVerboseLevel ( ) const

References verboseLevel.

void DumpInfo ( )
G4double GetRangeMass ( ) const

References rangeMass.

void SetRangeMass ( G4double  val)

References rangeMass.

virtual G4bool IsOKWithParentMass ( G4double  parentMass)
virtual

Reimplemented in G4PhaseSpaceDecayChannel.

void SetPolarization ( const G4ThreeVector polar)

References parent_polarization.

const G4ThreeVector & GetPolarization ( ) const

References parent_polarization.

void ClearDaughtersName ( )
protected
void CheckAndFillDaughters ( )
protected
void CheckAndFillParent ( )
protected
void FillDaughters ( )
private

Referenced by CheckAndFillDaughters().

void FillParent ( )
private

Referenced by CheckAndFillParent().

G4VDecayChannel& operator= ( const G4VDecayChannel )
protected
const G4String& GetNoName ( ) const
private

Referenced by GetDaughterName().

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

Member Data Documentation

G4String kinematics_name
protected

Referenced by GetKinematicsName().

G4double rbranch
protected

Referenced by GetBR(), operator<(), and SetBR().

G4int numberOfDaughters
protected
G4String* parent_name
protected

Referenced by GetParentName(), and SetParent().

G4String** daughters_name
protected

Referenced by GetDaughterName().

G4double rangeMass
protected

Referenced by GetRangeMass(), and SetRangeMass().

G4ThreeVector parent_polarization
protected

Referenced by GetPolarization(), and SetPolarization().

G4ParticleTable* particletable
protected
const G4String noName
staticprotected
G4ParticleDefinition* G4MT_parent
protected
G4ParticleDefinition** G4MT_daughters
protected
G4double G4MT_parent_mass
protected

Referenced by GetParentMass().

G4double* G4MT_daughters_mass
protected

Referenced by GetDaughterMass().

G4double* G4MT_daughters_width
protected
G4Mutex daughtersMutex
protected

Referenced by CheckAndFillDaughters().

G4Mutex parentMutex
protected

Referenced by CheckAndFillParent().