18 #include <TObjArray.h>
72 virtual void Run(Int_t NEvents = 0, Int_t NotUsed = 0);
196 void CheckFlukaExec();
237 #endif // FAIRRUNSIM_H
void AddMesh(FairMesh *Mesh)
Bool_t fPythiaDecayer
/** Geometry Model (TGeo or G3)*/
TString fUserConfig
/** radiation grid scoring
FairRunSim(Bool_t isMaster=kTRUE)
void SetRadMapRegister(Bool_t value)
std::function< void()> fSimSetupPostInit
static TMCThreadLocal FairRunSim * fginstance
/** MC Event Header */
void SetField(FairField *field)
Bool_t fRadMap
/** flag for registring radiation length*/
FairMCEventHeader * GetMCEventHeader()
FairMCEventHeader * fMCEvHead
/** Primary Event Generator */
TString MatFname
/** Array of used modules */
Bool_t fUseBeamMom
/** Beam Energy in GeV/c */
Bool_t fImportTGeoToVMC
/** MT mode option (Geant4 only)*/
Bool_t IsImportTGeoToVMC() const
static FairRunSim * Instance()
void SetGenerator(FairPrimaryGenerator *Gen)
FairMCApplication * fApp
/** Internal counter*/
Bool_t fRadLength
/** Macro for decay configuration*/
TObjArray * ListOfModules
/** Array of user defined particles*/
*bool fUseSimSetupPostInitFunction
FairPrimaryGenerator * GetPrimaryGenerator()
TString fPythiaDecayerConfig
/** flag for using Pythia decayer*/
void SetSimSetup(std::function< void()> f)
TObjArray * fParticles
/** Array of user defined ions */
void SetTrackingDebugMode(Bool_t set)
void SetIsMT(Bool_t isMT)
FairPrimaryGenerator * fGen
/** flag for use Beam Energy */
TObjArray * GetUserDefIons()
Bool_t fUserDecay
/** Macro for Pythia decay configuration*/
Bool_t fIsMT
/** Macro for geant cuts*/
TString fUserCuts
/** Macro for geant configuration*/
void SetPythiaDecayer(Bool_t decayer)
FairGenericVMCConfig * fSimulationConfig
ClassDef(FairRunSim, 2)
/** Simulation configuration */
void SetUserDecay(Bool_t decay)
TObjArray * GetListOfModules()
void SetImportTGeoToVMC(Bool_t v)
void SetTrackingDebugMode(Bool_t set)
void SetUserCuts(const TString &Cuts)
Bool_t fStoreTraj
/** Material file name */
void SetGeoModel(char *name)
Bool_t GetStoreTraj() const
void SetMaterials(const char *MatFileName)
TString * fLoaderName
/** Trajectory store flags */
void SetSimSetupPostInit(std::function< void()> f)
Bool_t fRadGrid
/** flag for RadiationMapManager
void SetUserConfig(const TString &Config)
void SetRadLenRegister(Bool_t value)
FairGenericVMCConfig * GetSimulationConfig()
std::function< void()> fSimSetup
/** Allow importing TGeometry to VMC */
void SetUserDecay(const TString &Config)
virtual void Run(Int_t NEvents=0, Int_t NotUsed=0)
void AddModule(FairModule *Mod)
void AddNewIon(FairIon *ion)
TObjArray * fIons
/** Input file name map*/
void SetSimulationConfig(FairGenericVMCConfig *tconf)
void SetRadGridRegister(Bool_t value)
FairField * fField
/** Singleton Instance */
void SetMCEventHeader(FairMCEventHeader *McHeader)
Double_t fBeamMom
/** Main VMC application */
void Config()
Configuration macro for Geant3 VirtualMC.
TObjArray * GetUserDefParticles()
void SetBeamMom(Double_t BeamMom)
void AddNewParticle(FairParticle *Particle)
void SetStoreTraj(Bool_t storeTraj=kTRUE)
*bool fUseSimSetupFunction