cbm::qa::report framework
The framework encapsulates creation tools for a generic QA-report source, which can be compiled into different sources (LaTeX, Beamer, Markdown, HTML, etc.). A report consists from an ordered tree of elements (cbm::qa::report::Element). At the moment three types of elements are available: cbm::qa::report::Section, cbm::qa::report:Figure and cbm::qa::report::Table. Each element is registered in the LinkDef.h file for accessibility from a ROOT-macro, but never the less does not rely on the ROOT libraries. A variety of the report source formats is achieved using the Visitor desing pattern. Each set of element compilation rules is defined in a specific implementation of the cbm::qa::report::Engine class (the visitor), which alows the simultanious creation of report different sources. From the box the source for LaTeX plain document (cbm::qa::report::LatexEngine) and HTML-page (cbm::qa::report::HtmlEngine) are available. The use-case of the framework is given in the cbmroot/macro/qa/report_example.C macro. The macro generate CA tracking status report for a given setup and requires an output from the run_qa.C/mcbm_qa.C macro.
parent
93a389f1
No related branches found
No related tags found
Showing
- core/qa/CMakeLists.txt 26 additions, 0 deletionscore/qa/CMakeLists.txt
- core/qa/CbmQaBaseLinkDef.h 12 additions, 0 deletionscore/qa/CbmQaBaseLinkDef.h
- core/qa/CbmQaIO.cxx 9 additions, 5 deletionscore/qa/CbmQaIO.cxx
- core/qa/CbmQaIO.h 5 additions, 5 deletionscore/qa/CbmQaIO.h
- core/qa/CbmQaTable.h 3 additions, 5 deletionscore/qa/CbmQaTable.h
- core/qa/report/CbmQaReportBuilder.cxx 76 additions, 0 deletionscore/qa/report/CbmQaReportBuilder.cxx
- core/qa/report/CbmQaReportBuilder.h 76 additions, 0 deletionscore/qa/report/CbmQaReportBuilder.h
- core/qa/report/CbmQaReportDefines.h 20 additions, 0 deletionscore/qa/report/CbmQaReportDefines.h
- core/qa/report/CbmQaReportElement.h 72 additions, 0 deletionscore/qa/report/CbmQaReportElement.h
- core/qa/report/CbmQaReportEngine.h 68 additions, 0 deletionscore/qa/report/CbmQaReportEngine.h
- core/qa/report/CbmQaReportFigure.h 49 additions, 0 deletionscore/qa/report/CbmQaReportFigure.h
- core/qa/report/CbmQaReportHeader.h 67 additions, 0 deletionscore/qa/report/CbmQaReportHeader.h
- core/qa/report/CbmQaReportHtmlEngine.cxx 152 additions, 0 deletionscore/qa/report/CbmQaReportHtmlEngine.cxx
- core/qa/report/CbmQaReportHtmlEngine.h 60 additions, 0 deletionscore/qa/report/CbmQaReportHtmlEngine.h
- core/qa/report/CbmQaReportLatexEngine.cxx 233 additions, 0 deletionscore/qa/report/CbmQaReportLatexEngine.cxx
- core/qa/report/CbmQaReportLatexEngine.h 76 additions, 0 deletionscore/qa/report/CbmQaReportLatexEngine.h
- core/qa/report/CbmQaReportLatexFormat.h 0 additions, 0 deletionscore/qa/report/CbmQaReportLatexFormat.h
- core/qa/report/CbmQaReportLinkDef.h 38 additions, 0 deletionscore/qa/report/CbmQaReportLinkDef.h
- core/qa/report/CbmQaReportSection.cxx 33 additions, 0 deletionscore/qa/report/CbmQaReportSection.cxx
- core/qa/report/CbmQaReportSection.h 61 additions, 0 deletionscore/qa/report/CbmQaReportSection.h
Loading
Please register or sign in to comment