27 #include "FairRunSim.h" 28 #include "FairRuntimeDb.h" 31 #include "TStopwatch.h" 38 class FairBoxGenerator;
61 virtual Bool_t
Setup(TString outprefix =
"");
281 void GetCoords(TString par,
double &X,
double &Y,
double &Z);
TString fInput
Name of the input for the simulation.
void SetInputDir(TString par)
Input directory of the simulation.
Int_t fFtfFlag
Flag for FTF event generator.
void GetCoords(TString par, double &X, double &Y, double &Z)
void Finish()
Final diagnostics.
void CreateGeometryDefault()
It creates all the standard geometry volumes.
Int_t fNEvents
Number of events.
virtual ~PndMasterRunSim()
Default destructor.
virtual void DefineParticles()
virtual void AddSimTasks()
Add simulation tasks.
PndFilteredPrimaryGenerator * GetPndFilteredPrimaryGenerator()
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
void UseEvtGenGenerator(TString EvtGenFile)
Use EvtGen as event generator.
Short_t fTargetMode
Target mode.
void UsePythia8Generator(TString py8Data)
Use Pythia8 as event generator.
void UseDpmGenerator()
Use DPM as event generator.
TString fOptions
Options parsed to the simulation.
Int_t fEventCounterRate
After how many events the counter will print.
void AddGenerator(FairGenerator *aGen)
Add a generator to existing setup.
virtual void SetupTargetMode()
void SetInput(TString par)
Input of the simulation.
virtual Bool_t Setup(TString outprefix="")
Initial setup.
void UseAsciiGenerator(TString AsciiFile)
Primary generator with added event filtering capabilities.
void SetParamRootFile(TString par)
Setter of the parameter root file.
FairFilteredPrimaryGenerator * GetFilteredPrimaryGenerator()
Getter for the primary generator, e.g. to configure the event filter.
void UsePiPiGenerator(TString pipiConfig)
Use PiPiGenerator as event generator.
Primary generator with added event filtering capabilities.
void SetTargetMode(Short_t par)
Setter of the target mode.
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
void SetNumberOfEvents(Int_t par)
Setter of the number of events.
Class for the master simulation chain.
void UseFtfGenerator(TString ftfData)
Use FTF as event generator.
TString fParamRootFile
Name of the parameter root file.
void SetEventCounterRate(Int_t par)
Setter of the event counter rate.
void GetRange(TString par, double &min, double &max)
PndMasterRunSim()
Default constructor.
void UseBoxGenerator(TString BoxConfig)
Use BoxGen as event generator.
void SetOptions(TString par)
Setter of the simulation options.
FairRuntimeDb * fRtdb
Runtime DB.
void SetFtfFlag(Int_t Mode)
Set the FTF noelastic flag.
TString fOutFile
Name of the output file.
void SetGenerator()
Set the event generator.
TString fInputDir
Name of the input directory for the simulation.
TString fParamAsciiFile
Name of the parameter ascii file.
virtual void SetOutputFile(TString outprefix)
void CreatePrimGen()
Check and create primary generator.
void UseLepLepGenerator(TString leplepConfig)
Use LepLepGenerator as event generator.
void SetDpmFlag(Int_t Mode)
Set the DPM flag.
virtual void CreateGeometry()
It switches between different standard geometry volumes.
Int_t fDpmFlag
Flag for DPM event generator.