Go to the source code of this file.
Definition at line 5 of file SmartAli.C.
References ctime, Double_t, fRun, iVerbose, nEvents, p, TtAliTask::PrintMeanResiduals(), TtAliTask::PrintVal(), rootlogon(), rtime, TtAliTask::SetExcludedBox(), timer, trackFile, and TString.
9 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
24 TString trkfitFile =
"buff.root";
29 FairRunAna *
fRun =
new FairRunAna();
30 fRun->SetInputFile(trackFile);
31 fRun->SetOutputFile(trkfitFile);
37 for (Int_t j = 0 ; j < nLoops ; j++)
40 for (Int_t
p = 1 ;
p < 7 ;
p++)
46 fRun->AddTask(linfit);
50 cout <<
"Loop: " << j <<
" Excluded Box: " <<
p << endl;
54 fRun->Run(0, nEvents);
71 cout <<
"Macro finished succesfully." << endl;
72 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
void SetExcludedBox(Int_t excl)
void PrintMeanResiduals()