Go to the source code of this file.
Definition at line 2 of file QAmacro_hyp_2.C.
References CloseGeoManager(), ctime, Double_t, fRun, hypirec, inFile, PndHypIdealRecoTask::Init(), iVerbose, nEvents, outFile, parFile, parInput1, printf(), rtdb, rtime, timer, and TString.
4 cout <<
"QA module for the MVD Digitization and Hit Reconstruction." << endl;
16 FairRunAna *
fRun=
new FairRunAna();
17 fRun->SetInputFile(inFile);
18 fRun->SetOutputFile(outFile);
21 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
22 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
23 parInput1->open(parFile.Data());
26 rtdb->setFirstInput(parInput1);
30 hypirec->SetVerbose(iVerbose);
31 fRun->AddTask(hypirec);
35 fRun->Run(0, nEvents);
43 printf(
"RealTime=%f seconds, CpuTime=%f seconds\n",rtime,ctime);
45 cout <<
" DigiReco passed" << endl;
46 cout <<
" All ok " << endl;
printf("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime)
virtual InitStatus Init()
PndHypIdealRecoTask * hypirec
FairParRootFileIo * parInput1