|
BmnRoot
|
Base class for reports. More...
#include <BmnReport.h>
Public Member Functions | |
| BmnReport () | |
| Constructor. | |
| virtual | ~BmnReport () |
| Destructor. | |
| const BmnReportElement * | R () const |
| Accessor to BmnReportElement object. User has to write the report using available tags from BmnReportElement class. | |
| ostream & | Out () const |
| All text output goes to this stream. | |
| void | Register (string path) |
| void | CallDraw () |
| void | SetReportName (TString name) |
| void | SetReportTitle (const string &title) |
| void | SetOutputDir (const string &outputDir) |
| void | SetMonitorMode (const Bool_t mm) |
| void | SetObjServer (THttpServer *s) |
| const string & | GetReportName () const |
| const string & | GetReportTitle () const |
| const string & | GetOutputDir () const |
| Bool_t | GetMonitorMode () const |
| THttpServer * | GetObjServer () const |
| BmnReport () | |
| Constructor. | |
| virtual | ~BmnReport () |
| Destructor. | |
| const BmnReportElement * | R () const |
| Accessor to BmnReportElement object. User has to write the report using available tags from BmnReportElement class. | |
| ostream & | Out () const |
| All text output goes to this stream. | |
| void | Register (string path) |
| void | CallDraw () |
| void | SetReportName (TString name) |
| void | SetReportTitle (const string &title) |
| void | SetOutputDir (const string &outputDir) |
| void | SetMonitorMode (const Bool_t mm) |
| void | SetObjServer (THttpServer *s) |
| const string & | GetReportName () const |
| const string & | GetReportTitle () const |
| const string & | GetOutputDir () const |
| Bool_t | GetMonitorMode () const |
| THttpServer * | GetObjServer () const |
Protected Member Functions | |
| virtual void | Create ()=0 |
| Pure abstract function which is called from public Create() function. This function has to write report using Out() for output stream and R() for report elements. This function is called for each report type. | |
| virtual void | Draw ()=0 |
| Pure abstract function which is called from public Create() function. This function has to draw all necessary histograms and graphs. It is called only once before report creation. | |
| void | CreateReports () |
| Create all available report types. | |
| 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 automatically saved to image and printed in the report. | |
| void | SaveCanvasesAsImages () const |
| Save all canvases to images. | |
| void | WriteCanvases () const |
| Write canvases to file. | |
| void | PrintCanvases () const |
| Print images created from canvases in the report. | |
| virtual void | Create ()=0 |
| Pure abstract function which is called from public Create() function. This function has to write report using Out() for output stream and R() for report elements. This function is called for each report type. | |
| virtual void | Draw ()=0 |
| Pure abstract function which is called from public Create() function. This function has to draw all necessary histograms and graphs. It is called only once before report creation. | |
| void | CreateReports () |
| Create all available report types. | |
| 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 automatically saved to image and printed in the report. | |
| void | SaveCanvasesAsImages () const |
| Save all canvases to images. | |
| void | WriteCanvases () const |
| Write canvases to file. | |
| void | PrintCanvases () const |
| Print images created from canvases in the report. | |
Protected Attributes | |
| THttpServer * | fServer |
| Bool_t | fMonitorMode |
| Bool_t | fInitCanvasesDone |
| BmnReport::BmnReport | ( | ) |
Constructor.
Definition at line 17 of file BmnReport.cxx.
|
virtual |
Destructor.
Definition at line 28 of file BmnReport.cxx.
| BmnReport::BmnReport | ( | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
Definition at line 53 of file BmnReport.h.
References Draw().
Referenced by BmnProfQa::Exec(), BmnQaBase::Exec(), BmnTrackingQaExp::Exec(), BmnProfQa::Finish(), BmnTrackingQaExp::Finish(), BmnProfQa::Init(), BmnQaBase::Init(), and BmnTrackingQaExp::Init().
|
inline |
Definition at line 53 of file BmnReport.h.
References Draw().
|
protectedpure virtual |
Pure abstract function which is called from public Create() function. This function has to write report using Out() for output stream and R() for report elements. This function is called for each report type.
Implemented in BmnPidQaReport, BmnProfQaReport, BmnSimulationReport, BmnTrackingQaReport, BmnPidQaReport, BmnProfQaReport, BmnTrackingQaReport, and BmnSimulationReport.
Referenced by CreateReports().
|
protectedpure virtual |
Pure abstract function which is called from public Create() function. This function has to write report using Out() for output stream and R() for report elements. This function is called for each report type.
Implemented in BmnPidQaReport, BmnProfQaReport, BmnSimulationReport, BmnTrackingQaReport, BmnPidQaReport, BmnProfQaReport, BmnTrackingQaReport, and BmnSimulationReport.
|
protected |
Create canvas and put it to vector of TCanvases. Canvases created with this function will be automatically saved to image and printed in the report.
Create or just find already created.
| name | |
| title | |
| ww | |
| wh |
Definition at line 75 of file BmnReport.cxx.
Referenced by BmnPidQaReport::DrawEffCont(), BmnTrackingQaReport::DrawEffGem(), BmnTrackingQaReport::DrawEventsInfo(), BmnSimulationReport::DrawFourH2(), BmnTrackingQaReport::DrawMomResGem(), BmnSimulationReport::DrawNH2(), BmnTrackingQaReport::DrawNhitsGem(), BmnPidQaReport::DrawOneH1(), BmnTrackingQaReport::DrawOneH1(), BmnSimulationReport::DrawOneH1(), BmnPidQaReport::DrawOneH2(), BmnTrackingQaReport::DrawOneH2(), BmnSimulationReport::DrawOneH2(), BmnTrackingQaReport::DrawPar(), BmnTrackingQaReport::DrawResAndPull(), BmnPidQaReport::DrawThreeH1(), BmnTrackingQaReport::DrawThreeH1(), BmnSimulationReport::DrawThreeH1(), BmnPidQaReport::DrawThreeH2(), BmnTrackingQaReport::DrawThreeH2(), BmnSimulationReport::DrawThreeH2(), BmnPidQaReport::DrawTwoBananas(), BmnPidQaReport::DrawTwoH1(), BmnTrackingQaReport::DrawTwoH1(), BmnSimulationReport::DrawTwoH1(), BmnPidQaReport::DrawTwoH2(), BmnSimulationReport::DrawTwoH2(), BmnTrackingQaReport::DrawTwoH2(), and BmnTrackingQaReport::DrawVertResGem().
|
protected |
Create canvas and put it to vector of TCanvases. Canvases created with this function will be automatically saved to image and printed in the report.
|
protected |
Create all available report types.
Definition at line 54 of file BmnReport.cxx.
References Create(), Draw(), fMonitorMode, SaveCanvasesAsImages(), and WriteCanvases().
Referenced by BmnSimulationReport::Create(), and BmnSimulationReport::Create().
|
protected |
Create all available report types.
|
protectedpure virtual |
Pure abstract function which is called from public Create() function. This function has to draw all necessary histograms and graphs. It is called only once before report creation.
Implemented in BmnPidQaReport, BmnProfQaReport, BmnTrackingQaExpReport, BmnTrackingQaReport, BmnPidQaReport, BmnProfQaReport, BmnTrackingQaExpReport, and BmnTrackingQaReport.
Referenced by CallDraw(), and CreateReports().
|
protectedpure virtual |
Pure abstract function which is called from public Create() function. This function has to draw all necessary histograms and graphs. It is called only once before report creation.
Implemented in BmnPidQaReport, BmnProfQaReport, BmnTrackingQaExpReport, BmnTrackingQaReport, BmnPidQaReport, BmnProfQaReport, BmnTrackingQaExpReport, and BmnTrackingQaReport.
|
inline |
Definition at line 76 of file BmnReport.h.
References fMonitorMode.
|
inline |
Definition at line 76 of file BmnReport.h.
References fMonitorMode.
|
inline |
Definition at line 77 of file BmnReport.h.
References fServer.
|
inline |
Definition at line 77 of file BmnReport.h.
References fServer.
|
inline |
Definition at line 75 of file BmnReport.h.
Referenced by SaveCanvasesAsImages(), and WriteCanvases().
|
inline |
Definition at line 75 of file BmnReport.h.
|
inline |
Definition at line 73 of file BmnReport.h.
|
inline |
Definition at line 73 of file BmnReport.h.
|
inline |
Definition at line 74 of file BmnReport.h.
|
inline |
Definition at line 74 of file BmnReport.h.
|
inline |
All text output goes to this stream.
Definition at line 50 of file BmnReport.h.
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), BmnTrackingQaReport::Create(), PrintCanvases(), and BmnTrackingQaReport::PrintEventInfo().
|
inline |
All text output goes to this stream.
Definition at line 50 of file BmnReport.h.
|
protected |
Print images created from canvases in the report.
Definition at line 113 of file BmnReport.cxx.
References i, BmnReportElement::Image(), Out(), and R().
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), and BmnTrackingQaReport::Create().
|
protected |
Print images created from canvases in the report.
|
inline |
Accessor to BmnReportElement object. User has to write the report using available tags from BmnReportElement class.
Definition at line 45 of file BmnReport.h.
Referenced by BmnPidQaReport::Create(), BmnProfQaReport::Create(), BmnSimulationReport::Create(), BmnTrackingQaReport::Create(), and PrintCanvases().
|
inline |
Accessor to BmnReportElement object. User has to write the report using available tags from BmnReportElement class.
Definition at line 45 of file BmnReport.h.
| void BmnReport::Register | ( | string | path | ) |
Definition at line 122 of file BmnReport.cxx.
References can(), and fServer.
Referenced by BmnProfQa::Init(), BmnQaBase::Init(), and BmnTrackingQaExp::Init().
| void BmnReport::Register | ( | string | path | ) |
|
protected |
Save all canvases to images.
Definition at line 89 of file BmnReport.cxx.
References GetOutputDir(), and i.
Referenced by CreateReports().
|
protected |
Save all canvases to images.
|
inline |
Definition at line 69 of file BmnReport.h.
References fMonitorMode.
Referenced by BmnProfQa::Init(), BmnQaBase::Init(), and BmnTrackingQaExp::Init().
|
inline |
Definition at line 69 of file BmnReport.h.
References fMonitorMode.
|
inline |
Definition at line 70 of file BmnReport.h.
References fServer.
Referenced by BmnProfQa::Init(), BmnQaBase::Init(), and BmnTrackingQaExp::Init().
|
inline |
Definition at line 70 of file BmnReport.h.
References fServer.
|
inline |
Definition at line 58 of file BmnReport.h.
Referenced by BmnSimulationReport::Create(), and BmnSimulationReport::Create().
|
inline |
Definition at line 58 of file BmnReport.h.
|
inline |
Definition at line 56 of file BmnReport.h.
Referenced by BmnClusteringQaReport::BmnClusteringQaReport(), BmnLambdaQaReport::BmnLambdaQaReport(), BmnPidQaReport::BmnPidQaReport(), BmnPidQaReport::BmnPidQaReport(), BmnProfQaReport::BmnProfQaReport(), BmnProfQaReport::BmnProfQaReport(), BmnTrackingQaExpReport::BmnTrackingQaExpReport(), BmnTrackingQaExpReport::BmnTrackingQaExpReport(), BmnTrackingQaReport::BmnTrackingQaReport(), and BmnTrackingQaReport::BmnTrackingQaReport().
|
inline |
Definition at line 56 of file BmnReport.h.
|
inline |
Definition at line 57 of file BmnReport.h.
|
inline |
Definition at line 57 of file BmnReport.h.
|
protected |
Write canvases to file.
Definition at line 103 of file BmnReport.cxx.
References GetOutputDir(), and i.
Referenced by CreateReports().
|
protected |
Write canvases to file.
|
protected |
Definition at line 123 of file BmnReport.h.
Referenced by BmnProfQaReport::Draw(), BmnTrackingQaExpReport::Draw(), BmnSimulationReport::DrawFourH2(), BmnSimulationReport::DrawNH2(), BmnSimulationReport::DrawOneH1(), BmnSimulationReport::DrawOneH2(), BmnSimulationReport::DrawThreeH1(), BmnSimulationReport::DrawThreeH2(), BmnSimulationReport::DrawTwoH1(), and BmnSimulationReport::DrawTwoH2().
|
protected |
Definition at line 122 of file BmnReport.h.
Referenced by CreateReports(), GetMonitorMode(), and SetMonitorMode().
|
protected |
Definition at line 121 of file BmnReport.h.
Referenced by GetObjServer(), Register(), and SetObjServer().