Go to the source code of this file.
fRun BGWindowWidthTime |
( |
100 |
, |
|
|
1 |
|
|
) |
| |
each ~100 ns background 1 entry from signal chain 1 will be read
fRun BGWindowWidthTime |
( |
60 |
, |
|
|
2 |
|
|
) |
| |
each ~60 ns background 1 entry from signal chain 2 will be read
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
parIo1 open |
( |
allDigiFile. |
Data(), |
|
|
"in" |
|
|
) |
| |
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);
fRun SetBackgroundFile |
( |
"sim_stt_bg.root" |
| ) |
|
fRun SetEventMeanTime |
( |
10 |
| ) |
|
Chained files can be added using fRun->AddBackgroundFile(TString name ) or for signal files fRun->AddSignalFile(TString name, UInt_t identifier ) identifier=1 will add to chain 1for each ~20 entries background 1 entry from signal chain 1 will be read for each ~30 entries background 1 entry from signal chain 2 will be read Set the event mean time, event time will be a random number generated from (1/T)exp(-x/T)
fRun SetSignalFile |
( |
"sim_stt_s1.root" |
, |
|
|
1 |
|
|
) |
| |
fRun SetSignalFile |
( |
"sim_stt_s2.root" |
, |
|
|
2 |
|
|
) |
| |
FairRunAna* fRun = new FairRunAna() |
TString outFile = "mixed_digi_stt.root" |
TString parFile = "simparams_stt.root" |
FairParRootFileIo* parInput1 = new FairParRootFileIo() |
FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo() |
FairRuntimeDb* rtdb = fRun->GetRuntimeDb() |