25 FairRunAna *
fRun=
new FairRunAna();
26 fRun->SetInputFile(inFile);
27 fRun->SetOutputFile(outFile);
28 fRun->SetGenerateRunInfo(kFALSE);
33 allDigiFile +=
"/macro/params/";
36 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
37 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
38 parInput1->open(parFile.Data());
40 FairParAsciiFileIo*
parIo1 =
new FairParAsciiFileIo();
41 parIo1->open(allDigiFile.Data(),
"in");
43 rtdb->setFirstInput(parInput1);
44 rtdb->setSecondInput(parIo1);
78 tofhit->SetVerbose(iVerbose);
79 fRun->AddTask(tofhit);
121 cout << endl << endl;
122 cout <<
"Macro finished successfully." << endl;
123 cout <<
"Output file is " << outFile << endl;
124 cout <<
"Parameter file is " << parFile << endl;
125 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
128 cout <<
" Test passed" << endl;
129 cout <<
" All ok " << endl;
PndFtofHitProducerIdeal * tofhit
virtual InitStatus Init()
FairParRootFileIo * parInput1
FairParAsciiFileIo * parIo1