#include <FlavourHistorgrams.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
int * | arrayDimension () const |
std::string | baseNameDescription () const |
std::string | baseNameTitle () const |
void | divide (const FlavourHistograms< T > &bHD) |
void | epsPlot (const std::string &name) |
void | fill (const int &flavour, const T &variable) const |
void | fill (const int &flavour, const T &variable, const T &w) const |
void | fill (const int &flavour, const T *variable) const |
FlavourHistograms (const std::string &baseNameTitle_, const std::string &baseNameDescription_, const int &nBins_, const double &lowerBound_, const double &upperBound_, const bool &statistics_, const bool &plotLog_, const bool &plotNormalized_, const std::string &plotFirst_, const std::string &folder, const unsigned int &mc, DQMStore::IBooker &ibook) | |
FlavourHistograms (const std::string &baseNameTitle_, const std::string &baseNameDescription_, const int &nBins_, const double &lowerBound_, const double &upperBound_, const std::string &plotFirst_, const std::string &folder, const unsigned int &mc, DQMStore::IGetter &iget) | |
std::vector< TH1F * > | getHistoVector () const |
TH1F * | histo_all () const |
TH1F * | histo_b () const |
TH1F * | histo_c () const |
TH1F * | histo_d () const |
TH1F * | histo_dus () const |
TH1F * | histo_dusg () const |
TH1F * | histo_g () const |
TH1F * | histo_ni () const |
TH1F * | histo_pu () const |
TH1F * | histo_s () const |
TH1F * | histo_u () const |
int | indexToPlot () const |
double | lowerBound () const |
int | maxDimension () const |
int | nBins () const |
void | plot (TPad *theCanvas=nullptr) |
std::string | plotFirst () const |
bool | plotLog () const |
bool | plotNormalized () const |
void | setEfficiencyFlag () |
void | SetMaximum (const double &max) |
void | SetMinimum (const double &min) |
void | settitle (const char *title) |
bool | statistics () const |
double | upperBound () const |
virtual | ~FlavourHistograms () |
Protected Member Functions | |
double | ClopperPearsonUnc (double num, double den) |
void | ComputeEfficiency (TH1F *num, TH1F *den, int bin) |
void | fillVariable (const int &flavour, const T &var, const T &w) const |
Protected Attributes | |
int * | theArrayDimension |
std::string | theBaseNameDescription |
std::string | theBaseNameTitle |
TCanvas * | theCanvas |
MonitorElement * | theHisto_all |
MonitorElement * | theHisto_b |
MonitorElement * | theHisto_c |
MonitorElement * | theHisto_d |
MonitorElement * | theHisto_dus |
MonitorElement * | theHisto_dusg |
MonitorElement * | theHisto_g |
MonitorElement * | theHisto_ni |
MonitorElement * | theHisto_pu |
MonitorElement * | theHisto_s |
MonitorElement * | theHisto_u |
int | theIndexToPlot |
double | theLowerBound |
double | theMax |
int | theMaxDimension |
double | theMin |
int | theNBins |
std::string | thePlotFirst |
bool | thePlotLog |
bool | thePlotNormalized |
bool | theStatistics |
double | theUpperBound |
Private Member Functions | |
FlavourHistograms () | |
Private Attributes | |
unsigned int | mcPlots_ |
Definition at line 26 of file FlavourHistorgrams.h.
typedef dqm::legacy::DQMStore FlavourHistograms< T >::DQMStore |
Definition at line 28 of file FlavourHistorgrams.h.
typedef dqm::legacy::MonitorElement FlavourHistograms< T >::MonitorElement |
Definition at line 29 of file FlavourHistorgrams.h.
FlavourHistograms< T >::FlavourHistograms | ( | const std::string & | baseNameTitle_, |
const std::string & | baseNameDescription_, | ||
const int & | nBins_, | ||
const double & | lowerBound_, | ||
const double & | upperBound_, | ||
const std::string & | plotFirst_, | ||
const std::string & | folder, | ||
const unsigned int & | mc, | ||
DQMStore::IGetter & | iget | ||
) |
Definition at line 157 of file FlavourHistorgrams.h.
References gather_cfg::cout, printsummarytable::folder, dqm::implementation::IGetter::get(), FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theArrayDimension, FlavourHistograms< T >::theBaseNameTitle, FlavourHistograms< T >::theCanvas, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_pu, FlavourHistograms< T >::theHisto_s, FlavourHistograms< T >::theHisto_u, and FlavourHistograms< T >::thePlotFirst.
FlavourHistograms< T >::FlavourHistograms | ( | const std::string & | baseNameTitle_, |
const std::string & | baseNameDescription_, | ||
const int & | nBins_, | ||
const double & | lowerBound_, | ||
const double & | upperBound_, | ||
const bool & | statistics_, | ||
const bool & | plotLog_, | ||
const bool & | plotNormalized_, | ||
const std::string & | plotFirst_, | ||
const std::string & | folder, | ||
const unsigned int & | mc, | ||
DQMStore::IBooker & | ibook | ||
) |
Definition at line 233 of file FlavourHistorgrams.h.
References HistoProviderDQM::book1D(), gather_cfg::cout, dqm::impl::MonitorElement::enableSumw2(), printsummarytable::folder, FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theArrayDimension, FlavourHistograms< T >::theBaseNameDescription, FlavourHistograms< T >::theBaseNameTitle, FlavourHistograms< T >::theCanvas, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_pu, FlavourHistograms< T >::theHisto_s, FlavourHistograms< T >::theHisto_u, FlavourHistograms< T >::theLowerBound, FlavourHistograms< T >::theNBins, FlavourHistograms< T >::thePlotFirst, FlavourHistograms< T >::theStatistics, and FlavourHistograms< T >::theUpperBound.
|
virtual |
Definition at line 345 of file FlavourHistorgrams.h.
|
inlineprivate |
Definition at line 151 of file FlavourHistorgrams.h.
|
inline |
Definition at line 86 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theArrayDimension.
Referenced by TrackIPHistograms< T >::fill().
|
inline |
Definition at line 78 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theBaseNameDescription.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 77 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theBaseNameTitle.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
protected |
Definition at line 570 of file FlavourHistorgrams.h.
References SiStripPI::max, and EgammaValidation_cff::num.
|
protected |
Definition at line 578 of file FlavourHistorgrams.h.
References newFWLiteAna::bin, and EgammaValidation_cff::num.
void FlavourHistograms< T >::divide | ( | const FlavourHistograms< T > & | bHD | ) |
Definition at line 592 of file FlavourHistorgrams.h.
References newFWLiteAna::bin, FlavourHistograms< T >::histo_all(), FlavourHistograms< T >::histo_b(), FlavourHistograms< T >::histo_c(), FlavourHistograms< T >::histo_d(), FlavourHistograms< T >::histo_dus(), FlavourHistograms< T >::histo_dusg(), FlavourHistograms< T >::histo_g(), FlavourHistograms< T >::histo_ni(), FlavourHistograms< T >::histo_pu(), FlavourHistograms< T >::histo_s(), and FlavourHistograms< T >::histo_u().
Referenced by python.rootplot.utilities.Hist::__div__().
void FlavourHistograms< T >::epsPlot | ( | const std::string & | name | ) |
Definition at line 562 of file FlavourHistorgrams.h.
References Skims_PA_cff::name, and plotFactory::plot.
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable | ||
) | const |
Definition at line 352 of file FlavourHistorgrams.h.
References GenHFHadronMatcher_cff::flavour, and taus_updatedMVAIds_cff::variable.
Referenced by TrackIPHistograms< T >::fill().
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable, | ||
const T & | w | ||
) | const |
Definition at line 358 of file FlavourHistorgrams.h.
References GenHFHadronMatcher_cff::flavour, taus_updatedMVAIds_cff::variable, and w.
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T * | variable | ||
) | const |
Definition at line 364 of file FlavourHistorgrams.h.
References GenHFHadronMatcher_cff::flavour, mps_fire::i, and taus_updatedMVAIds_cff::variable.
|
protected |
Definition at line 634 of file FlavourHistorgrams.h.
References GenHFHadronMatcher_cff::flavour, trigObjTnPSource_cfi::var, and w.
std::vector< TH1F * > FlavourHistograms< T >::getHistoVector | ( | ) | const |
Definition at line 701 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 91 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_all.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 96 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_b.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 95 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_c.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 92 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_d.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 99 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_dus.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 100 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_dusg.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 97 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_g.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 98 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_ni.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 101 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_pu.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 94 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_s.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 93 of file FlavourHistorgrams.h.
References dqm::legacy::MonitorElement::getTH1F(), and FlavourHistograms< T >::theHisto_u.
Referenced by FlavourHistograms< T >::divide().
|
inline |
Definition at line 88 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theIndexToPlot.
Referenced by TrackIPHistograms< T >::fill().
|
inline |
Definition at line 80 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theLowerBound.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 87 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theMaxDimension.
Referenced by TrackIPHistograms< T >::fill().
|
inline |
Definition at line 79 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theNBins.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::plot | ( | TPad * | theCanvas = nullptr | ) |
Definition at line 409 of file FlavourHistorgrams.h.
References cuy::col, timingPdfMaker::histo, mps_fire::i, RecoTauValidation_cfi::lineStyle, RecoTauValidation_cfi::lineWidth, RecoTauValidation_cfi::markerSize, RecoTauValidation_cfi::markerStyle, SiStripPI::max, and RecoBTag::setTDRStyle().
|
inline |
Definition at line 85 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::thePlotFirst.
|
inline |
|
inline |
Definition at line 84 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::thePlotNormalized.
void FlavourHistograms< T >::setEfficiencyFlag | ( | ) |
Definition at line 614 of file FlavourHistorgrams.h.
|
inline |
Definition at line 73 of file FlavourHistorgrams.h.
References SiStripPI::max, and FlavourHistograms< T >::theMax.
|
inline |
Definition at line 74 of file FlavourHistorgrams.h.
References min(), and FlavourHistograms< T >::theMin.
void FlavourHistograms< T >::settitle | ( | const char * | title | ) |
Definition at line 389 of file FlavourHistorgrams.h.
References runGCPTkAlMap::title.
Referenced by TrackIPHistograms< T >::settitle().
|
inline |
Definition at line 82 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theStatistics.
|
inline |
Definition at line 81 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theUpperBound.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
private |
Definition at line 153 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 117 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::arrayDimension(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 122 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::baseNameDescription(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 121 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::baseNameTitle(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 148 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 133 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_all().
|
protected |
Definition at line 138 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_b().
|
protected |
Definition at line 137 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_c().
|
protected |
Definition at line 134 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_d().
|
protected |
Definition at line 141 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_dus().
|
protected |
Definition at line 142 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_dusg().
|
protected |
Definition at line 139 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_g().
|
protected |
Definition at line 140 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_ni().
|
protected |
Definition at line 143 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_pu().
|
protected |
Definition at line 136 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_s().
|
protected |
Definition at line 135 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::histo_u().
|
protected |
Definition at line 119 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::indexToPlot().
|
protected |
Definition at line 124 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::lowerBound().
|
protected |
Definition at line 130 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::SetMaximum().
|
protected |
Definition at line 118 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::maxDimension().
|
protected |
Definition at line 130 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::SetMinimum().
|
protected |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::nBins().
|
protected |
Definition at line 129 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::plotFirst().
|
protected |
Definition at line 127 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plotLog().
|
protected |
Definition at line 128 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plotNormalized().
|
protected |
Definition at line 126 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::statistics().
|
protected |
Definition at line 125 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::upperBound().