Go to the documentation of this file.
26 , fReportName(
"qa_report")
27 , fReportTitle(
"QA report")
38 if (
nullptr !=
fR)
delete fR;
86 TCanvas* canvas =
new TCanvas(name, title, ww, wh);
94 for (Int_t
i = 0;
i < nofCanvases;
i++) {
104 for (Int_t
i = 0;
i < nofCanvases;
i++) {
111 for (Int_t
i = 0;
i < nofCanvases;
i++) {
114 string(
"png/" +
string(canvas->GetName())).c_str());
TCanvas * CreateCanvas(const char *name, const char *title, Int_t ww, Int_t wh)
Create canvas and put it to vector of TCanvases. Canvases created with this function will be automati...
virtual ~CbmReport()
Destructor.
Implementation of CbmReportElement for Latex output.
virtual std::string Image(const std::string &title, const std::string &file) const =0
Return string with image tags.
void DeleteReportElement()
Delete report element. Normally should be called at the end of Create function.
const CbmReportElement * R() const
Accessor to CbmReportElement object. User has to write the report using available tags from CbmReport...
ReportType
Enumeration defines different report types.
Implementation of CbmReportElement for HTML output.
Abstract class for basic report elements (headers, tables, images etc.).
void PrintCanvases() const
Print images created from canvases in the report.
void WriteCanvases() const
Write canvases to file.
std::vector< TCanvas * > fCanvases
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
virtual void Draw()=0
Pure abstract function which is called from public Create() function. This function has to draw all n...
void SaveCanvasesAsImages() const
Save all canvases to images.
void CreateReportElement(ReportType reportType)
Create concrete CbmReportElement instance based on report type.
const std::string & GetOutputDir() const
std::ostream & Out() const
All text output goes to this stream.
void SaveCanvasAsImage(TCanvas *c, const std::string &dir, const std::string &option)
Implementation of CbmLitReportElement for text output.
virtual void Create()=0
Pure abstract function which is called from public Create() function. This function has to write repo...
Implementation of CbmLitReportElement for Latex output.
void CreateReports()
Create all available report types.
Implementation of CbmLitReportElement for text output.
Implementation of CbmReportElement for text output.