|
CbmRoot
|
#include <CbmQaCanvas.h>
Public Member Functions | |
| CbmQaCanvas () | |
| Default constructor needed by the ROOT streamer. | |
| template<typename... Types> | |
| CbmQaCanvas (Types... args) | |
| virtual | ~CbmQaCanvas () |
| Destructor. | |
| void | Divide2D (int nPads) |
| Divide canvas into nPads in 2D in a nice way. | |
Static Public Member Functions | |
| static CbmQaCanvas & | GetDummyCanvas () |
| a static canvas for temporary drawing | |
Private Member Functions | |
| template<typename... Types> | |
| CbmQaCanvas (MyBoolean oldBatchMode, Types... args) | |
| Constructor which calls TCanvas constructor and restores the bach mode. | |
| ClassDef (CbmQaCanvas, 1) | |
Static Private Member Functions | |
| static MyBoolean | SetBatchModeOn () |
| Set batch mode ON and return its old value. | |
A modification of TCanvas which is helpful for storing canvases in a root file together with other objects.
Definition at line 31 of file CbmQaCanvas.h.
|
inline |
Default constructor needed by the ROOT streamer.
Definition at line 34 of file CbmQaCanvas.h.
Referenced by CbmQaCanvas(), ClassDef(), and GetDummyCanvas().
|
inline |
Reimplementation of any existing TCanvas constructor It sets the batch mode ON and then calls the constructor
Definition at line 39 of file CbmQaCanvas.h.
References CbmQaCanvas(), and SetBatchModeOn().
|
inlinevirtual |
Destructor.
Definition at line 44 of file CbmQaCanvas.h.
|
inlineprivate |
Constructor which calls TCanvas constructor and restores the bach mode.
Definition at line 69 of file CbmQaCanvas.h.
|
private |
References CbmQaCanvas().
| void CbmQaCanvas::Divide2D | ( | int | nPads | ) |
Divide canvas into nPads in 2D in a nice way.
Definition at line 36 of file CbmQaCanvas.cxx.
References sqrt().
|
inlinestatic |
a static canvas for temporary drawing
the static variable will be initialised at the first call; deleted at the application end (c++11) Note: Sizes 1x1 to 3x3 pixels lead to crazy text size and an error under Debian 12 Note: Size 4x4 lead to a pad with size 0 and not statbox under Debian 12
Definition at line 51 of file CbmQaCanvas.h.
References CbmQaCanvas().
Referenced by CbmQaHist< HistTypeT >::Fit(), cbm::qa::util::GetHistStats(), and CbmQaHist< HistTypeT >::SetOptStatFit().
|
inlinestaticprivate |
Set batch mode ON and return its old value.
Definition at line 79 of file CbmQaCanvas.h.
Referenced by CbmQaCanvas().