32 FairRunAna *
fRun=
new FairRunAna();
33 fRun->SetInputFile(inFile);
34 fRun->AddFriend(inFile2);
35 fRun->SetOutputFile(outFile);
37 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
38 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
39 parInput1->open(parFile.Data());
40 rtdb->setFirstInput(parInput1);
42 cout <<
"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" << endl;
43 cout <<
"@@@@@@@@@@@@@@@@@@@@@@@ WARNING: @@@@@@@@@@@@@@@@@@@@@@@@@" << endl;
44 cout <<
"@@ @@" << endl;
45 cout <<
"@@ this is an old version of the reconstruction code. @@" << endl;
46 cout <<
"@@ You should not use this! @@" << endl;
47 cout <<
"@@ @@" << endl;
48 cout <<
"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" << endl;
49 cout <<
"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" << endl;
58 fRun->AddTask(tracking);
60 PndMCTrackAssociator*
trackMC =
new PndMCTrackAssociator();
61 trackMC->SetTrackInBranchName(
"SttMvdTrack");
62 trackMC->SetTrackOutBranchName(
"SttMvdTrackID");
63 fRun->AddTask(trackMC);
69 fRun->Run(0, nEvents);
78 cout <<
"Macro finished succesfully." << endl;
79 cout <<
"Output file is " << outFile << endl;
80 cout <<
"Parameter file is " << parFile << endl;
81 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
PndTrkTracking * tracking
FairParRootFileIo * parInput1
PndMCTrackAssociator * trackMC
void NoMvdAloneTracking()