#include <anautil.h>
Public Member Functions | |
void | add2DHistogram (TString, unsigned int, float, float, TString, unsigned int, float, float, std::function< float()>, std::function< float()>) |
void | add2DVecHistogram (TString, unsigned int, float, float, TString, unsigned int, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr) |
void | add2DVecHistogram (TString, std::vector< float >, TString, unsigned int, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr) |
void | addHistogram (TString, unsigned int, float, float, std::function< float()>) |
void | addHistogram (TString, std::vector< float >, std::function< float()>) |
void | addVecHistogram (TString, unsigned int, float, float, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr) |
void | addVecHistogram (TString, std::vector< float >, std::function< std::vector< float >()>, std::function< std::vector< float >()> wgt=nullptr) |
Histograms () | |
~Histograms () | |
Public Attributes | |
std::map< TString, std::tuple< unsigned int, float, float, std::function< float()> > > | th1fs |
std::map< TString, std::tuple< std::vector< float >, std::function< float()> > > | th1fs_varbin |
std::map< TString, std::tuple< unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > | th1vecfs |
std::map< TString, std::tuple< std::vector< float >, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > | th1vecfs_varbin |
std::map< std::pair< TString, TString >, std::tuple< unsigned int, float, float, unsigned int, float, float, std::function< float()>, std::function< float()> > > | th2fs |
std::map< std::pair< TString, TString >, std::tuple< unsigned int, float, float, unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > | th2vecfs |
std::map< std::pair< TString, TString >, std::tuple< std::vector< float >, unsigned int, float, float, std::function< std::vector< float >)>, std::function< std::vector< float >)>, std::function< std::vector< float >)> > > | th2vecfs_xvarbin |
Histograms::Histograms | ( | ) |
Definition at line 1097 of file anautil.cc.
Histograms::~Histograms | ( | ) |
Definition at line 1100 of file anautil.cc.
void Histograms::add2DHistogram | ( | TString | name, |
unsigned int | n, | ||
float | min, | ||
float | max, | ||
TString | namey, | ||
unsigned int | ny, | ||
float | miny, | ||
float | maxy, | ||
std::function< float()> | varxdef, | ||
std::function< float()> | varydef | ||
) |
Definition at line 1149 of file anautil.cc.
References RooUtil::error(), WZElectronSkims53X_cff::max, SiStripPI::min, create_idmaps::n, and mergeVDriftHistosByStation::name.
void Histograms::add2DVecHistogram | ( | TString | name, |
unsigned int | n, | ||
float | min, | ||
float | max, | ||
TString | namey, | ||
unsigned int | ny, | ||
float | miny, | ||
float | maxy, | ||
std::function< std::vector< float >()> | varxdef, | ||
std::function< std::vector< float >()> | varydef, | ||
std::function< std::vector< float >()> | wgt = nullptr |
||
) |
Definition at line 1167 of file anautil.cc.
References RooUtil::error(), WZElectronSkims53X_cff::max, SiStripPI::min, create_idmaps::n, and mergeVDriftHistosByStation::name.
void Histograms::add2DVecHistogram | ( | TString | name, |
std::vector< float > | xboundaries, | ||
TString | namey, | ||
unsigned int | ny, | ||
float | miny, | ||
float | maxy, | ||
std::function< std::vector< float >()> | varxdef, | ||
std::function< std::vector< float >()> | varydef, | ||
std::function< std::vector< float >()> | wgt = nullptr |
||
) |
Definition at line 1186 of file anautil.cc.
References RooUtil::error(), and mergeVDriftHistosByStation::name.
void Histograms::addHistogram | ( | TString | name, |
unsigned int | n, | ||
float | min, | ||
float | max, | ||
std::function< float()> | vardef | ||
) |
Definition at line 1104 of file anautil.cc.
References RooUtil::error(), WZElectronSkims53X_cff::max, SiStripPI::min, create_idmaps::n, and mergeVDriftHistosByStation::name.
void Histograms::addHistogram | ( | TString | name, |
std::vector< float > | boundaries, | ||
std::function< float()> | vardef | ||
) |
Definition at line 1128 of file anautil.cc.
References RooUtil::error(), and mergeVDriftHistosByStation::name.
void Histograms::addVecHistogram | ( | TString | name, |
unsigned int | n, | ||
float | min, | ||
float | max, | ||
std::function< std::vector< float >()> | vardef, | ||
std::function< std::vector< float >()> | wgt = nullptr |
||
) |
Definition at line 1114 of file anautil.cc.
References RooUtil::error(), WZElectronSkims53X_cff::max, SiStripPI::min, create_idmaps::n, and mergeVDriftHistosByStation::name.
Referenced by bookDuplicateRateSet(), bookEfficiencySet(), and bookFakeRateSet().
void Histograms::addVecHistogram | ( | TString | name, |
std::vector< float > | boundaries, | ||
std::function< std::vector< float >()> | vardef, | ||
std::function< std::vector< float >()> | wgt = nullptr |
||
) |
Definition at line 1137 of file anautil.cc.
References RooUtil::error(), and mergeVDriftHistosByStation::name.
std::map<TString, std::tuple<unsigned int, float, float, std::function<float()> > > RooUtil::Histograms::th1fs |
std::map<TString, std::tuple<std::vector<float>, std::function<float()> > > RooUtil::Histograms::th1fs_varbin |
std::map< TString, std::tuple<unsigned int, float, float, std::function<std::vector<float>)>, std::function<std::vector<float>)> > > RooUtil::Histograms::th1vecfs |
std::map<TString, std::tuple<std::vector<float>, std::function<std::vector<float>)>, std::function<std::vector<float>)> > > RooUtil::Histograms::th1vecfs_varbin |
std::map< std::pair<TString, TString>, std::tuple<unsigned int, float, float, unsigned int, float, float, std::function<float()>, std::function<float()> > > RooUtil::Histograms::th2fs |
std::map<std::pair<TString, TString>, std::tuple<unsigned int, float, float, unsigned int, float, float, std::function<std::vector<float>)>, std::function<std::vector<float>)>, std::function<std::vector<float>)> > > RooUtil::Histograms::th2vecfs |