FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
fRun | SetOutputFile ("dummysim.root") |
fRun | SetMaterials ("media_pnd.geo") |
Cave | SetGeometryFileName ("pndcave.geo") |
fRun | AddModule (Cave) |
fRun | SetGenerator (primGen) |
output | open ("par.root","RECREATE") |
rtdb | setOutput (output) |
fRun | Init () |
fRun | Run (0) |
rtdb | saveOutput () |
rtdb | print () |
Variables | |
FairRunSim * | fRun = new FairRunSim() |
FairModule * | Cave = new PndCave("CAVE") |
FairPrimaryGenerator * | primGen = new FairPrimaryGenerator() |
FairRuntimeDb * | rtdb =fRun->GetRuntimeDb() |
Bool_t | kParameterMerged =kTRUE |
FairParRootFileIo * | output =new FairParRootFileIo(kParameterMerged) |
fRun Init | ( | ) |
Initialize the session
Definition at line 20 of file NHitsPerEvent.C.
References f, gHitPoints, gProjections, h1Sorted, h1Unsorted, h1UnsortedDL, h1UnsortedTL, mg, mvdHitArray, mvdProjectedArray, mvdSorted, mvdUnsorted, t, and trackArray.
output open | ( | "par.root" | , |
"RECREATE" | |||
) |
fRun Run | ( | 0 | ) |
rtdb saveOutput | ( | ) |
Cave SetGeometryFileName | ( | "pndcave.geo" | ) |
fRun SetMaterials | ( | "media_pnd.geo" | ) |
fRun SetOutputFile | ( | "dummysim.root" | ) |
FairModule* Cave = new PndCave("CAVE") |
Definition at line 9 of file tutorials/rtdb/macro/runsim.C.
FairRunSim* fRun = new FairRunSim() |
Definition at line 4 of file tutorials/rtdb/macro/runsim.C.
Bool_t kParameterMerged =kTRUE |
Definition at line 17 of file tutorials/rtdb/macro/runsim.C.
FairParRootFileIo* output =new FairParRootFileIo(kParameterMerged) |
Definition at line 18 of file tutorials/rtdb/macro/runsim.C.
FairPrimaryGenerator* primGen = new FairPrimaryGenerator() |
Definition at line 13 of file tutorials/rtdb/macro/runsim.C.
FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |
Definition at line 16 of file tutorials/rtdb/macro/runsim.C.