Go to the documentation of this file.
12 #include <RtypesCore.h>
56 std::ostream&
Out()
const {
return *
fOut; }
101 CreateCanvas(
const char* name,
const char* title, Int_t ww, Int_t wh);
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.
const std::string & GetReportTitle() const
CbmReport(const CbmReport &)
void DeleteReportElement()
Delete report element. Normally should be called at the end of Create function.
const std::string & GetReportName() const
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.
void SetReportName(const std::string &name)
CbmReport & operator=(const CbmReport &)
void PrintCanvases() const
Print images created from canvases in the report.
void WriteCanvases() const
Write canvases to file.
std::vector< TCanvas * > fCanvases
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.
void Draw(Option_t *)
Inherited from TObject. This method is implemented in order to avoid warnings.
const std::string & GetOutputDir() const
std::ostream & Out() const
All text output goes to this stream.
virtual void Create()=0
Pure abstract function which is called from public Create() function. This function has to write repo...
Abstract class for basic report elements (headers, tables, images etc.).
void CreateReports()
Create all available report types.
void SetReportTitle(const std::string &title)
void SetOutputDir(const std::string &outputDir)