22 TString inFile =
"data/testrun_";
23 inFile = inFile + mcEngine +
".root";
26 TString parFile =
"data/testparams_";
27 parFile = parFile + mcEngine +
".root";
30 TString outFile =
"data/testdigitimebased_";
31 outFile = outFile + mcEngine +
".root";
48 parInput1->
open(parFile.Data());
73 cout <<
"<DartMeasurement name=\"MaxMemory\" type=\"numeric/double\">";
75 cout <<
"</DartMeasurement>" << endl;
78 Double_t rtime = timer.RealTime();
79 Double_t ctime = timer.CpuTime();
81 Float_t cpuUsage = ctime / rtime;
82 cout <<
"<DartMeasurement name=\"CpuLoad\" type=\"numeric/double\">";
84 cout <<
"</DartMeasurement>" << endl;
87 cout <<
"Output file is " << outFile << endl;
88 cout <<
"Parameter file is " << parFile << endl;
89 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
"s" << endl << endl;
90 cout <<
"Macro finished successfully." << endl;
list of container factories
void SetLogScreenLevel(const char *severity)
void Run(Int_t NStart=0, Int_t NStop=0)
void SetSink(FairSink *tempSink)
void SetUseFairLinks(Bool_t val)
void SetLogFileName(const std::string &name)
void SetLogToScreen(bool enabled)
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)
void run_digi_timebased(TString mcEngine="TGeant3")
void SetEventMeanTime(Double_t mean)
Bool_t setFirstInput(FairParIo *)