Go to the source code of this file.
Definition at line 2 of file QAmacro_mvd_2.C.
References allDigiFile, CloseGeoManager(), ctime, Double_t, fRun, inFile, iVerbose, mvddigi, mvdmccls, nEvents, outFile, parFile, parInput1, parIo1, printf(), rtdb, rtime, PndBlackBoxTask::SetVerbose(), sysFile, timer, and TString.
4 cout <<
"QA module for the MVD Digitization and Hit Reconstruction." << endl;
15 FairRunAna *
fRun=
new FairRunAna();
16 fRun->SetInputFile(inFile);
17 fRun->SetOutputFile(outFile);
22 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
23 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
24 parInput1->open(parFile.Data());
26 FairParAsciiFileIo*
parIo1 =
new FairParAsciiFileIo();
27 parIo1->open(allDigiFile.Data(),
"in");
29 rtdb->setFirstInput(parInput1);
30 rtdb->setSecondInput(parIo1);
34 fRun->AddTask(mvddigi);
38 fRun->AddTask(mvdmccls);
41 fRun->Run(0, nEvents);
49 printf(
"RealTime=%f seconds, CpuTime=%f seconds\n",rtime,ctime);
51 cout <<
" DigiReco passed" << endl;
52 cout <<
" All ok " << endl;
printf("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime)
PndMvdStripClusterTask * mvdmccls
void SetVerbose(Int_t iVerbose)
FairParRootFileIo * parInput1
FairParAsciiFileIo * parIo1