Add template driven end of run reports to analyzer class
Inspired by ENGINE/CTP report generator Reports generated by THcAnalyzer::PrintReport(templatefilename,outputfilename) template is copied to output, {stuff} is replaced by the value of stuff. Value can be formated with c formater, eg. {stuff:%.2f} ThcFormula added to allow more flexibility of variables. Can get number of times cuts pass or are called with: cutname.npassed (or cutname.scaler) and cutname.ncalled
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- Makefile 2 additions, 1 deletionMakefile
- SConscript.py 1 addition, 0 deletionsSConscript.py
- examples/hodtest.C 1 addition, 0 deletionsexamples/hodtest.C
- examples/report.template 34 additions, 0 deletionsexamples/report.template
- src/HallC_LinkDef.h 1 addition, 0 deletionssrc/HallC_LinkDef.h
- src/THcAnalyzer.cxx 77 additions, 0 deletionssrc/THcAnalyzer.cxx
- src/THcAnalyzer.h 2 additions, 0 deletionssrc/THcAnalyzer.h
- src/THcFormula.cxx 145 additions, 0 deletionssrc/THcFormula.cxx
- src/THcFormula.h 30 additions, 0 deletionssrc/THcFormula.h
examples/report.template
0 → 100644
src/THcFormula.cxx
0 → 100644
src/THcFormula.h
0 → 100644
Please register or sign in to comment