50 Warning(
"TVirtualMC",
"Cannot initialise twice MonteCarlo class");
57 Error(
"TVirtualMC",
"No user MC application is defined.");
static TMCThreadLocal TVirtualMC * fgMC
Monte Carlo singleton instance.
TVirtualMCStack * fStack
Particles stack.
TRandom * fRandom
Random number generator.
TVirtualMCDecayer * fDecayer
External decayer.
Abstract base class for particle decays.
virtual ~TVirtualMC()
Destructor.
TVirtualMC()
Default constructor.
This is the base class for the ROOT Random number generators.
The TNamed class is the base class for all named ROOT classes.
TVirtualMCApplication * fApplication
User MC application.
TVirtualMagField * fMagField
Magnetic field.
Interface to a user defined particles stack.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
R__EXTERN TRandom * gRandom
virtual void SetMagField(TVirtualMagField *field)
Set the magnetic field.
Abstract Monte Carlo interface.
virtual void SetRandom(TRandom *random)
Set the random number generator.
Abstract class for magnetic field.
virtual void SetExternalDecayer(TVirtualMCDecayer *decayer)
Set the external decayer.
virtual void SetStack(TVirtualMCStack *stack)
Set the particle stack.
static TVirtualMCApplication * Instance()
Static access method.
static TVirtualMC * GetMC()
Static access method.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.