14 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
21 std::cout <<
"MCFile : " << MCFile.Data()<< std::endl;
22 std::cout <<
"DigiFile: " << DigiFile.Data()<< std::endl;
23 std::cout <<
"RecoFile: " << outFile.Data()<< std::endl;
42 FairRunAna *
fRun=
new FairRunAna();
43 fRun->SetInputFile(DigiFile);
44 fRun->AddFriend(MCFile);
45 fRun->SetOutputFile(outFile);
51 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
52 FairParRootFileIo*
parInput1 =
new FairParRootFileIo(kTRUE);
53 parInput1->open(parFile.Data(),
"UPDATE");
56 rtdb->setFirstInput(parInput1);
75 mvdmccls->SetVerbose(iVerbose);
76 fRun->AddTask(mvdmccls);
79 mvdClusterizer->SetVerbose(iVerbose);
80 fRun->AddTask(mvdClusterizer);
106 PndTpcClusterFinderTask*
tpcCF =
new PndTpcClusterFinderTask();
107 tpcCF->SetPersistence();
108 tpcCF->timeslice(20);
109 fRun->AddTask(tpcCF);
114 rtdb->setOutput(parInput1);
123 fRun->Run(0,nEvents);
132 cout << endl << endl;
133 cout <<
"Macro finished succesfully." << endl;
134 cout <<
"Output file is " << outFile << endl;
135 cout <<
"Parameter file is " << parFile << endl;
136 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
PndMvdPixelClusterTask * mvdClusterizer
PndMvdStripClusterTask * mvdmccls
A simple class which adds the corresponding file extensions to a given base class.
FairParRootFileIo * parInput1
PndMvdCreateDefaultApvMap * creator
PndTpcClusterFinderTask * tpcCF