5 #include "TLorentzVector.h"
6 #include "StarDecayManager.h"
9 class TVirtualMCDecayer;
22 static AgUDecay &instance(){
return sInstance; }
27 instance().SetDecayer( d );
33 enum DiscoveryPolicy_t
39 void SetDiscovery( DiscoveryPolicy_t p ){ mDiscovery = p; }
56 DiscoveryPolicy_t mDiscovery;
59 static std::map<int, int> mParticleStop;
61 double StackParticleForTransport(
const TParticle* particle );
62 bool MayTransport(
const TParticle* particle );
Interface between starsim and virtual decayer (VMC implementation)
Connects VMC to class(es) which handle particle decays.
static void setParticleStop(const int pdgid)
Debug method. Will throw an exception when pdgid is decayed.