11 #ifndef StarEvtGenDecayer__h
12 #define StarEvtGenDecayer__h
16 #include "TVirtualMCDecayer.h"
17 #include "TClonesArray.h"
19 #include "EvtGen/EvtGen.hh"
20 #include "HepMC/GenEvent.h"
31 void Decay(Int_t pdgId, TLorentzVector* p);
35 void SetForceDecay(Int_t type);
43 void ReadDecayTable();
StarEvtGenDecayer(EvtGen *evtGen=NULL)
Class constructor.
Float_t GetPartialBranchingRatio(Int_t ipart)
Return the branching ratio for the spdcified PDG ID.
void SetDecayTable(TString decayTable)
Modify EvtGen behavior.
~StarEvtGenDecayer()
Class destructor.
void ClearEvent()
Clear the event.
void SetVertex(TLorentzVector *r)
Modify initial vertex position.
Int_t ImportParticles(TClonesArray *particles=0)
Returns the decay products in a TClonesArray of TParticle.
void SetDebug(Int_t dbg=1)
Set the debug level.
void Decay(Int_t pdgId, TLorentzVector *p)
Decays the particle specified by PDG id and lorentz vector.
STAR wrapper for EvtGen Decayer.
Float_t GetLifetime(Int_t pdgid)
Return teh lifetime in seconds for the specified particle.
void AppendParticle(Int_t pdgid, TLorentzVector *p=0)
Add a particle with specified PDG ID to the stack.