Go to the source code of this file.
int runGemSmearing |
( |
Int_t |
nEvents = 10 , |
|
|
int |
verboseLevel = 0 |
|
) |
| |
Definition at line 1 of file runGemSmearing.C.
References ctime, Double_t, fRun, PndGemSmearingTask::Init(), MCFile, mvdirec, nEvents, outFile, parFile, parInput1, rtdb, rtime, timer, TString, and verboseLevel.
18 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
26 FairRunAna *
fRun=
new FairRunAna();
27 fRun->SetInputFile(MCFile);
28 fRun->SetOutputFile(outFile);
32 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
33 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
34 parInput1->open(parFile.Data());
39 rtdb->setFirstInput(parInput1);
47 fRun->AddTask(mvdirec);
60 cout <<
"Macro finished succesfully." << endl;
61 cout <<
"Output file is " << outFile << endl;
62 cout <<
"Parameter file is " << parFile << endl;
63 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
FairParRootFileIo * parInput1
PndHypIdealRecoTask * mvdirec
virtual InitStatus Init()