Go to the source code of this file.
Ideal Track finder
QA task
Definition at line 9 of file outdated/run/recoqa_complete.C.
References PndIdealTrackFinder::AddBranchName(), ctime, digiFile, Double_t, emcDigiFile, fRun, iVerbose, nEvents, outFile, parFile, parInput1, parIo1, rtdb, rtime, timer, and TString.
31 FairRunAna *
fRun=
new FairRunAna();
32 fRun->SetInputFile(
"sim_complete.root");
33 fRun->AddFriend(
"digi_complete.root");
34 fRun->AddFriend(
"reco_complete.root");
35 fRun->SetOutputFile(outFile);
36 fRun->SetGenerateRunInfo(kFALSE);
37 fRun->SetUseFairLinks(kTRUE);
41 emcDigiFile +=
"/macro/params/";
44 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
45 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
46 parInput1->open(parFile.Data());
48 FairParAsciiFileIo*
parIo1 =
new FairParAsciiFileIo();
49 parIo1->open(emcDigiFile.Data(),
"in");
51 rtdb->setFirstInput(parInput1);
52 rtdb->setSecondInput(parIo1);
60 fRun->AddTask(idealTracking);
64 fRun->AddTask(trackingQA);
68 cout <<
"fRun->Init()" << endl;
81 cout <<
"Macro finished successfully." << endl;
82 cout <<
"Output file is " << outFile << endl;
83 cout <<
"Parameter file is " << parFile << endl;
84 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
87 cout <<
" Test passed" << endl;
88 cout <<
" All ok " << endl;
Ideal track finder for all types of tracking detectors The PndIdealTrackFinder combines all hits in ...
FairParRootFileIo * parInput1
FairParAsciiFileIo * parIo1
virtual void AddBranchName(TString name)
Search for tracks only in given branches. If no BranchName is given all tracking detectors are taken...