11 TString workDir = gSystem->WorkingDirectory();
25 TString outFile = Form(
"data/testDiRePr_%df_", nofFiles);
27 outFile =
"data/testDiRePr_";
28 outFile = outFile + mcEngine +
".root";
35 TString inFile = Form(
"file://%s/data/testrun_%s_f%d.root", workDir.Data(), mcEngine.Data(), 0);
37 inFile = Form(
"file://%s/data/testrun_%s.root", workDir.Data(), mcEngine.Data());
40 for (Int_t ifile = 1; ifile < nofFiles; ifile++)
41 fFileSource->AddFile(Form(
"file://%s/data/testrun_%s_f%d.root", workDir.Data(), mcEngine.Data(), ifile));
49 TList* fnamelist =
new TList();
52 fnamelist->Add(
new TObjString(Form(
"%s/data/testparams_%s.root", workDir.Data(), mcEngine.Data())));
54 for (Int_t ifile = 0; ifile < nofFiles; ifile++)
55 fnamelist->Add(
new TObjString(Form(
"%s/data/testpar_%s_f%d.root", workDir.Data(), mcEngine.Data(), ifile)));
57 cout <<
"PAR LIST CREATED" << endl;
58 parInput1->
open(fnamelist);
70 cout <<
"... Init done" << endl;
82 cout <<
"<DartMeasurement name=\"MaxMemory\" type=\"numeric/double\">";
84 cout <<
"</DartMeasurement>" << endl;
87 Double_t rtime = timer.RealTime();
88 Double_t ctime = timer.CpuTime();
90 Float_t cpuUsage = ctime / rtime;
91 cout <<
"<DartMeasurement name=\"CpuLoad\" type=\"numeric/double\">";
93 cout <<
"</DartMeasurement>" << endl;
96 cout <<
"Output file is " << outFile << endl;
97 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
"s" << endl << endl;
98 cout <<
"Macro finished successfully." << endl;
list of container factories
void run_digi_reco_proof(Int_t nofFiles, TString mcEngine="TGeant3")
void SetSink(FairSink *tempSink)
void Run(Int_t NStart=0, Int_t NStop=0)
static FairLogger * GetLogger()
FairRuntimeDb * GetRuntimeDb(void)
virtual void AddTask(FairTask *t)
Bool_t open(const Text_t *fname, Option_t *option="READ", const Text_t *ftitle="", Int_t compress=1)
void SetProofOutputStatus(TString outStat)
void SetLogVerbosityLevel(const char *verbosity)
virtual void SetSource(FairSource *tempSource)
Bool_t setFirstInput(FairParIo *)