11 TString workDir = gSystem->WorkingDirectory();
25 TString outFile = Form(
"data/testDiReLo_%df_", nofFiles);
26 outFile = outFile + mcEngine +
".root";
33 TString inFile = Form(
"file://%s/data/testrun_%s_f%d.root", workDir.Data(), mcEngine.Data(), 0);
37 for (Int_t ifile = 1; ifile < nofFiles; ifile++) {
38 cout <<
"fRun->AddFile(....f" << ifile <<
".root" << endl;
39 fFileSource->AddFile(Form(
"file://%s/data/testrun_%s_f%d.root", workDir.Data(), mcEngine.Data(), ifile));
47 TList* fnamelist =
new TList();
49 for (Int_t ifile = 0; ifile < nofFiles; ifile++)
50 fnamelist->Add(
new TObjString(Form(
"%s/data/testpar_%s_f%d.root", workDir.Data(), mcEngine.Data(), ifile)));
52 cout <<
"PAR LIST CREATED" << endl;
53 parInput1->
open(fnamelist);
77 cout <<
"<DartMeasurement name=\"MaxMemory\" type=\"numeric/double\">";
79 cout <<
"</DartMeasurement>" << endl;
82 Double_t rtime = timer.RealTime();
83 Double_t ctime = timer.CpuTime();
85 Float_t cpuUsage = ctime / rtime;
86 cout <<
"<DartMeasurement name=\"CpuLoad\" type=\"numeric/double\">";
88 cout <<
"</DartMeasurement>" << endl;
91 cout <<
"Output file is " << outFile << endl;
92 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
"s" << endl << endl;
93 cout <<
"Macro finished successfully." << endl;
list of container factories
void Run(Int_t NStart=0, Int_t NStop=0)
void SetSink(FairSink *tempSink)
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)
virtual void SetSource(FairSource *tempSource)
void SetLogVerbosityLevel(const char *verbosity)
Bool_t setFirstInput(FairParIo *)
void run_digi_reco_local(Int_t nofFiles, TString mcEngine="TGeant3")