24 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
27 gSystem->Load(
"libHyp");
37 FairRunAna *
fRun=
new FairRunAna();
38 fRun->SetInputFile(inFile.Data());
39 fRun->AddFriend(RecoFile);
44 fRun->SetOutputFile(outFile.Data());
50 FairGeane *
Geane =
new FairGeane();
55 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
56 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
57 parInput1->open(parFile.Data());
60 rtdb->setFirstInput(parInput1);
80 fRun->AddTask(DemoPR);
89 fRun->AddTask(DemoKalman);
100 fRun->Run(0,nEvents);
108 cout << endl << endl;
109 cout <<
"Macro finished succesfully." << endl;
110 cout <<
"Output file is " << outFile << endl;
111 cout <<
"Parameter file is " << parFile << endl;
112 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
void SetPersistence(Bool_t opt=kTRUE)
void SetPersistence(Bool_t opt=kTRUE)
PndHypDKalmanTask * DemoKalman
void UseGeane(bool f=true)
PndHypDPatternRecoTask * DemoPR
void AddHitBranch(unsigned int detId, const TString &m)
void WriteHistograms(const TString &filename)
FairParRootFileIo * parInput1
void AddHitBranch(unsigned int detId, const TString &m)