8 void run_reco(TString mcEngine =
"TGeant3")
23 TString inFile =
"data/testdigi_";
24 inFile = inFile + mcEngine +
".root";
27 TString parFile =
"data/testparams_";
28 parFile = parFile + mcEngine +
".root";
31 TString outFile =
"data/testreco_";
32 outFile = outFile + mcEngine +
".root";
49 parInput1->
open(parFile.Data());
69 cout <<
"<DartMeasurement name=\"MaxMemory\" type=\"numeric/double\">";
71 cout <<
"</DartMeasurement>" << endl;
74 Double_t rtime = timer.RealTime();
75 Double_t ctime = timer.CpuTime();
77 Float_t cpuUsage = ctime / rtime;
78 cout <<
"<DartMeasurement name=\"CpuLoad\" type=\"numeric/double\">";
80 cout <<
"</DartMeasurement>" << endl;
83 cout <<
"Output file is " << outFile << endl;
84 cout <<
"Parameter file is " << parFile << endl;
85 cout <<
"Real time " << rtime <<
" s, CPU time " << ctime <<
"s" << endl << endl;
86 cout <<
"Macro finished successfully." << endl;
list of container factories
void run_reco(TString mcEngine="TGeant3")
void SetLogScreenLevel(const char *severity)
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 SetLogFileName(const std::string &name)
static FairLinkManager * Instance()
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)
Bool_t setFirstInput(FairParIo *)