1#ifndef EX02_MC_APPLICATION_H
2#define EX02_MC_APPLICATION_H
20#include <TVirtualMCApplication.h>
25#include <TMCRootManager.h>
45 void InitMC(
const char* setup);
46 void RunMC(Int_t nofEvents);
Definition of the Ex02DetectorConstruction class.
Definition of the Ex02TrackerSD class.
The detector construction (via TGeo )
Implementation of the TVirtualMCApplication.
virtual void FinishPrimary()
virtual void GeneratePrimaries()
void RegisterStack() const
TVirtualMagField * fMagField
Magnetic field.
void SetOldGeometry(Bool_t oldGeometry=kTRUE)
Bool_t fOldGeometry
Option for geometry definition.
virtual TVirtualMCApplication * CloneForWorker() const
void RunMC(Int_t nofEvents)
virtual void FinishRunOnWorker()
virtual void BeginPrimary()
virtual void InitOnWorker()
TMCRootManager * fRootManager
Root manager.
virtual void FinishEvent()
void InitMC(const char *setup)
virtual void InitGeometry()
Ex02MCStack * fStack
VMC stack.
virtual void ConstructGeometry()
Ex02DetectorConstruction fDetConstruction
Dector construction.
virtual ~Ex02MCApplication()
Ex02TrackerSD * fTrackerSD
Tracker SD.
virtual void BeginEvent()
Implementation of the TVirtualMCStack interface.
The tracker sensitive detector.