Go to the source code of this file.
Definition at line 1 of file findtrack.C.
References alpha, Bool_t, ctime, Double_t, eps(), fRun, iVerbose, mom, n, nEvents, rootlogon(), rtime, timer, trackFile, and TString.
5 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
16 TString clustFile =
"reco_G4.root";
21 FairRunAna *
fRun =
new FairRunAna();
22 fRun->SetInputFile(clustFile);
24 fRun->SetOutputFile(trackFile);
32 PndLumiTrackFinder* lumitrackfinder =
new PndLumiTrackFinder(n, mom, eps, alpha, iVerbose, usehough);
33 fRun->AddTask(lumitrackfinder);
37 fRun->Run(0, nEvents);
46 cout <<
"Macro finished succesfully." << endl;
47 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
double eps(TVector3 v1, TVector3 v2)