Go to the source code of this file.
int runLumi7QA |
( |
const int |
nEvents = 100000 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "tmpOutnewDesign" , |
|
|
const int |
verboseLevel = 5 |
|
) |
| |
Definition at line 1 of file runLumi7QA.C.
References ctime, DigiFile, Double_t, fRun, PndLmdQATask::Init(), MCFile, nEvents, parFile, parInput1, RecoFile, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
45 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
47 gSystem->Load(
"libSds");
48 gSystem->Load(
"libSdsReco");
49 gSystem->Load(
"libLmd");
50 gSystem->Load(
"libLmdReco");
51 gSystem->Load(
"libLmdTrk");
52 gSystem->Load(
"libLmdTool");
55 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
56 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
57 std::cout <<
"RecoFile: " << RecoFile.Data()<< std::endl;
58 std::cout <<
"TCandFile: " << CandFile.Data()<< std::endl;
59 std::cout <<
"TrackFile: " << TrkFile.Data()<< std::endl;
60 std::cout <<
"GeaneFile: " << GeaFile.Data()<< std::endl;
68 FairRunAna *
fRun=
new FairRunAna();
69 fRun->SetInputFile(GeaFile);
70 fRun->AddFriend(TrkFile);
71 fRun->AddFriend(CandFile);
72 fRun->AddFriend(RecoFile);
73 fRun->AddFriend(DigiFile);
74 fRun->AddFriend(MCFile);
76 fRun->SetOutputFile(DumFile);
79 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
80 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
81 parInput1->open(parFile.Data(),
"UPDATE");
82 rtdb->setFirstInput(parInput1);
100 cout <<
"Macro finished succesfully." << endl;
101 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
FairParRootFileIo * parInput1
virtual InitStatus Init()