39 :
TNamed(
name, title), fApplication(nullptr), fId(0), fStack(nullptr), fManagerStack(nullptr), fDecayer(nullptr),
40 fRandom(nullptr), fMagField(nullptr)
47 ::Fatal(
"TVirtualMC::TVirtualMC",
"No user MC application is defined.");
59 :
TNamed(), fApplication(nullptr), fId(0), fStack(nullptr), fManagerStack(nullptr), fDecayer(nullptr),
60 fRandom(nullptr), fMagField(nullptr)
136 Warning(
"ProcessEvent",
"Not implemented.");
156 Warning(
"StepNumber",
"Not implemented.");
167 Warning(
"Weight",
"Not implemented.");
178 Warning(
"Polarization",
"Not implemented.");
191 Warning(
"Polarization",
"Not implemented.");
227 const char *interruptibleText = isInterruptible ?
"interruptible" :
"non-interruptible";
228 Warning(
"ProcessInterruptibleEvent",
"Process %s event %i. Not implemented.", interruptibleText, eventId);
239 Warning(
"InterruptTrack",
"Not implemented.");
R__EXTERN TRandom * gRandom
Concrete implementation of particles stack used by the TMCManager.
The TNamed class is the base class for all named ROOT classes.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
This is the base class for the ROOT Random number generators.
TVector3 is a general three vector class, which can be used for the description of different vectors ...
void Register(TVirtualMC *mc)
Register the an engine.
static TVirtualMCApplication * Instance()
Static access method.
Abstract base class for particle decays.
Interface to a user defined particles stack.
Abstract Monte Carlo interface.
TVirtualMC()
Default constructor.
TRandom * fRandom
Random number generator.
virtual void TrackPolarization(Double_t &polX, Double_t &polY, Double_t &polZ) const
Get the current polarization.
virtual Int_t StepNumber() const
Return the current step number.
virtual void InterruptTrack()
That triggers stopping the transport of the current track without dispatching to common routines like...
static TVirtualMC * GetMC()
Static access method.
TMCManagerStack * fManagerStack
Stack handled by the TMCManager.
virtual void ProcessEvent()
Process one event (backward-compatibility)
virtual void SetRandom(TRandom *random)
Set the random number generator.
void SetId(UInt_t id)
Set the VMC id.
Int_t fId
Unique identification of this VMC.
virtual void SetStack(TVirtualMCStack *stack)
Set the particle stack.
void SetManagerStack(TMCManagerStack *stack)
Set container holding additional information for transported TParticles.
virtual Double_t TrackWeight() const
Get the current weight.
TVirtualMagField * fMagField
Magnetic field.
static TMCThreadLocal TVirtualMC * fgMC
Static TVirtualMC pointer.
TVirtualMCApplication * fApplication
User MC application.
virtual void SetExternalDecayer(TVirtualMCDecayer *decayer)
Set the external decayer.
virtual void SetMagField(TVirtualMagField *field)
Set the magnetic field.
virtual ~TVirtualMC()
Destructor.
TVirtualMCStack * fStack
Particles stack.
TVirtualMCDecayer * fDecayer
External decayer.
Abstract class for magnetic field.