1#ifndef A01_MC_APPLICATION_H
2#define A01_MC_APPLICATION_H
20#include "TMCVerbose.h"
21#include <TGeoUniformMagField.h>
22#include <TVirtualMCApplication.h>
50 void InitMC(
const char* setup);
51 void RunMC(Int_t nofEvents);
Definition of the A01RootDetectorConstruction class.
The calorimeter sensitive detector.
The EM calorimeter sensitive detector.
The hadron calorimeter sensitive detector.
The calorimeter sensitive detector.
Implementation of the TVirtualMCApplication.
void SetVerboseLevel(Int_t verboseLevel)
void SetWriteHits(Bool_t writeHits)
void RunMC(Int_t nofEvents)
A01HodoscopeSD * fHodoscopeSD2
Hodoscope 2 SD.
A01MagField * fMagField
Magnetic field.
void SetWriteStack(Bool_t writeStack)
virtual void GeneratePrimaries()
A01DriftChamberSD * fDriftChamberSD1
Drift Chamber 1 SD.
A01PrimaryGenerator * GetPrimaryGenerator() const
virtual void BeginPrimary()
Bool_t fIsMaster
If is on master thread.
A01RootDetectorConstruction * fDetConstruction
Detector construction.
A01HodoscopeSD * GetHodoscopeSD2() const
virtual void AddParticles()
virtual ~A01MCApplication()
virtual void FinishRunOnWorker()
virtual void ConstructGeometry()
virtual void FinishEvent()
virtual void FinishPrimary()
A01DriftChamberSD * GetDriftChamberSD2() const
A01DriftChamberSD * fDriftChamberSD2
Drift Chamber 2 SD.
void InitMC(const char *setup)
A01RootDetectorConstruction * GetDetectorConstruction() const
A01HodoscopeSD * GetHodoscopeSD1() const
virtual void InitGeometry()
TMCVerbose fVerbose
VMC verbose helper.
A01HadCalorimeterSD * fHadCalorimeterSD
Had Calorimeter SD.
A01EmCalorimeterSD * GetEmCalorimeterSD() const
Bool_t fWriteStack
Option to write stack.
Bool_t fUseLocalMagField
Option to use local magnetic field (working only with Geant4 !)
Ex03MCStack * fStack
VMC stack.
virtual void BeginEvent()
Bool_t GetUseLocalMagField() const
A01PrimaryGenerator * fPrimaryGenerator
Primary generator.
A01DriftChamberSD * GetDriftChamberSD1() const
void SetUseLocalMagField(Bool_t localMagField)
A01HadCalorimeterSD * GetHadCalorimeterSD() const
virtual void InitOnWorker()
virtual TVirtualMCApplication * CloneForWorker() const
TMCRootManager * fRootManager
Root manager.
void RegisterStack() const
A01EmCalorimeterSD * fEmCalorimeterSD
Em Calorimeter SD.
A01HodoscopeSD * fHodoscopeSD1
Hodoscope 1 SD.
Definition of a uniform magnetic field within a given region.
The detector construction (via TGeo )
Implementation of the TVirtualMCStack interface.