8 void run_digi(TString mcEngine =
"TGeant3")
22 TString inFile =
"data/testrun_";
23 inFile = inFile + mcEngine +
".root";
26 TString parFile =
"data/testparams_";
27 parFile = parFile + mcEngine +
".root";
30 TString outFile =
"data/testdigi_";
31 outFile = outFile + mcEngine +
".root";
48 parInput1->
open(parFile.Data());
68 cout <<
"<DartMeasurement name=\"MaxMemory\" type=\"numeric/double\">";
70 cout <<
"</DartMeasurement>" << endl;
73 Double_t rtime = timer.RealTime();
74 Double_t ctime = timer.CpuTime();
76 Float_t cpuUsage = ctime / rtime;
77 cout <<
"<DartMeasurement name=\"CpuLoad\" type=\"numeric/double\">";
79 cout <<
"</DartMeasurement>" << endl;
82 cout <<
"Output file is " << outFile << endl;
83 cout <<
"Parameter file is " << parFile << endl;
84 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
"s" << endl << endl;
85 cout <<
"Macro finished successfully." << endl;
list of container factories
virtual void AddIncludeType(Int_t type)
void SetGenerateRunInfo(Bool_t write)
void Run(Int_t NStart=0, Int_t NStop=0)
void SetSink(FairSink *tempSink)
void SetUseFairLinks(Bool_t val)
void run_digi(TString mcEngine="TGeant3")
static FairLinkManager * Instance()
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 *)