CbmRoot
|
#include <CbmQaEff.h>
Public Member Functions | |
CbmQaEff () | |
Default constructor. | |
CbmQaEff (const CbmQaEff &other) | |
Copy constructor. | |
template<typename... Args> | |
CbmQaEff (Args... args) | |
~CbmQaEff ()=default | |
Destructor. | |
template<typename... Args> | |
TFitResultPtr | Fit (Args... args) |
Fit method reimplementation. | |
void | Paint (Option_t *opt) |
void | Draw (Option_t *opt="") |
CbmQaEff * | DrawCopy (Option_t *opt, const char *postfix="_copy") const |
CbmQaEff * | Integral (double lo, double hi) |
std::tuple< double, double, double > | GetTotalEfficiency () const |
void | SetStats () |
Sets statistics box for efficiency. | |
ClassDef (CbmQaEff, 1) | |
Static Public Attributes | |
static constexpr int | kMarkerStyle = 20 |
Private Attributes | |
TPaveText * | fpStats = nullptr |
Statistics box. | |
Implementation of ROOT TEfficiency class, which adds handy functionality and improves fitting and drawing
Definition at line 29 of file CbmQaEff.h.
CbmQaEff::CbmQaEff | ( | ) |
CbmQaEff::CbmQaEff | ( | const CbmQaEff & | other | ) |
Copy constructor.
Definition at line 21 of file CbmQaEff.cxx.
CbmQaEff::CbmQaEff | ( | Args... | args | ) |
Other constructors
Args | Variadic template parameter, which is passed to the constructor of base class |
Definition at line 109 of file CbmQaEff.h.
|
default |
Destructor.
CbmQaEff::ClassDef | ( | CbmQaEff | , |
1 | ) |
|
inline |
Definition at line 63 of file CbmQaEff.h.
References kMarkerStyle.
CbmQaEff * CbmQaEff::DrawCopy | ( | Option_t * | opt, |
const char * | postfix = "_copy" ) const |
Draws copy of the object
opt | Option string |
postfix | Postfix of the name |
Definition at line 112 of file CbmQaEff.cxx.
|
inline |
Fit method reimplementation.
Definition at line 49 of file CbmQaEff.h.
std::tuple< double, double, double > CbmQaEff::GetTotalEfficiency | ( | ) | const |
Gets total integrated efficiency
Definition at line 25 of file CbmQaEff.cxx.
Referenced by SetStats().
CbmQaEff * CbmQaEff::Integral | ( | double | lo, |
double | hi ) |
Gets integrated efficiency in a selected range
lo | Lower bound of integration range |
hi | Higher bound of integration range |
Definition at line 72 of file CbmQaEff.cxx.
References CbmQaEff().
|
inline |
Definition at line 54 of file CbmQaEff.h.
References fpStats, and SetStats().
void CbmQaEff::SetStats | ( | ) |
Sets statistics box for efficiency.
Definition at line 133 of file CbmQaEff.cxx.
References fpStats, and GetTotalEfficiency().
Referenced by Paint().
|
private |
|
staticconstexpr |
Definition at line 31 of file CbmQaEff.h.
Referenced by Draw().