Go to the source code of this file.
runMvdReco |
( |
Int_t |
nEvents = 10 | ) |
|
Definition at line 4 of file runMvdReco.C.
References creator, ctime, DigiFile, Double_t, fRun, iVerbose, MCFile, mvdmccls, nEvents, outFile, parFile, parInput1, rtdb, rtime, PndBlackBoxTask::SetVerbose(), timer, and TString.
12 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
19 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
20 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
21 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
29 FairRunAna *
fRun=
new FairRunAna();
30 fRun->SetInputFile(MCFile);
31 fRun->AddFriend(DigiFile);
32 fRun->SetOutputFile(outFile);
38 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
39 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
40 parInput1->open(parFile.Data(),
"UPDATE");
41 rtdb->setFirstInput(parInput1);
47 fRun->AddTask(mvdmccls);
58 rtdb->setOutput(parInput1);
77 cout <<
"Macro finished succesfully." << endl;
78 cout <<
"Output file is " << outFile << endl;
79 cout <<
"Parameter file is " << parFile << endl;
80 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
PndMvdStripClusterTask * mvdmccls
A simple class which adds the corresponding file extensions to a given base class.
void SetVerbose(Int_t iVerbose)
FairParRootFileIo * parInput1
PndMvdCreateDefaultApvMap * creator