CbmRoot
|
#include <CbmQaCanvas.h>
Public Member Functions | |
CbmQaCanvas () | |
Default constructor needed by the ROOT streamer. More... | |
template<typename... Types> | |
CbmQaCanvas (Types... args) | |
virtual | ~CbmQaCanvas () |
Destructor. More... | |
void | Divide2D (int nPads) |
Divide canvas into nPads in 2D in a nice way. More... | |
Private Member Functions | |
template<typename... Types> | |
enum MyBoolean Bool_t | CbmQaCanvas (MyBoolean oldBatchMode, Types... args) |
Constructor which calls TCanvas constructor and restores the bach mode. More... | |
ClassDef (CbmQaCanvas, 1) | |
Static Private Member Functions | |
static MyBoolean | SetBatchModeOn () |
Set batch mode ON and return its old value. More... | |
A modification of TCanvas which is helpful for storing canvases in a root file together with other objects.
Definition at line 27 of file CbmQaCanvas.h.
|
inline |
Default constructor needed by the ROOT streamer.
Definition at line 30 of file CbmQaCanvas.h.
|
inline |
Reimplementation of any existing TCanvas constructor It sets the batch mode ON and then calls the constructor
Definition at line 35 of file CbmQaCanvas.h.
|
inlinevirtual |
Destructor.
Definition at line 38 of file CbmQaCanvas.h.
|
inlineprivate |
Constructor which calls TCanvas constructor and restores the bach mode.
Use a specific type name in order to avoid ambiguities when unrolling templates
Definition at line 50 of file CbmQaCanvas.h.
|
private |
void CbmQaCanvas::Divide2D | ( | int | nPads | ) |
Divide canvas into nPads in 2D in a nice way.
Definition at line 29 of file CbmQaCanvas.cxx.
References sqrt().
Referenced by CbmMuchTransportQa::InitCanvases(), and CbmMuchDigitizerQa::InitCanvases().
|
inlinestaticprivate |
Set batch mode ON and return its old value.
Definition at line 59 of file CbmQaCanvas.h.