CbmRoot
|
#include <CbmQaHist.h>
Public Member Functions | |
CbmQaHist () | |
Default constructor only for the streamer. | |
CbmQaHist (const CbmQaHist &h) | |
Copy constructor. | |
template<typename... Types> | |
CbmQaHist (Types... args) | |
~CbmQaHist () | |
Destructor. | |
template<typename... Types> | |
TFitResultPtr | Fit (Types... args) |
void | SetOptStat (Int_t stat=1) |
Set stat drawing options and autoresize the stat window. | |
void | SetOptFit (Int_t fit=1) |
Set fit drawing options and autoresize the stat window. | |
void | SetOptStatFit (int stat, int fit) |
Set stat & fit drawing options and autoresize the stat window. | |
Private Member Functions | |
ClassDefNV (CbmQaHist, 1) | |
Private Attributes | |
int | fOptStat = 1 |
int | fOptFit = 0 |
A modification of TH* and TProfile* classes that keeps statistics & fit drawing options and resizes the stat window accordingly without the actual drawing. In the original classes, hist->Draw() & canv->Update() must be called for resetting Stat/Fit window.
Definition at line 37 of file CbmQaHist.h.
|
inline |
Default constructor only for the streamer.
Definition at line 40 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::fOptFit, and CbmQaHist< HistTypeT >::fOptStat.
|
inline |
Copy constructor.
Definition at line 52 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::SetOptStatFit().
|
inline |
Reimplementation of all other HistTypeT constructors that creates a stat window with current gStyle options.
Definition at line 57 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::SetOptStatFit().
Destructor.
Definition at line 66 of file CbmQaHist.h.
|
private |
|
inline |
Reimplementation of Fit() that suppresses an immediate drawing in the active window
Definition at line 72 of file CbmQaHist.h.
References CbmQaCanvas::GetDummyCanvas().
|
inline |
Set fit drawing options and autoresize the stat window.
Definition at line 108 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::fOptStat, and CbmQaHist< HistTypeT >::SetOptStatFit().
|
inline |
Set stat drawing options and autoresize the stat window.
Definition at line 105 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::fOptFit, and CbmQaHist< HistTypeT >::SetOptStatFit().
|
inline |
Set stat & fit drawing options and autoresize the stat window.
Definition at line 111 of file CbmQaHist.h.
References CbmQaHist< HistTypeT >::fOptFit, CbmQaHist< HistTypeT >::fOptStat, and CbmQaCanvas::GetDummyCanvas().
Referenced by CbmQaHist< HistTypeT >::CbmQaHist(), CbmQaHist< HistTypeT >::CbmQaHist(), CbmQaHist< HistTypeT >::SetOptFit(), and CbmQaHist< HistTypeT >::SetOptStat().
|
private |
Definition at line 143 of file CbmQaHist.h.
Referenced by CbmQaHist< HistTypeT >::CbmQaHist(), CbmQaHist< HistTypeT >::SetOptStat(), and CbmQaHist< HistTypeT >::SetOptStatFit().
|
private |
Definition at line 142 of file CbmQaHist.h.
Referenced by CbmQaHist< HistTypeT >::CbmQaHist(), CbmQaHist< HistTypeT >::SetOptFit(), and CbmQaHist< HistTypeT >::SetOptStatFit().