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