|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Create report for pid QA. More...
#include <BmnPidQaReport.h>
Public Member Functions | |
| BmnPidQaReport () | |
| Constructor. | |
| BmnPidQaReport (TString name, TString storageName, unordered_map< Double_t, string > massTable) | |
| Constructor with parameters. | |
| virtual | ~BmnPidQaReport () |
| Destructor. | |
| Public Member Functions inherited from BmnSimulationReport | |
| BmnSimulationReport () | |
| Constructor. | |
| virtual | ~BmnSimulationReport () |
| Destructor. | |
| void | Create (BmnHistManager *histManager, const string &outputDir) |
| Main function which creates report data. | |
| void | Create (const string &outputDir) |
| void | Create () |
| Pure abstract function which is called from public Create() function. | |
| void | Create (const string &fileName, const string &outputDir) |
| Main function which creates report data. | |
| void | SetHM (BmnHistManager *hm) |
| BmnHistManager * | HM () const |
| Return pointer to Histogram manager. | |
| void | DrawH1ByPattern (const string &histNamePattern) |
| Select by pattern TH1 histograms and draw each histogram on separate canvas. | |
| void | DrawH1ByPattern (const string &histNamePattern, string(*labelFormatter)(const string &, const BmnHistManager *)) |
| Select by pattern TH1 histograms and draw all histograms on the same canvas. | |
| void | DrawH2ByPattern (const string &histNamePattern, HistScale logx=kLinear, HistScale logy=kLinear, HistScale logz=kLinear, const string &drawOpt="") |
| Select by pattern TH2 histograms and draw each histogram on separate canvas. | |
| void | SetOnlyPrimes (const Bool_t prime) |
| Bool_t | GetOnlyPrimes () const |
| void | AddStationSet (DetectorId id, void *ss) |
| void | DrawHits2D () |
| BmnSimulationReport () | |
| Constructor. | |
| virtual | ~BmnSimulationReport () |
| Destructor. | |
| void | Create (BmnHistManager *histManager, const string &outputDir) |
| Main function which creates report data. | |
| void | Create (const string &outputDir) |
| void | Create () |
| Pure abstract function which is called from public Create() function. | |
| void | Create (const string &fileName, const string &outputDir) |
| Main function which creates report data. | |
| void | SetHM (BmnHistManager *hm) |
| BmnHistManager * | HM () const |
| Return pointer to Histogram manager. | |
| void | DrawH1ByPattern (const string &histNamePattern) |
| Select by pattern TH1 histograms and draw each histogram on separate canvas. | |
| void | DrawH1ByPattern (const string &histNamePattern, string(*labelFormatter)(const string &, const BmnHistManager *)) |
| Select by pattern TH1 histograms and draw all histograms on the same canvas. | |
| void | DrawH2ByPattern (const string &histNamePattern, HistScale logx=kLinear, HistScale logy=kLinear, HistScale logz=kLinear, const string &drawOpt="") |
| Select by pattern TH2 histograms and draw each histogram on separate canvas. | |
| void | SetOnlyPrimes (const Bool_t prime) |
| Bool_t | GetOnlyPrimes () const |
| void | AddStationSet (DetectorId id, void *ss) |
| void | DrawHits2D () |
| Public Member Functions inherited from BmnReport | |
| BmnReport () | |
| Constructor. | |
| virtual | ~BmnReport () |
| Destructor. | |
| const BmnReportElement * | R () const |
| Accessor to BmnReportElement object. | |
| 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. | |
| 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 |
| Public Member Functions inherited from TObject | |
| TObject () | |
| TObject (const TObject &object) | |
| virtual | ~TObject () |
| void | AbstractMethod (const char *method) const |
| virtual void | AppendPad (Option_t *option="") |
| virtual void | Browse (TBrowser *b) |
| ULong_t | CheckedHash () |
| virtual const char * | ClassName () const |
| virtual void | Clear (Option_t *="") |
| virtual TObject * | Clone (const char *newname="") const |
| virtual Int_t | Compare (const TObject *obj) const |
| virtual void | Copy (TObject &object) const |
| virtual void | Delete (Option_t *option="") |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| virtual void | Draw (Option_t *option="") |
| virtual void | DrawClass () const |
| virtual TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual const char * | GetName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () const |
| virtual const char * | GetTitle () const |
| virtual UInt_t | GetUniqueID () const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| virtual ULong_t | Hash () const |
| Bool_t | HasInconsistentHash () const |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| virtual void | Inspect () const |
| void | InvertBit (UInt_t f) |
| virtual TClass * | IsA () const |
| Bool_t | IsDestructed () const |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| virtual Bool_t | IsFolder () const |
| R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
| virtual Bool_t | IsSortable () const |
| R__ALWAYS_INLINE Bool_t | IsZombie () const |
| virtual void | ls (Option_t *option="") const |
| void | MayNotUse (const char *method) const |
| virtual Bool_t | Notify () |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (const TObject &rhs) |
| virtual void | Paint (Option_t *option="") |
| virtual void | Pop () |
| virtual void | Print (Option_t *option="") const |
| virtual Int_t | Read (const char *name) |
| virtual void | RecursiveRemove (TObject *obj) |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| virtual void | SetDrawOption (Option_t *option="") |
| virtual void | SetUniqueID (UInt_t uid) |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual void | UseCurrentStyle () |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Protected Member Functions | |
| virtual void | Create () |
| Pure abstract function which is called from public Create() function. | |
| virtual void | Draw () |
| Inherited from BmnSimulationReport. | |
| void | DrawOneH1 (const TString canvasName, const TString name1, const TString drawOpt) |
| void | DrawTwoH1 (const TString canvasName, const TString name1, const TString name2, const TString drawOpt) |
| void | DrawTwoH2 (const TString canvasName, const TString name1, const TString name2) |
| void | DrawThreeH2 (const TString canvasName, const TString name1, const TString name2, const TString name3) |
| void | DrawOneH2 (const TString canvasName, const TString name1) |
| void | DrawTwoBananas (const TString canvasName, const TString name1, const TString name2) |
| void | DrawThreeH1 (const TString canvasName, const TString name1, const TString name2, const TString name3) |
| void | DrawEffCont (const TString canvasName, TEfficiency *, TEfficiency *) |
| Protected Member Functions inherited from BmnSimulationReport | |
| void | DrawMuSigma (TVirtualPad *pad, TH1 *h) |
| void | DrawOneH1 (const TString canvasName, const TString name1, const TString drawOpt, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawOneH1Log (const TString canvasName, const TString name1, const TString drawOpt, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawTwoH1 (const TString canvasName, const TString name1, const TString name2, const TString drawOpt, Bool_t doFit=kFALSE, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawOneH2 (const TString canvasName, const TString name1, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawTwoH2 (const TString canvasName, const TString name1, const TString name2, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawThreeH1 (const TString canvasName, const TString name1, const TString name2, const TString name3, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawThreeH2 (const TString canvasName, const TString name1, const TString name2, const TString name3, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawFourH2 (const TString canvasName, const TString name1, const TString name2, const TString name3, const TString name4, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawNH2 (const string canvasName, const vector< string > &names, Int_t histW=baseW, Int_t histH=baseH, Int_t ncols=2) |
| void | DrawMuSigma (TVirtualPad *pad, TH1 *h) |
| void | DrawOneH1 (const TString canvasName, const TString name1, const TString drawOpt, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawOneH1Log (const TString canvasName, const TString name1, const TString drawOpt, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawTwoH1 (const TString canvasName, const TString name1, const TString name2, const TString drawOpt, Bool_t doFit=kFALSE, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawOneH2 (const TString canvasName, const TString name1, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawTwoH2 (const TString canvasName, const TString name1, const TString name2, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawThreeH1 (const TString canvasName, const TString name1, const TString name2, const TString name3, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawThreeH2 (const TString canvasName, const TString name1, const TString name2, const TString name3, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawFourH2 (const TString canvasName, const TString name1, const TString name2, const TString name3, const TString name4, Int_t histW=baseW, Int_t histH=baseH) |
| void | DrawNH2 (const string canvasName, const vector< string > &names, Int_t histW=baseW, Int_t histH=baseH, Int_t ncols=2) |
| Protected Member Functions inherited from BmnReport | |
| 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. | |
| 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. | |
| 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. | |
| 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 Member Functions inherited from TObject | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| void | MakeZombie () |
Protected Attributes | |
| vector< string > | fGlobalTrackVariants |
| unordered_map< Double_t, string > | fMassTable |
| TString | fPrefix |
| TString | fStorageName |
| Protected Attributes inherited from BmnSimulationReport | |
| const Int_t | MinNEntries4Fit = 10 |
| Protected Attributes inherited from BmnReport | |
| THttpServer * | fServer |
| Bool_t | fMonitorMode |
| Bool_t | fInitCanvasesDone |
| Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
Private Attributes | |
| BmnDrawOnline * | drawHist |
| TEfficiency * | effTof400 |
| TEfficiency * | contTof400 |
| TEfficiency * | effTof700 |
| TEfficiency * | contTof700 |
| TEfficiency * | effHitsTof400 |
| TEfficiency * | contHitsTof400 |
| TEfficiency * | effHitsTof700 |
| TEfficiency * | contHitsTof700 |
Additional Inherited Members | |
| Public Types inherited from TObject | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
| Static Public Member Functions inherited from BmnSimulationReport | |
| static TClass * | GetStationSetClass (DetectorId det) |
| static char * | HistNameHits (string detName, Short_t iSt) |
| static char * | HistNameHits (TString &detName, Short_t iSt) |
| static char * | HistNameStripDigit (TString &detName, Short_t iSt, Short_t iMod, Short_t iLayer) |
| static TClass * | GetStationSetClass (DetectorId det) |
| static char * | HistNameHits (string detName, Short_t iSt) |
| static char * | HistNameHits (TString &detName, Short_t iSt) |
| static char * | HistNameStripDigit (TString &detName, Short_t iSt, Short_t iMod, Short_t iLayer) |
| Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
| Public Attributes inherited from TObject | |
| kIsOnHeap | |
| kNotDeleted | |
| kZombie | |
| kInconsistent | |
| kBitMask | |
| kSingleKey | |
| kOverwrite | |
| kWriteDelete | |
| kObjInCanvas | |
| kCanDelete | |
| kMustCleanup | |
| kIsReferenced | |
| kHasUUID | |
| kCannotPick | |
| kNoContextMenu | |
| kInvalidObject | |
| Static Protected Member Functions inherited from TObject | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE) |
Definition at line 28 of file BmnPidQaReport.h.
| BmnPidQaReport::BmnPidQaReport | ( | ) |
Definition at line 35 of file BmnPidQaReport.cxx.
References BmnSimulationReport::BmnSimulationReport(), fGlobalTrackVariants, and BmnReport::SetReportName().
| BmnPidQaReport::BmnPidQaReport | ( | TString | name, |
| TString | storageName, | ||
| unordered_map< Double_t, string > | massTable ) |
Definition at line 42 of file BmnPidQaReport.cxx.
References BmnSimulationReport::BmnSimulationReport(), contHitsTof400, contHitsTof700, contTof400, contTof700, effHitsTof400, effHitsTof700, effTof400, effTof700, fGlobalTrackVariants, fMassTable, fPrefix, fStorageName, and BmnReport::SetReportName().
|
virtual |
Definition at line 60 of file BmnPidQaReport.cxx.
|
protectedvirtual |
This function has to write report using Out() for output stream and R() for report elements. This function is called for each report type.
Implements BmnReport.
Definition at line 62 of file BmnPidQaReport.cxx.
References BmnReportElement::DocumentBegin(), BmnReportElement::DocumentEnd(), TObject::GetTitle(), BmnReport::Out(), BmnReport::PrintCanvases(), BmnReport::R(), and BmnReportElement::Title().
|
protectedvirtual |
Implements BmnReport.
Definition at line 72 of file BmnPidQaReport.cxx.
References TH1::Add(), contHitsTof400, contHitsTof700, contTof400, contTof700, DrawEffCont(), drawHist, DrawThreeH1(), DrawThreeH2(), DrawTwoBananas(), effHitsTof400, effHitsTof700, effTof400, effTof700, fMassTable, fPrefix, fStorageName, BmnHistManager::H1(), BmnSimulationReport::HM(), and SetDefaultDrawStyle().
|
protected |
Definition at line 288 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, efficiency(), and TPad::SetGrid().
Referenced by Draw().
|
protected |
Definition at line 206 of file BmnPidQaReport.cxx.
References BmnReport::CreateCanvas(), TString::Data(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
Definition at line 227 of file BmnPidQaReport.cxx.
References BmnReport::CreateCanvas(), TString::Data(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
|
protected |
Definition at line 272 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
Referenced by Draw().
|
protected |
Definition at line 245 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
Referenced by Draw().
|
protected |
Definition at line 261 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
Referenced by Draw().
|
protected |
Definition at line 213 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
|
protected |
Definition at line 234 of file BmnPidQaReport.cxx.
References TCanvas::cd(), BmnReport::CreateCanvas(), TString::Data(), TPad::Divide(), drawHist, BmnSimulationReport::HM(), kLinear, and TPad::SetGrid().
|
private |
Definition at line 78 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 80 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 74 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 76 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 72 of file BmnPidQaReport.h.
Referenced by Draw(), DrawEffCont(), DrawOneH1(), DrawOneH2(), DrawThreeH1(), DrawThreeH2(), DrawTwoBananas(), DrawTwoH1(), and DrawTwoH2().
|
private |
Definition at line 77 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 79 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 73 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
private |
Definition at line 75 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
protected |
Definition at line 63 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and BmnPidQaReport().
|
protected |
Definition at line 66 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
protected |
Definition at line 68 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().
|
protected |
Definition at line 69 of file BmnPidQaReport.h.
Referenced by BmnPidQaReport(), and Draw().