33 fPythia8->Pythia8()->readString(
"SoftQCD:elastic = on");
62 return (
fPythia8->ImportParticles(particles,
"All"));
70 printf(
"SetForceDecay not yet implemented !\n");
77 printf(
"ForceDecay not yet implemented !\n");
90 return (
fPythia8->Pythia8()->particleData.tau0(pdg) * 3.3333e-12) ;
106 fPythia8->Pythia8()->event.append(pdg, 11, 0, 0, p->
Px(), p->
Py(), p->
Pz(), p->
E(), p->
M());
friend class TClonesArray
This class implements the TVirtualMCDecayer interface using TPythia8.
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....