50 Warning(
"TVirtualMC",
"Cannot initialise twice MonteCarlo class");
57 Error(
"TVirtualMC",
"No user MC application is defined.");
R__EXTERN TRandom * gRandom
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 Error(const char *method, const char *msgfmt,...) const
Issue error message.
This is the base class for the ROOT Random number generators.
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.
static TVirtualMC * GetMC()
Static access method.
virtual void SetRandom(TRandom *random)
Set the random number generator.
virtual void SetStack(TVirtualMCStack *stack)
Set the particle stack.
TVirtualMagField * fMagField
Magnetic field.
static TMCThreadLocal TVirtualMC * fgMC
Monte Carlo singleton instance.
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.