Go to the source code of this file.
int runLumi2bHitMerge |
( |
const int |
nEvents = 10 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutput" , |
|
|
const int |
verboseLevel = 5 |
|
) |
| |
Definition at line 1 of file runLumi2bHitMerge.C.
References ctime, Double_t, fRun, PndLmdHitMergeTask::Init(), nEvents, outFile, parFile, parInput1, RecoFile, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
14 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
15 gSystem->Load(
"libSds");
16 gSystem->Load(
"libSdsReco");
17 gSystem->Load(
"libLmd");
18 gSystem->Load(
"libLmdReco");
19 gSystem->Load(
"libLmdTrk");
26 std::cout <<
"RecoFile : " << RecoFile.Data()<< std::endl;
27 std::cout <<
"RecoMergedFile: " << outFile.Data()<< std::endl;
46 FairRunAna *
fRun=
new FairRunAna();
47 fRun->SetInputFile(RecoFile);
48 fRun->SetOutputFile(outFile);
54 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
55 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
56 parInput1->open(parFile.Data(),
"UPDATE");
59 rtdb->setFirstInput(parInput1);
78 fRun->AddTask(lmdmccls);
87 rtdb->setOutput(parInput1);
105 cout << endl << endl;
106 cout <<
"Macro finished succesfully." << endl;
107 cout <<
"Output file is " << outFile << endl;
108 cout <<
"Parameter file is " << parFile << endl;
109 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
virtual InitStatus Init()
FairParRootFileIo * parInput1