Go to the source code of this file.
runMvdReco |
( |
Int_t |
nEvents = 50 | ) |
|
Definition at line 4 of file TimeOrderedSim/runMvdReco.C.
References creator, ctime, DigiFile, Double_t, fRun, iVerbose, MCFile, mvdmccls, nEvents, outFile, parFile, parInput1, rtdb, rtime, PndBlackBoxTask::SetVerbose(), timer, and TString.
13 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
20 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
21 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
22 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
30 FairRunAna *
fRun=
new FairRunAna();
31 fRun->SetInputFile(MCFile);
32 fRun->AddFriend(DigiFile);
33 fRun->SetOutputFile(outFile);
34 fRun->RunWithTimeStamps();
40 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
41 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
42 parInput1->open(parFile.Data(),
"UPDATE");
43 rtdb->setFirstInput(parInput1);
49 fRun->AddTask(mvdmccls);
60 rtdb->setOutput(parInput1);
79 cout <<
"Macro finished succesfully." << endl;
80 cout <<
"Output file is " << outFile << endl;
81 cout <<
"Parameter file is " << parFile << endl;
82 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