Definition at line 1 of file reco_fts.C.
References ctime, digiFile, Double_t, emcDigiFile, fRun, Geane, PndEmcMapper::Init(), iVerbose, PndFtsHoughTrackerTask::kAllFoundPeaksTogether, PndFtsHoughTrackerTask::kHoughSpaces, PndFtsHoughTrackerTask::kMcTruthPeaksExclusively, nEvents, outFile, parFile, parInput1, parIo1, rtdb, rtime, PndFtsHoughTrackerTask::SetVerbose(), timer, trackFts, and TString.
26 FairRunAna *
fRun=
new FairRunAna();
27 fRun->SetInputFile(
"sim_complete.root");
28 fRun->AddFriend(
"digi_complete.root");
29 fRun->SetOutputFile(outFile);
30 fRun->SetGenerateRunInfo(kFALSE);
31 FairGeane *
Geane =
new FairGeane();
36 emcDigiFile +=
"/macro/params/";
39 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
40 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
41 parInput1->open(parFile.Data());
43 FairParAsciiFileIo*
parIo1 =
new FairParAsciiFileIo();
44 parIo1->open(emcDigiFile.Data(),
"in");
46 rtdb->setFirstInput(parInput1);
47 rtdb->setSecondInput(parIo1);
66 fRun->AddTask(trackFts);
91 cout <<
"fRun->Init()" << endl;
103 cout << endl << endl;
104 cout <<
"Macro finished successfully." << endl;
105 cout <<
"Output file is " << outFile << endl;
106 cout <<
"Parameter file is " << parFile << endl;
107 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
110 cout <<
" Test passed" << endl;
111 cout <<
" All ok " << endl;
Interface between PandaRoot (data input and output) and PndFtsHoughTrackFinder (implementation of PR ...
static void Init(Int_t MapVersion)
PndFtsTrackerIdeal * trackFts
FairParRootFileIo * parInput1
FairParAsciiFileIo * parIo1
void SetVerbose(Int_t verbose)