11 TString parAsciiFile =
"all.par";
12 TString inputGenerator =
"box_1pi_1GeV_theta10-120";
17 fRun->SetName(SimEngine);
26 FairBoxGenerator*
boxGen =
new FairBoxGenerator(13, 1);
27 boxGen->SetPRange(1.,1.);
28 boxGen->SetPhiRange(0., 360.);
29 boxGen->SetThetaRange(10., 120.);
30 boxGen->SetXYZ(0., 0., 0.);
void Finish()
Final diagnostics.
Bool_t Setup(TString outprefix="")
Initial setup.
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.
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.
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.
FairBoxGenerator * boxGen
sim_complete(Int_t nEvents=2, TString SimEngine="TGeant4", Float_t mom=6.231552)
void SetGenerator()
Set the event generator.