22 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
32 FairRunAna *
fRun =
new FairRunAna();
33 fRun->SetInputFile(inFile);
34 fRun->SetOutputFile(outFile);
36 FairRuntimeDb*
rtdb = fRun->GetRuntimeDb();
37 FairParRootFileIo*
parInput1 =
new FairParRootFileIo();
38 parInput1->open(parFile.Data());
39 rtdb->setFirstInput(parInput1);
51 fRun->AddTask(ftsHitProducer);
56 std::cout<<
"AAAAAAAAAAAAAA "<<std::endl;
58 std::cout<<
"AAAAAAAAAAAAAA "<<std::endl;
60 fRun->Run(0, nEvents);
68 cout <<
"Macro finished succesfully." << endl;
69 cout <<
"Output file is " << outFile << endl;
70 cout <<
"Parameter file is " << parFile << endl;
71 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
" s" << endl;
FairParRootFileIo * parInput1
PndFtsHitProducerRealFast * ftsHitProducer