Geant4
10.03
|
#include <G4PhaseSpaceDecayChannel.hh>
Public Types | |
enum | { MAX_N_DAUGHTERS =4 } |
Static Public Member Functions | |
static G4double | Pmx (G4double e, G4double p1, G4double p2) |
Private Member Functions | |
G4DecayProducts * | OneBodyDecayIt () |
G4DecayProducts * | TwoBodyDecayIt () |
G4DecayProducts * | ThreeBodyDecayIt () |
G4DecayProducts * | ManyBodyDecayIt () |
Private Attributes | |
G4Cache< G4double > | current_parent_mass |
G4bool | useGivenDaughterMass |
G4double | givenDaughterMasses [MAX_N_DAUGHTERS] |
Additional Inherited Members | |
Protected Member Functions inherited from G4VDecayChannel | |
void | ClearDaughtersName () |
void | CheckAndFillDaughters () |
void | CheckAndFillParent () |
G4VDecayChannel () | |
G4VDecayChannel (const G4VDecayChannel &) | |
G4VDecayChannel & | operator= (const G4VDecayChannel &) |
G4double | DynamicalMass (G4double massPDG, G4double width, G4double maxDev=+1.) const |
Protected Attributes inherited from G4VDecayChannel | |
G4String | kinematics_name |
G4double | rbranch |
G4int | numberOfDaughters |
G4String * | parent_name |
G4String ** | daughters_name |
G4double | rangeMass |
G4ThreeVector | parent_polarization |
G4ParticleTable * | particletable |
G4int | verboseLevel |
G4ParticleDefinition * | G4MT_parent |
G4ParticleDefinition ** | G4MT_daughters |
G4double | G4MT_parent_mass |
G4double * | G4MT_daughters_mass |
G4double * | G4MT_daughters_width |
G4Mutex | daughtersMutex |
G4Mutex | parentMutex |
Static Protected Attributes inherited from G4VDecayChannel | |
static const G4String | noName = " " |
Definition at line 46 of file G4PhaseSpaceDecayChannel.hh.
anonymous enum |
Enumerator | |
---|---|
MAX_N_DAUGHTERS |
Definition at line 49 of file G4PhaseSpaceDecayChannel.hh.
G4PhaseSpaceDecayChannel::G4PhaseSpaceDecayChannel | ( | G4int | Verbose = 1 | ) |
Definition at line 51 of file G4PhaseSpaceDecayChannel.cc.
G4PhaseSpaceDecayChannel::G4PhaseSpaceDecayChannel | ( | const G4String & | theParentName, |
G4double | theBR, | ||
G4int | theNumberOfDaughters, | ||
const G4String & | theDaughterName1, | ||
const G4String & | theDaughterName2 = "" , |
||
const G4String & | theDaughterName3 = "" , |
||
const G4String & | theDaughterName4 = "" |
||
) |
Definition at line 58 of file G4PhaseSpaceDecayChannel.cc.
|
virtual |
Definition at line 78 of file G4PhaseSpaceDecayChannel.cc.
|
virtual |
Implements G4VDecayChannel.
Definition at line 82 of file G4PhaseSpaceDecayChannel.cc.
References G4VDecayChannel::CheckAndFillDaughters(), G4VDecayChannel::CheckAndFillParent(), current_parent_mass, G4VDecayChannel::DumpInfo(), G4cout, G4endl, G4VDecayChannel::G4MT_parent_mass, G4VDecayChannel::GetVerboseLevel(), ManyBodyDecayIt(), G4VDecayChannel::numberOfDaughters, OneBodyDecayIt(), G4VDecayChannel::parent_name, G4Cache< VALTYPE >::Put(), ThreeBodyDecayIt(), and TwoBodyDecayIt().
Reimplemented from G4VDecayChannel.
Definition at line 726 of file G4PhaseSpaceDecayChannel.cc.
References G4VDecayChannel::CheckAndFillDaughters(), G4VDecayChannel::CheckAndFillParent(), givenDaughterMasses, G4VDecayChannel::IsOKWithParentMass(), G4VDecayChannel::numberOfDaughters, and useGivenDaughterMass.
|
private |
Definition at line 454 of file G4PhaseSpaceDecayChannel.cc.
References current_parent_mass, G4VDecayChannel::daughters_name, G4DecayProducts::DumpInfo(), G4cout, G4endl, G4Exception(), G4VDecayChannel::G4MT_daughters, G4VDecayChannel::G4MT_daughters_mass, G4VDecayChannel::G4MT_parent, G4UniformRand, G4Cache< VALTYPE >::Get(), G4DynamicParticle::Get4Momentum(), G4ParticleDefinition::GetParticleName(), G4VDecayChannel::GetVerboseLevel(), GeV, givenDaughterMasses, JustWarning, G4VDecayChannel::numberOfDaughters, G4VDecayChannel::parent_name, Pmx(), G4DecayProducts::PushProducts(), rad, G4DynamicParticle::Set4Momentum(), G4InuclParticleNames::sm, twopi, and useGivenDaughterMass.
Referenced by DecayIt().
|
private |
Definition at line 128 of file G4PhaseSpaceDecayChannel.cc.
References current_parent_mass, G4DecayProducts::DumpInfo(), G4cout, G4endl, G4VDecayChannel::G4MT_daughters, G4VDecayChannel::G4MT_parent, G4Cache< VALTYPE >::Get(), G4VDecayChannel::GetVerboseLevel(), givenDaughterMasses, G4DecayProducts::PushProducts(), G4DynamicParticle::SetMass(), and useGivenDaughterMass.
Referenced by DecayIt().
Definition at line 739 of file G4PhaseSpaceDecayChannel.cc.
Referenced by G4DalitzDecayChannel::DecayIt(), ManyBodyDecayIt(), and TwoBodyDecayIt().
G4bool G4PhaseSpaceDecayChannel::SampleDaughterMasses | ( | ) |
Definition at line 720 of file G4PhaseSpaceDecayChannel.cc.
References useGivenDaughterMass.
Definition at line 711 of file G4PhaseSpaceDecayChannel.cc.
References givenDaughterMasses, G4VDecayChannel::numberOfDaughters, and useGivenDaughterMass.
|
private |
Definition at line 263 of file G4PhaseSpaceDecayChannel.cc.
References current_parent_mass, G4DecayProducts::DumpInfo(), G4VDecayChannel::DynamicalMass(), G4INCL::KinematicsUtils::energy(), G4cout, G4endl, G4Exception(), G4VDecayChannel::G4MT_daughters, G4VDecayChannel::G4MT_daughters_mass, G4VDecayChannel::G4MT_daughters_width, G4VDecayChannel::G4MT_parent, G4UniformRand, G4Cache< VALTYPE >::Get(), G4ParticleDefinition::GetParticleName(), G4VDecayChannel::GetVerboseLevel(), GeV, givenDaughterMasses, JustWarning, G4DecayProducts::PushProducts(), rad, G4VDecayChannel::rangeMass, twopi, and useGivenDaughterMass.
Referenced by DecayIt().
|
private |
Definition at line 158 of file G4PhaseSpaceDecayChannel.cc.
References current_parent_mass, G4DecayProducts::DumpInfo(), G4VDecayChannel::DynamicalMass(), G4cout, G4endl, G4Exception(), G4VDecayChannel::G4MT_daughters, G4VDecayChannel::G4MT_daughters_mass, G4VDecayChannel::G4MT_daughters_width, G4VDecayChannel::G4MT_parent, G4UniformRand, G4Cache< VALTYPE >::Get(), G4ParticleDefinition::GetParticleName(), G4VDecayChannel::GetVerboseLevel(), GeV, givenDaughterMasses, JustWarning, Pmx(), G4DecayProducts::PushProducts(), rad, G4VDecayChannel::rangeMass, twopi, and useGivenDaughterMass.
Referenced by DecayIt().
Definition at line 79 of file G4PhaseSpaceDecayChannel.hh.
Referenced by DecayIt(), ManyBodyDecayIt(), OneBodyDecayIt(), ThreeBodyDecayIt(), and TwoBodyDecayIt().
|
private |
Definition at line 85 of file G4PhaseSpaceDecayChannel.hh.
Referenced by IsOKWithParentMass(), ManyBodyDecayIt(), OneBodyDecayIt(), SetDaughterMasses(), ThreeBodyDecayIt(), and TwoBodyDecayIt().
|
private |
Definition at line 84 of file G4PhaseSpaceDecayChannel.hh.
Referenced by IsOKWithParentMass(), ManyBodyDecayIt(), OneBodyDecayIt(), SampleDaughterMasses(), SetDaughterMasses(), ThreeBodyDecayIt(), and TwoBodyDecayIt().