12 TString parAsciiFile =
"all.par";
27 TString inputGenerator =
"box:type(211,10):p(0.5,1.5):tht(5,90):phi(0,360)";
33 fRun->SetName(SimEngine);
37 fRun->SetStoreTraj(kTRUE);
void Finish()
Final diagnostics.
Bool_t Setup(TString outprefix="")
Initial setup.
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.
FairPrimaryGenerator * primGen
void SetInput(TString par)
Input of the simulation This string can be: a) the name of the dec file for EvtGen, ending w/ .dec b) "dpm" if you want to use dpm c) "ftf" if you want to use ftf d) "box:[...]" if you want to use box.
void AddSimTasks()
Add simulation tasks.
Primary generator with added event filtering capabilities.
FairFilteredPrimaryGenerator * GetFilteredPrimaryGenerator()
Getter for the primary generator, e.g. to configure the event filter.
void SetNumberOfEvents(Int_t par)
Setter of the number of events.
void CreateGeometry()
It switches between different standard geometry volumes.
Class for the master simulation chain.
int sim_complete(Int_t nEvents=100, TString SimEngine="TGeant3", Double_t BeamMomentum=6.231552, TString prefix="evtcomplete")
void SetOptions(TString par)
Setter of the simulation options This string can be: "" -> default settings full setup "day1" -> Set...
void SetGenerator()
Set the event generator.
void SetVerbose(Int_t verbose=12)
Set the level of commenting output.