Collect information describing the x-axis of an analysis histogram. More...
#include <HistAxis.h>
Public Member Functions | |
_HistAxis (const std::string &label, const Binning &bins, const T &var) | |
_HistAxis (const std::vector< std::string > &labels, const std::vector< Binning > &bins, const std::vector< T > &vars) | |
_HistAxis (const std::string &labelX, const Binning &binsX, const T &varX, const std::string &labelY, const Binning &binsY, const T &varY) | |
_HistAxis (const std::string &label, int nx, double x0, double x1, const T &var) | |
Shortcut for simple binnings. More... | |
_HistAxis (const std::string &labelX, int nx, double x0, double x1, const T &varX, const std::string &labelY, int ny, double y0, double y1, const T &varY) | |
Shortcut for simple binnings. More... | |
unsigned int | NDimensions () const |
std::vector< std::string > | GetLabels () const |
std::vector< Binning > | GetBinnings () const |
std::vector< T > | GetVars () const |
T | GetMultiDVar () const |
Protected Attributes | |
std::vector< std::string > | fLabels |
std::vector< Binning > | fBins |
std::vector< T > | fVars |
Collect information describing the x-axis of an analysis histogram.
That is, what it should be labelled, what the binning should be, and what variable will be being filled into it.
Definition at line 14 of file HistAxis.h.
ana::_HistAxis< T >::_HistAxis | ( | const std::string & | label, |
const Binning & | bins, | ||
const T & | var | ||
) |
Definition at line 9 of file HistAxis.cxx.
ana::_HistAxis< T >::_HistAxis | ( | const std::vector< std::string > & | labels, |
const std::vector< Binning > & | bins, | ||
const std::vector< T > & | vars | ||
) |
Definition at line 20 of file HistAxis.cxx.
ana::_HistAxis< T >::_HistAxis | ( | const std::string & | labelX, |
const Binning & | binsX, | ||
const T & | varX, | ||
const std::string & | labelY, | ||
const Binning & | binsY, | ||
const T & | varY | ||
) |
Definition at line 31 of file HistAxis.cxx.
ana::_HistAxis< T >::_HistAxis | ( | const std::string & | label, |
int | nx, | ||
double | x0, | ||
double | x1, | ||
const T & | var | ||
) |
Shortcut for simple binnings.
Definition at line 45 of file HistAxis.cxx.
ana::_HistAxis< T >::_HistAxis | ( | const std::string & | labelX, |
int | nx, | ||
double | x0, | ||
double | x1, | ||
const T & | varX, | ||
const std::string & | labelY, | ||
int | ny, | ||
double | y0, | ||
double | y1, | ||
const T & | varY | ||
) |
Shortcut for simple binnings.
Definition at line 54 of file HistAxis.cxx.
|
inline |
Definition at line 49 of file HistAxis.h.
|
inline |
Definition at line 48 of file HistAxis.h.
T ana::_HistAxis< T >::GetMultiDVar | ( | ) | const |
A variable "flattening" all the dimensions into one 1D value. Use sparingly.
Definition at line 66 of file HistAxis.cxx.
|
inline |
Definition at line 50 of file HistAxis.h.
|
inline |
Definition at line 46 of file HistAxis.h.
|
protected |
Definition at line 58 of file HistAxis.h.
|
protected |
Definition at line 57 of file HistAxis.h.
|
protected |
Definition at line 59 of file HistAxis.h.