Go to the source code of this file.
Definition at line 4 of file Fit.C.
References ctime, Double_t, fRun, iVerbose, nEvents, rootlogon(), rtime, timer, trackFile, and TString.
8 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
21 TString trkfitFile =
"DESY/TEST/data23NewAliYWell.hit.fit.root";
26 FairRunAna *
fRun =
new FairRunAna();
27 fRun->SetInputFile(trackFile);
29 fRun->SetOutputFile(trkfitFile);
33 fRun->AddTask(linfit);
37 fRun->Run(0, nEvents);
44 cout <<
"Macro finished succesfully." << endl;
45 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;