16 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
23 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
24 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
25 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
33 FairRunAna *
fRun=
new FairRunAna();
34 fRun->SetInputFile(MCFile);
35 fRun->AddFriend(DigiFile);
36 fRun->SetOutputFile(outFile);
37 fRun->RunWithTimeStamps();
43 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
44 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
45 parInput1->open(parFile.Data(),
"UPDATE");
46 rtdb->setFirstInput(parInput1);
52 fRun->AddTask(mvdmccls);
59 fRun->AddTask(sttFindTracks);
71 rtdb->setOutput(parInput1);
74 cout <<
"Geo Man Debug Output:" << endl <<
gGeoManager << endl;
83 cout <<
"Geo Man Debug Output:" << endl <<
gGeoManager << endl;
95 cout <<
"Macro finished succesfully." << endl;
96 cout <<
"Output file is " << outFile << endl;
97 cout <<
"Parameter file is " << parFile << endl;
98 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
PndMvdStripClusterTask * mvdmccls
TGeoManager * gGeoManager
PndSttTrackFinderReal * sttTrackFinder
A simple class which adds the corresponding file extensions to a given base class.
PndSttFindTracks * sttFindTracks
void SetVerbose(Int_t iVerbose)
FairParRootFileIo * parInput1
PndMvdCreateDefaultApvMap * creator
runReco(Int_t nEvents=500)