|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| timer | Start () |
| gROOT | Macro ("$VMCWORKDIR/gconfig/rootlogon.C") |
| gSystem | Load ("libHypGe") |
| fRun | SetName ("TGeant4") |
| fRun | SetOutputFile ("sim_hypGe_BgUrqmd2.root") |
| fRun | SetMaterials ("media_pnd.geo") |
| Cave | SetGeometryFileName ("pndcave.geo") |
| fRun | AddModule (Cave) |
| HypGe | SetPathGeo (nam.Data()) |
| HypGe | SetGeometryFileName ("HPGeCluster.root") |
| fRun | AddModule (HypGe) |
| fRun | SetGenerator (primGen) |
| boxGen | SetPRange (0.007, 0.008) |
| boxGen | SetPhiRange (0., 360.) |
| boxGen | SetThetaRange (120., 180.) |
| boxGen | SetCosTheta () |
| boxGen | SetXYZ (0., 0.,-76.) |
| primGen | AddGenerator (boxGen) |
| fRun | SetStoreTraj (kTRUE) |
| fRun | Init () |
| output | open ("simparams.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 | |
| FairRunSim * | fRun = new FairRunSim() |
| Int_t | nEvents = 2000 |
| TString | inFile ="/d/panda02/urqmd_smm/pbarC_3_GeV.root" |
| FairModule * | Cave = new PndCave("CAVE") |
| PndHypGe * | HypGe = new PndHypGe("HYPGE",kTRUE) |
| TString | nam = gSystem->Getenv("VMCWORKDIR") |
| FairPrimaryGenerator * | primGen = new FairPrimaryGenerator() |
| PndBoxGenerator * | boxGen = new PndBoxGenerator(22, 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 | ( | ) |
| gSystem Load | ( | "libHypGe" | ) |
| gROOT Macro | ( | "$VMCWORKDIR/gconfig/rootlogon.C" | ) |
| output open | ( | "simparams.root" | ) |
| printf | ( | " | RealTime = %f seconds | ) |
| rtdb saveOutput | ( | ) |
| boxGen SetCosTheta | ( | ) |
| Cave SetGeometryFileName | ( | "pndcave.geo" | ) |
| HypGe SetGeometryFileName | ( | "HPGeCluster.root" | ) |
| fRun SetMaterials | ( | "media_pnd.geo" | ) |
| fRun SetName | ( | "TGeant4" | ) |
| fRun SetOutputFile | ( | "sim_hypGe_BgUrqmd2.root" | ) |
| HypGe SetPathGeo | ( | nam. | Data() | ) |
| boxGen SetPhiRange | ( | 0. | , |
| 360. | |||
| ) |
| boxGen SetPRange | ( | 0. | 007, |
| 0. | 008 | ||
| ) |
| fRun SetStoreTraj | ( | kTRUE | ) |
| boxGen SetThetaRange | ( | 120. | , |
| 180. | |||
| ) |
| boxGen SetXYZ | ( | 0. | , |
| 0. | , | ||
| - | 76. | ||
| ) |
| timer Start | ( | ) |
| timer Stop | ( | ) |
| PndBoxGenerator* boxGen = new PndBoxGenerator(22, 1) |
Definition at line 81 of file sim_hypGe.C.
| FairModule* Cave = new PndCave("CAVE") |
Definition at line 43 of file sim_hypGe.C.
| Double_t ctime = timer.CpuTime() |
Definition at line 151 of file sim_hypGe.C.
| FairRunSim* fRun = new FairRunSim() |
Definition at line 14 of file sim_hypGe.C.
| gDebug =0 |
Definition at line 6 of file sim_hypGe.C.
Definition at line 47 of file sim_hypGe.C.
Referenced by PndHypGe::ConstructHPGeGeometry(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_extparameters_urqmd(), sim_hypGe_TestGeo(), and sim_hypGe_TestGeoCableTest().
| TString inFile ="/d/panda02/urqmd_smm/pbarC_3_GeV.root" |
Definition at line 18 of file sim_hypGe.C.
| Bool_t kParameterMerged =kTRUE |
Definition at line 133 of file sim_hypGe.C.
Definition at line 48 of file sim_hypGe.C.
Referenced by CbmPlanePoint::CbmPlanePoint(), PndRich::ProcessHits(), PndEmcApd::ProcessHits(), PndEmc::ProcessHits(), PndHypGe::ProcessHits(), PndHyp::ProcessHits(), PndDrc::ProcessHits(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_extparameters_urqmd(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), and Vec< T >::Vec().
| Int_t nEvents = 2000 |
Definition at line 17 of file sim_hypGe.C.
| FairParRootFileIo* output =new FairParRootFileIo(kParameterMerged) |
Definition at line 136 of file sim_hypGe.C.
| FairPrimaryGenerator* primGen = new FairPrimaryGenerator() |
Definition at line 72 of file sim_hypGe.C.
| FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |
Definition at line 132 of file sim_hypGe.C.
| Double_t rtime = timer.RealTime() |
Definition at line 150 of file sim_hypGe.C.
1.8.5