24 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
27 gSystem->Load(
"libtrackrep");
28 gSystem->Load(
"librazhyp");
29 gSystem->Load(
"libHyp");
39 FairRunAna *
fRun=
new FairRunAna();
40 fRun->SetInputFile(inFile.Data());
41 fRun->AddFriend(RecoFile);
46 fRun->SetOutputFile(outFile.Data());
52 FairGeane *
Geane =
new FairGeane();
57 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
58 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
59 parInput1->open(parFile.Data());
62 rtdb->setFirstInput(parInput1);
82 fRun->AddTask(DemoPR);
91 fRun->AddTask(DemoKalman);
102 fRun->Run(0,nEvents);
110 cout << endl << endl;
111 cout <<
"Macro finished succesfully." << endl;
112 cout <<
"Output file is " << outFile << endl;
113 cout <<
"Parameter file is " << parFile << endl;
114 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
void SetPersistence(Bool_t opt=kTRUE)
PndHypDPatternRecoTask * DemoPR
PndHypDKalmanTask * DemoKalman
void SetPersistence(Bool_t opt=kTRUE)
void UseGeane(bool f=true)
FairParRootFileIo * parInput1
void AddHitBranch(unsigned int detId, const TString &m)
void WriteHistograms(const TString &filename)
void AddHitBranch(unsigned int detId, const TString &m)