13 #ifndef FAIR_MC_APPLICATION_H
14 #define FAIR_MC_APPLICATION_H
19 #include <TLorentzVector.h>
21 #include <TVirtualMCApplication.h>
69 FairMCApplication(
const char* name,
const char* title, TObjArray* ModList,
const char* MatName);
120 void InitMC(
const char* setup,
const char* cuts);
140 void RunMC(Int_t nofEvents);
214 Int_t GetIonPdg(Int_t z, Int_t a)
const;
216 void UndoGeometryModifications();
267 std::multimap<Int_t, FairVolume*>::iterator
fVolIter;
314 Bool_t fGeometryIsInitialized;
virtual void FinishRunOnWorker()
FairMCApplicationState fState
void SetPythiaDecayerConfig(const TString decayerConf)
TRefArray * fActiveDetectors
virtual void AddParticles()
TString fPythiaDecayerConfig
virtual ~FairMCApplication()
virtual void FinishEvent()
void SetPythiaDecayer(Bool_t decayer)
FairEventHeader * fEventHeader
std::map< Int_t, Int_t > fModVolMap
FairRootManager * fRootManager
virtual Double_t TrackingRmax() const
virtual Double_t TrackingZmax() const
virtual void InitGeometry()
void SetRadiationMapReg(Bool_t RadMap)
virtual Bool_t MisalignGeometry()
std::map< Int_t, Int_t >::iterator fModVolIter
FairGenericStack * GetStack()
FairRadGridManager * fRadGridMan
virtual void FinishPrimary()
std::list< FairDetector * > listActiveDetectors
FairDetector * GetDetector(const char *DetName)
virtual void ConstructGeometry()
FairRadLenManager * fRadLenMan
std::multimap< Int_t, FairVolume * > fVolMap
void SetRadiationLengthReg(Bool_t RadLen)
void AddMeshList(TObjArray *meshList)
virtual TVirtualMCApplication * CloneForWorker() const
void SetTrackingDebugMode(Bool_t set)
static FairMCApplication * Instance()
void SetField(FairField *field)
void SetUserDecayConfig(const TString decayerConf)
virtual void ConstructOpGeometry()
std::list< FairDetector * > listDetectors
ClassDef(FairMCApplication, 4)
virtual void GeneratePrimaries()
virtual void AddDecayModes()
FairMCEventHeader * fMCEventHeader
FairMCApplicationState GetState() const
FairPrimaryGenerator * GetGenerator()
virtual void InitOnWorker()
FairPrimaryGenerator * fEvGen
FairGenericStack * fStack
virtual void BeginPrimary()
virtual void BeginEvent()
void AddTask(TTask *fTask)
std::multimap< Int_t, FairVolume * >::iterator fVolIter
void SetSaveCurrentEvent(Bool_t set)
void InitMC(const char *setup, const char *cuts)
void SetGenerator(FairPrimaryGenerator *fxGenerator)
FairTrajFilter * fTrajFilter
void RunMC(Int_t nofEvents)
FairRadMapManager * fRadMapMan
void SetUserDecay(Bool_t decay)