11 TString parAsciiFile =
"all.par";
13 TString prefix =
"radLength_geantinos";
15 TString inputGenerator =
"PndFixStepParticleGun";
22 fRun->SetName(SimEngine);
26 fRun->SetStoreTraj(kTRUE);
27 fRun->SetRadLenRegister(kTRUE);
33 Cave->SetGeometryFileName(
"pndcave.geo");
34 fRun->AddModule(Cave);
42 Dipole->SetGeometryFileName(
"dipole.geo");
43 fRun->AddModule(Dipole);
46 Pipe->SetGeometryFileName(
"beampipe_201309.root");
47 fRun->AddModule(Pipe);
49 FairDetector *
Stt=
new PndStt(
"STT", kTRUE);
51 Stt->SetGeometryFileName(
"straws_skewed_blocks_35cm_pipe.geo");
55 Mvd->SetGeometryFileName(
"Mvd-2.1_FullVersion.root");
59 Gem->SetGeometryFileName(
"gem_3Stations_realistic_v2.root");
67 FairDetector *SciT =
new PndSciT(
"SCIT",kTRUE);
68 SciT->SetGeometryFileName(
"SciTil_201601.root");
69 fRun->AddModule(SciT);
72 Drc->SetGeometryFileName(
"dirc_e3_b3_l6_m40.root");
91 FairDetector *
Fts=
new PndFts(
"FTS", kTRUE);
92 Fts->SetGeometryFileName(
"fts.geo");
96 FTof->SetGeometryFileName(
"ftofwall.root");
97 fRun->AddModule(FTof);
100 Rich->SetGeometryFileName(
"rich_v313.root");
101 fRun->AddModule(Rich);
113 std::cout <<
"******* NEvents() " << nEvents <<
" **********" << std::endl;
void SetForward(TString name)
void Finish()
Final diagnostics.
void SetPhiRange(Double32_t phimin=0, Double32_t phimax=360, Double32_t phistep=1)
void SetThetaRange(Double32_t thetamin=0, Double32_t thetamax=90, Double32_t thetastep=1)
void SetMdtCoil(bool opt=false)
void SetPRange(Double32_t pmin=0, Double32_t pmax=10, Double32_t pstep=1)
Bool_t Setup(TString outprefix="")
Initial setup.
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.
void SetMdtMFIron(bool opt=false)
void SetStorageOfData(Bool_t val)
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.
void SetMdtMagnet(bool opt=false)
Primary generator with added event filtering capabilities.
void SetStoreTrackPoints(Bool_t storeTrackPoints)
FairFilteredPrimaryGenerator * GetFilteredPrimaryGenerator()
Getter for the primary generator, e.g. to configure the event filter.
void SetStoreCerenkovs(Bool_t storeCerenkovs)
virtual void SetGeometryVersion(const Int_t GeoNumber)
void SetBarrel(TString name)
void SetNumberOfEvents(Int_t par)
Setter of the number of events.
Class for the master simulation chain.
void SetDebug(Bool_t debug=0)
void SetEndcap(TString name)
void SetMuonFilter(TString name)
void SetRunCherenkov(Bool_t ch)
void SetPDGType(Int_t pdg)
void SetGenerator()
Set the event generator.
void SetVerbose(Int_t verbose=12)
Set the level of commenting output.