|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| timer | Start () |
| gROOT | LoadMacro ("$VMCWORKDIR/gconfig/basiclibs.C") |
| basiclibs () | |
| gSystem | Load ("libGeoBase") |
| gSystem | Load ("libParBase") |
| gSystem | Load ("libBase") |
| gSystem | Load ("libPndData") |
| gSystem | Load ("libField") |
| gSystem | Load ("libPassive") |
| gSystem | Load ("libGen") |
| gSystem | Load ("libPGen") |
| gSystem | Load ("libMvd") |
| fRun | SetName ("TGeant3") |
| fRun | SetOutputFile ("data/MvdMC_Pid_10k.root") |
| fRun | SetMaterials ("media_pnd.geo") |
| Cave | SetGeometryFileName ("cave.geo") |
| fRun | AddModule (Cave) |
| Mvd | SetGeometryFileName ("MVD14.root") |
| fRun | AddModule (Mvd) |
| fRun | SetGenerator (primGen) |
| fBox1 | SetPRange (0.01, 1.) |
| fBox1 | SetThetaRange (5, 150) |
| fBox1 | SetPhiRange (0., 360) |
| fBox1 | SetCosTheta () |
| primGen | AddGenerator (fBox1) |
| primGen | AddGenerator (fBox2) |
| primGen | AddGenerator (fBox3) |
| fRun | SetStoreTraj (kFALSE) |
| fRun | Init () |
| output | open ("testparams.root") |
| rtdb | setOutput (output) |
| rtdb | saveOutput () |
| rtdb | print () |
| 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() |
| FairModule * | Cave = new PndCave("CAVE") |
| FairDetector * | Mvd = new PndMvdDetector("MVD", kTRUE) |
| FairPrimaryGenerator * | primGen = new FairPrimaryGenerator() |
| FairBoxGenerator * | fBox1 = new FairBoxGenerator(321, 1) |
| FairBoxGenerator * | fBox2 = new FairBoxGenerator(2212, 1) |
| FairBoxGenerator * | fBox3 = new FairBoxGenerator(211, 1) |
| FairRuntimeDb * | rtdb =fRun->GetRuntimeDb() |
| Bool_t | kParameterMerged =kTRUE |
| FairParRootFileIo * | output =new FairParRootFileIo(kParameterMerged) |
| Double_t | rtime = timer.RealTime() |
| Double_t | ctime = timer.CpuTime() |
| basiclibs | ( | ) |
| fRun Init | ( | ) |
| gSystem Load | ( | "libGeoBase" | ) |
| gSystem Load | ( | "libParBase" | ) |
| gSystem Load | ( | "libBase" | ) |
| gSystem Load | ( | "libPndData" | ) |
| gSystem Load | ( | "libField" | ) |
| gSystem Load | ( | "libPassive" | ) |
| gSystem Load | ( | "libGen" | ) |
| gSystem Load | ( | "libPGen" | ) |
| gSystem Load | ( | "libMvd" | ) |
| gROOT LoadMacro | ( | "$VMCWORKDIR/gconfig/basiclibs.C" | ) |
| output open | ( | "testparams.root" | ) |
| printf | ( | " | RealTime = %f seconds | ) |
| rtdb saveOutput | ( | ) |
| fBox1 SetCosTheta | ( | ) |
| Cave SetGeometryFileName | ( | "cave.geo" | ) |
| Mvd SetGeometryFileName | ( | "MVD14.root" | ) |
| fRun SetMaterials | ( | "media_pnd.geo" | ) |
| fRun SetName | ( | "TGeant3" | ) |
| fRun SetOutputFile | ( | "data/MvdMC_Pid_10k.root" | ) |
| fBox1 SetPhiRange | ( | 0. | , |
| 360 | |||
| ) |
| fBox3 SetPRange | ( | 0. | 01, |
| 1. | |||
| ) |
| fRun SetStoreTraj | ( | kFALSE | ) |
| fBox3 SetThetaRange | ( | 5 | , |
| 150 | |||
| ) |
| timer Start | ( | ) |
| timer Stop | ( | ) |
| FairModule* Cave = new PndCave("CAVE") |
Definition at line 50 of file simforpid.C.
| Double_t ctime = timer.CpuTime() |
Definition at line 156 of file simforpid.C.
| FairBoxGenerator* fBox1 = new FairBoxGenerator(321, 1) |
Definition at line 103 of file simforpid.C.
| FairBoxGenerator* fBox2 = new FairBoxGenerator(2212, 1) |
Definition at line 111 of file simforpid.C.
Referenced by sim_BARREL(), sim_BARREL_1000(), and sim_BARREL_1000sep().
| FairBoxGenerator* fBox3 = new FairBoxGenerator(211, 1) |
Definition at line 120 of file simforpid.C.
| FairRunSim* fRun = new FairRunSim() |
Definition at line 30 of file simforpid.C.
| gDebug =0 |
Definition at line 6 of file simforpid.C.
| Bool_t kParameterMerged =kTRUE |
Definition at line 142 of file simforpid.C.
| FairDetector* Mvd = new PndMvdDetector("MVD", kTRUE) |
Definition at line 66 of file simforpid.C.
| Int_t nEvents = 10000 |
Definition at line 8 of file simforpid.C.
| FairParRootFileIo* output =new FairParRootFileIo(kParameterMerged) |
Definition at line 143 of file simforpid.C.
| FairPrimaryGenerator* primGen = new FairPrimaryGenerator() |
Definition at line 99 of file simforpid.C.
| FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |
Definition at line 141 of file simforpid.C.
| Double_t rtime = timer.RealTime() |
Definition at line 155 of file simforpid.C.
| int verboseLevel = 0 |
Definition at line 7 of file simforpid.C.
1.8.5