Go to the source code of this file.
int QA_LMD |
( |
const int |
nEvents = 1000 , |
|
|
const int |
startEvent = 0 , |
|
|
TString |
storePath = "" , |
|
|
const int |
verboseLevel = 0 |
|
) |
| |
Definition at line 5 of file QA/lmd/QA_LMD.C.
References CloseGeoManager(), ctime, DigiFile, Double_t, fRun, PndLmdQATask::Init(), MCFile, nEvents, parFile, parInput1, rtdb, rtime, startEvent, storePath, timer, TString, and verboseLevel.
36 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
37 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
38 std::cout <<
"RecoFile: " << GeaFile.Data()<< std::endl;
46 FairRunAna *
fRun=
new FairRunAna();
47 fRun->SetInputFile(GeaFile);
48 fRun->AddFriend(DigiFile);
49 fRun->AddFriend(MCFile);
50 fRun->SetOutputFile(DumFile);
53 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
54 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
55 parInput1->open(parFile.Data(),
"UPDATE");
56 rtdb->setFirstInput(parInput1);
58 PndLmdQATask* lmdqa =
new PndLmdQATask(
"LMDPoint",
"MCTrack",
"LMDPixelClusterCand",
"LMDPixelDigis",
"LMDHitsMerged",
"LMDTrackCand",
"LMDPndTrackFilt",
"GeaneTrackFinal",OutFile);
61 fRun->SetGenerateRunInfo(kFALSE);
71 cout <<
"Macro finished succesfully." << endl;
72 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
75 cout <<
" Test passed" << endl;
76 cout <<
" All ok " << endl;
FairParRootFileIo * parInput1
virtual InitStatus Init()