1#ifndef EX01_MC_APPLICATION_H
2#define EX01_MC_APPLICATION_H
20#include <TVirtualMCApplication.h>
21#include <TVirtualMCStack.h>
42 void InitMC(
const char* setup);
43 void RunMC(Int_t nofEvents);
Implementation of the TVirtualMCApplication.
Int_t fImedAl
The Aluminium medium Id.
static Ex01MCApplication * Instance()
virtual void BeginPrimary()
virtual void InitGeometry()
void TestVMCGeometryGetters()
virtual void InitOnWorker()
Int_t fImedAr
The Argon gas medium Id.
Int_t fImedPb
The Lead medium Id.
virtual TVirtualMCApplication * CloneForWorker() const
virtual void ConstructGeometry()
virtual void FinishEvent()
TVirtualMCStack * fStack
The VMC stack.
void ConstructMaterials()
virtual void FinishPrimary()
virtual void BeginEvent()
TVirtualMagField * fMagField
The magnetic field.
void InitMC(const char *setup)
void RunMC(Int_t nofEvents)
Bool_t fOldGeometry
Option for geometry definition.
virtual ~Ex01MCApplication()
virtual void GeneratePrimaries()
void SetOldGeometry(Bool_t oldGeometry=kTRUE)