Go to the source code of this file.
Initialize the session
Definition at line 20 of file NHitsPerEvent.C.
22 TFile*
f =
new TFile(
"2014-10-27-00-06-02_50_MHz_Filtered_PosCorrected_Event.root",
"READ");
23 t = (TTree*)f->Get(
"pndsim");
29 t->SetBranchAddress(
"MVDHitsPixelPosCorrected", &
mvdHitArray);
TClonesArray * mvdHitArray
output open |
( |
"../data/mvddpm6GeV_par.root" |
| ) |
|
printf |
( |
" |
RealTime = %f seconds | ) |
|
Definition at line 1 of file outdated/mpiTools/macros/emc/rootlogon.C.
3 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc");
4 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc/EmcDigi");
5 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc/EmcMC");
6 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc/EmcTools");
7 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc/EmcReco");
8 gSystem->AddIncludePath(
"-I$VMCWORKDIR/emc/EmcData");
9 gSystem->AddIncludePath(
"-I$VMCWORKDIR/pnddata");
10 gSystem->AddIncludePath(
"-I$VMCWORKDIR/base");
11 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/basiclibs.C");
14 gSystem->Load(
"libDpmEvtGen.so");
15 gSystem->Load(
"libGeoBase");
16 gSystem->Load(
"libParBase");
17 gSystem->Load(
"libBase");
18 gSystem->Load(
"libTrkBase");
19 gSystem->Load(
"libPndData");
20 gSystem->Load(
"libField");
21 gSystem->Load(
"libPassive");
22 gSystem->Load(
"libGen");
23 gSystem->Load(
"libPGen");
24 gSystem->Load(
"libEmc");
27 gRandom=
new TRandom3(0);
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() | ) |
|
fRun SetStoreTraj |
( |
kFALSE |
| ) |
|
FairModule* Cave = new PndCave("CAVE") |
Definition at line 98 of file macro/detectors/mvd/Ralf/runsim.C.
Referenced by run0AllSysDPMbkg(), run_sim_stt_dpm(), run_sim_sttcombi_dpm(), run_sim_tpc_dpm(), run_sim_tpccombi_dpm(), runGemSim(), runLumi0DPMbkg(), runLumi0DPMbkgSte(), runLumiPixel0SimDPM(), runLumiPixel0SimDPMDirect(), runLumiPixel0SimDPMDirect_all(), runMC_dpm(), runMCsim(), runMvdSim(), runSim(), sim(), sim_LMD(), simfast_dpm(), simfast_dpm_cmp(), and TB_gem_simDPM().
std::string filename = namecreator.GetSimFileName() |
FairRunSim* fRun = new FairRunSim() |
Bool_t kParameterMerged =kTRUE |
FairModule* Pipe = new PndPipe("PIPE") |
FairPrimaryGenerator* primGen = new FairPrimaryGenerator() |
FairRuntimeDb* rtdb =fRun->GetRuntimeDb() |