FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
timer | Start () |
gROOT | Macro ("../Libs.C") |
fRun | SetName ("TGeant4") |
fRun | SetOutputFile (filename.c_str()) |
fRun | SetMaterials ("media_pnd.geo") |
Cave | SetGeometryFileName ("pndcave.geo") |
fRun | AddModule (Cave) |
Pipe | SetGeometryFileName ("pipebeamtarget.geo") |
fRun | AddModule (Pipe) |
Mvd | SetGeometryFileName ("MVD_v1.0_woPassiveTraps.root") |
Mvd | SetVerboseLevel (verboseLevel) |
fRun | AddModule (Mvd) |
fRun | SetGenerator (primGen) |
fBox1 | SetXYZ (0., 0., 0.) |
fBox1 | SetPRange (0.1, 0.5) |
fBox1 | SetThetaRange (0., 180.) |
fBox1 | SetPhiRange (0., 360.) |
fBox1 | SetCosTheta () |
primGen | AddGenerator (fBox1) |
fRun | SetStoreTraj (kFALSE) |
fRun | SetRadLenRegister (kTRUE) |
fRun | Init () |
Mvd | Initialize () |
output | open ("../data/mvdTestGeo1.0_par.root") |
rtdb | setOutput (output) |
rtdb | saveOutput () |
rtdb | print () |
fRun | SetTrackingDebugMode (false) |
fRun | Run (nEvents) |
timer | Stop () |
printf ("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime) | |
Variables | |
gDebug =0 | |
int | verboseLevel = 0 |
Int_t | nEvents = 10000 |
FairRunSim * | fRun = new FairRunSim() |
PndFileNameCreator | namecreator ("../data/mvdTestGeo.root") |
std::string | filename = namecreator.GetSimFileName() |
FairModule * | Cave = new PndCave("CAVE") |
FairModule * | Pipe = new PndPipe("PIPE") |
FairDetector * | Mvd = new PndMvdDetector("MVD", kFALSE) |
FairPrimaryGenerator * | primGen = new FairPrimaryGenerator() |
PndBoxGenerator * | fBox1 = new PndBoxGenerator(0, 1) |
FairRuntimeDb * | rtdb =fRun->GetRuntimeDb() |
Bool_t | kParameterMerged =kTRUE |
FairParRootFileIo * | output =new FairParRootFileIo(kParameterMerged) |
Double_t | rtime = timer.RealTime() |
Double_t | ctime = timer.CpuTime() |
fRun Init | ( | ) |
Mvd Initialize | ( | ) |
Referenced by G__CbmPlaneDict_561_0_3(), PndRich::Initialize(), CbmPlane::Initialize(), PndDsk::Initialize(), PndEmcApd::Initialize(), PndDisc::Initialize(), PndFtof::Initialize(), PndEmc::Initialize(), PndGemDetector::Initialize(), PndHypGe::Initialize(), PndMdt::Initialize(), PndSciT::Initialize(), PndStt::Initialize(), PndHyp::Initialize(), PndFts2::Initialize(), PndFts::Initialize(), PndSdsDetector::Initialize(), and PndDrc::Initialize().
gROOT Macro | ( | "../Libs.C" | ) |
output open | ( | "../data/mvdTestGeo1.0_par.root" | ) |
printf | ( | " | RealTime = %f seconds | ) |
rtdb saveOutput | ( | ) |
fBox1 SetCosTheta | ( | ) |
Cave SetGeometryFileName | ( | "pndcave.geo" | ) |
Pipe SetGeometryFileName | ( | "pipebeamtarget.geo" | ) |
Mvd SetGeometryFileName | ( | "MVD_v1.0_woPassiveTraps.root" | ) |
fRun SetMaterials | ( | "media_pnd.geo" | ) |
fRun SetName | ( | "TGeant4" | ) |
fRun SetOutputFile | ( | filename. | c_str() | ) |
fBox1 SetPhiRange | ( | 0. | , |
360. | |||
) |
fBox1 SetPRange | ( | 0. | 1, |
0. | 5 | ||
) |
fRun SetRadLenRegister | ( | kTRUE | ) |
fRun SetStoreTraj | ( | kFALSE | ) |
fBox1 SetThetaRange | ( | 0. | , |
180. | |||
) |
fRun SetTrackingDebugMode | ( | false | ) |
Mvd SetVerboseLevel | ( | verboseLevel | ) |
fBox1 SetXYZ | ( | 0. | , |
0. | , | ||
0. | |||
) |
timer Start | ( | ) |
timer Stop | ( | ) |
FairModule* Cave = new PndCave("CAVE") |
Definition at line 32 of file materialsim.C.
Double_t ctime = timer.CpuTime() |
Definition at line 94 of file materialsim.C.
PndBoxGenerator* fBox1 = new PndBoxGenerator(0, 1) |
Definition at line 59 of file materialsim.C.
std::string filename = namecreator.GetSimFileName() |
Definition at line 21 of file materialsim.C.
FairRunSim* fRun = new FairRunSim() |
Definition at line 10 of file materialsim.C.
gDebug =0 |
Definition at line 4 of file materialsim.C.
Bool_t kParameterMerged =kTRUE |
Definition at line 80 of file materialsim.C.
FairDetector* Mvd = new PndMvdDetector("MVD", kFALSE) |
Definition at line 44 of file materialsim.C.
PndFileNameCreator namecreator("../data/mvdTestGeo.root") |
Int_t nEvents = 10000 |
Definition at line 6 of file materialsim.C.
FairParRootFileIo* output =new FairParRootFileIo(kParameterMerged) |
Definition at line 81 of file materialsim.C.
FairModule* Pipe = new PndPipe("PIPE") |
Definition at line 40 of file materialsim.C.
FairPrimaryGenerator* primGen = new FairPrimaryGenerator() |
Definition at line 56 of file materialsim.C.
FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |
Definition at line 79 of file materialsim.C.
Double_t rtime = timer.RealTime() |
Definition at line 93 of file materialsim.C.
int verboseLevel = 0 |
Definition at line 5 of file materialsim.C.