32 fPythia8->Pythia8()->readString(
"SoftQCD:elastic = on");
61 return (
fPythia8->ImportParticles(particles,
"All"));
69 printf(
"SetForceDecay not yet implemented !\n");
76 printf(
"ForceDecay not yet implemented !\n");
89 return (
fPythia8->Pythia8()->particleData.tau0(pdg) * 3.3333e-12) ;
105 fPythia8->Pythia8()->event.append(pdg, 11, 0, 0, p->
Px(), p->
Py(), p->
Pz(), p->
E(), p->
M());
int Int_t
Signed integer 4 bytes (int).
float Float_t
Float 4 bytes (float).
friend class TClonesArray
Float_t GetPartialBranchingRatio(Int_t ipart) override
Get the partial branching ratio for a particle of type IPART (a PDG code).
void ForceDecay() override
ForceDecay not yet implemented.
TPythia8Decayer()
constructor
void ReadDecayTable() override
to read a decay table (not yet implemented)
void Init() override
Initialize the decayer.
Float_t GetLifetime(Int_t kf) override
return lifetime in seconds of teh particle with PDG number pdg
void AppendParticle(Int_t pdg, TLorentzVector *p)
Append a particle to the stack.
void Decay(Int_t pdg, TLorentzVector *p) override
Decay a single particle.
void ClearEvent()
Clear the event stack.
void SetForceDecay(Int_t type) override
Set forced decay mode.
Int_t ImportParticles(TClonesArray *particles) override
import the decay products into particles array
TPythia8 is an interface class to C++ version of Pythia 8.1 event generators, written by T....