Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4decayer/G4Pythia6Decayer.hh>
Public Member Functions | |
G4Pythia6Decayer () | |
virtual | ~G4Pythia6Decayer () |
virtual G4DecayProducts * | ImportDecayProducts (const G4Track &track) |
void | ForceDecayType (EDecayType decayType) |
void | SetVerboseLevel (G4int verboseLevel) |
Private Member Functions | |
G4Pythia6Decayer (const G4Pythia6Decayer &right) | |
Not implemented. | |
G4Pythia6Decayer & | operator= (const G4Pythia6Decayer &right) |
Not implemented. | |
G4ParticleDefinition * | GetParticleDefinition (const Pythia6Particle *p, G4bool warn=true) const |
G4DynamicParticle * | CreateDynamicParticle (const Pythia6Particle *p) const |
G4ThreeVector | GetParticlePosition (const Pythia6Particle *particle) const |
G4ThreeVector | GetParticleMomentum (const Pythia6Particle *particle) const |
G4int | CountProducts (G4int channel, G4int particle) |
void | ForceParticleDecay (G4int particle, G4int product, G4int mult) |
void | ForceParticleDecay (G4int particle, G4int *products, G4int *mult, G4int npart) |
void | ForceHadronicD () |
void | ForceOmega () |
void | ForceDecay (EDecayType decayType) |
void | Decay (G4int pdg, const CLHEP::HepLorentzVector &p) |
G4int | ImportParticles (ParticleVector *particles) |
Private Attributes | |
G4Pythia6DecayerMessenger | fMessenger |
command messenger | |
G4int | fVerboseLevel |
verbose level | |
EDecayType | fDecayType |
selected decay type | |
ParticleVector * | fDecayProductsArray |
array of decay products | |
Static Private Attributes | |
static const EDecayType | fgkDefaultDecayType = kAll |
default decay type | |
Pythia6 decayer
Implements the G4VExtDecayer abstract class using the Pythia6 interface. According to TPythia6Decayer class in Root: http://root.cern.ch/ see http://root.cern.ch/root/License.html
Definition at line 60 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 60 of file G4Pythia6Decayer.hh
G4Pythia6Decayer::G4Pythia6Decayer | ( | ) |
Standard constructor
Definition at line 61 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 61 of file G4Pythia6Decayer.cc
References fDecayProductsArray, fDecayType, and ForceDecay().
|
virtual |
Destructor
Definition at line 77 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 77 of file G4Pythia6Decayer.cc
References fDecayProductsArray.
|
private |
Not implemented.
|
private |
Count number of decay products
Definition at line 166 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 166 of file G4Pythia6Decayer.cc
References i, and Pythia6::Instance().
Referenced by ForceParticleDecay().
|
private |
Create G4DynamicParticle.
Definition at line 119 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 119 of file G4Pythia6Decayer.cc
References GetParticleDefinition(), GetParticleMomentum(), and momentum.
Referenced by ImportDecayProducts().
|
private |
Decay a particle of type IDPART (PDG code) and momentum P.
Definition at line 549 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 549 of file G4Pythia6Decayer.cc
References Pythia6::Instance(), and Pythia6::Py1ent().
Referenced by ImportDecayProducts().
|
private |
Force a particle decay mode
Definition at line 342 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 342 of file G4Pythia6Decayer.cc
References fDecayType, ForceHadronicD(), ForceOmega(), ForceParticleDecay(), Pythia6::Instance(), kAll, kBJpsi, kBJpsiDiElectron, kBJpsiDiMuon, kBPsiPrimeDiElectron, kBPsiPrimeDiMuon, kDiElectron, kDiMuon, kHadronicD, kHardMuons, kKaToMu, kMaxDecay, kNoDecay, kNoDecayHeavy, kOmega, kPhiKK, kPiToMu, kSemiElectronic, kSemiMuonic, kWToCharm, kWToCharmToMuon, kWToMuon, kZDiMuon, and Pythia6::SetMSTJ().
Referenced by ForceDecayType(), and G4Pythia6Decayer().
void G4Pythia6Decayer::ForceDecayType | ( | EDecayType | decayType | ) |
Force a given decay type
Definition at line 654 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 654 of file G4Pythia6Decayer.cc
References G4P6DECAYER::decayType, fDecayType, and ForceDecay().
Referenced by P6DExtDecayerPhysics::ConstructProcess(), and G4Pythia6DecayerMessenger::SetNewValue().
|
private |
Force golden D decay modes
Definition at line 245 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 245 of file G4Pythia6Decayer.cc
References channel(), ForceParticleDecay(), Pythia6::GetKFDP(), Pythia6::GetMDCY(), Pythia6::Instance(), Pythia6::Pycomp(), Pythia6::SetMDCY(), and Pythia6::SetMDME().
Referenced by ForceDecay().
|
private |
Force Omega -> Lambda K- Decay
Definition at line 310 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 310 of file G4Pythia6Decayer.cc
References channel(), Pythia6::GetKFDP(), Pythia6::GetMDCY(), Pythia6::Instance(), Pythia6::Pycomp(), Pythia6::SetMDCY(), and Pythia6::SetMDME().
Referenced by ForceDecay().
|
private |
Force decay of particle into products with multiplicity mult
Definition at line 183 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 183 of file G4Pythia6Decayer.cc
References channel(), CountProducts(), Pythia6::GetMDCY(), Pythia6::Instance(), Pythia6::Pycomp(), Pythia6::SetMDCY(), and Pythia6::SetMDME().
Referenced by ForceDecay(), and ForceHadronicD().
|
private |
Force decay of particle into products with multiplicity mult
Definition at line 212 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 212 of file G4Pythia6Decayer.cc
References channel(), CountProducts(), Pythia6::GetMDCY(), i, Pythia6::Instance(), npart(), Pythia6::Pycomp(), Pythia6::SetMDCY(), and Pythia6::SetMDME().
|
private |
Return G4 particle definition for given TParticle
Definition at line 91 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 91 of file G4Pythia6Decayer.cc
References Pythia6Particle::fKF.
Referenced by CreateDynamicParticle().
|
private |
Return particle momentum.
Definition at line 153 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 153 of file G4Pythia6Decayer.cc
References Pythia6Particle::fPx, Pythia6Particle::fPy, Pythia6Particle::fPz, Acts::UnitConstants::GeV, and momentum.
Referenced by CreateDynamicParticle().
|
private |
Return particle vertex position.
Definition at line 140 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 140 of file G4Pythia6Decayer.cc
References Acts::UnitConstants::cm, Pythia6Particle::fVx, Pythia6Particle::fVy, Pythia6Particle::fVz, and position.
|
virtual |
Import decay products
Definition at line 571 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 571 of file G4Pythia6Decayer.cc
References CreateDynamicParticle(), Decay(), fDecayProductsArray, Pythia6Particle::fKF, Pythia6Particle::fKS, fVerboseLevel, Acts::UnitConstants::GeV, i, ImportParticles(), momentum, merge_hashes::p, particle, pdg, and utils::status.
|
private |
Get the decay products into the passed PARTICLES vector
Definition at line 558 of file G4Pythia6Decayer.cc.
View newest version in sPHENIX GitHub at line 558 of file G4Pythia6Decayer.cc
References Pythia6::ImportParticles(), and Pythia6::Instance().
Referenced by ImportDecayProducts().
|
private |
Not implemented.
|
inline |
Definition at line 69 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 69 of file G4Pythia6Decayer.hh
References fVerboseLevel.
Referenced by P6DExtDecayerPhysics::ConstructProcess(), and G4Pythia6DecayerMessenger::SetNewValue().
|
private |
array of decay products
Definition at line 99 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 99 of file G4Pythia6Decayer.hh
Referenced by G4Pythia6Decayer(), ImportDecayProducts(), and ~G4Pythia6Decayer().
|
private |
selected decay type
Definition at line 98 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 98 of file G4Pythia6Decayer.hh
Referenced by ForceDecay(), ForceDecayType(), and G4Pythia6Decayer().
|
staticprivate |
default decay type
Definition at line 94 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 94 of file G4Pythia6Decayer.hh
|
private |
command messenger
Definition at line 96 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 96 of file G4Pythia6Decayer.hh
|
private |
verbose level
Definition at line 97 of file G4Pythia6Decayer.hh.
View newest version in sPHENIX GitHub at line 97 of file G4Pythia6Decayer.hh
Referenced by ImportDecayProducts(), and SetVerboseLevel().