1 #ifndef __StarPythia8Decayer_h__
2 #define __StarPythia8Decayer_h__
4 #include "TVirtualMCDecayer.h"
5 #include "TClonesArray.h"
17 void Decay(
int pdg, TLorentzVector *p=0 );
21 void SetForceDecay(
int type );
29 void ReadDecayTable();
39 void Set(
const char *cmd ){ mPythia->readString(cmd); }
float GetPartialBranchingRatio(int pdgid)
Return the branching ratio for the spdcified PDG ID.
~StarPythia8Decayer()
Class destructor.
int ImportParticles(TClonesArray *array=0)
Returns the decay products in a TClonesArray of TParticle.
void Init()
Initializes the decayer.
StarPythia8Decayer()
Class constructor.
void AppendParticle(int pdgid, TLorentzVector *p=0)
Add a particle with specified PDG ID to the stack.
void SetDebug(int dbg=1)
Set the debug level.
void ClearEvent()
Clear the event.
float GetLifetime(int pdgid)
Return teh lifetime in seconds for the specified particle.
void Set(const char *cmd)
Modify pythia8 behavior.
void Decay(int pdg, TLorentzVector *p=0)
Decays the particle specified by PDG id and lorentz vector.