#include <FlavourHistorgrams.h>
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 std::string &plotFirst_, const std::string &folder, const unsigned int &mc, DQMStore::IGetter &iget) | |
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) | |
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=0) |
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 (TH1F *num, TH1F *den, int bin) |
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 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 151 of file FlavourHistorgrams.h.
References gather_cfg::cout, DQMStore::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 214 of file FlavourHistorgrams.h.
References HistoProviderDQM::book1D(), gather_cfg::cout, MonitorElement::getTH1F(), 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 299 of file FlavourHistorgrams.h.
|
inlineprivate |
Definition at line 144 of file FlavourHistorgrams.h.
|
inline |
|
inline |
Definition at line 69 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 68 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
protected |
Definition at line 512 of file FlavourHistorgrams.h.
|
protected |
Definition at line 524 of file FlavourHistorgrams.h.
void FlavourHistograms< T >::divide | ( | const FlavourHistograms< T > & | bHD | ) |
Definition at line 536 of file FlavourHistorgrams.h.
References newFWLiteAna::bin, getTH1F(), 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__(), and cuy.FindIssue::__init__().
void FlavourHistograms< T >::epsPlot | ( | const std::string & | name | ) |
Definition at line 503 of file FlavourHistorgrams.h.
References plotResiduals::plot().
Referenced by SoftLeptonTagPlotter::epsPlot(), TrackCountingTagPlotter::epsPlot(), TrackProbabilityTagPlotter::epsPlot(), and JetTagPlotter::epsPlot().
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable | ||
) | const |
Definition at line 306 of file FlavourHistorgrams.h.
Referenced by SoftLeptonTagPlotter::analyzeTag(), TrackCountingTagPlotter::analyzeTag(), JetTagPlotter::analyzeTag(), and TrackIPHistograms< T >::fill().
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable, | ||
const T & | w | ||
) | const |
Definition at line 313 of file FlavourHistorgrams.h.
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T * | variable | ||
) | const |
Definition at line 320 of file FlavourHistorgrams.h.
References i.
|
protected |
Definition at line 577 of file FlavourHistorgrams.h.
std::vector< TH1F * > FlavourHistograms< T >::getHistoVector | ( | ) | const |
Definition at line 633 of file FlavourHistorgrams.h.
References getTH1F().
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 71 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
|
inline |
Definition at line 70 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 367 of file FlavourHistorgrams.h.
References cuy::col, getTH1F(), MonitorElement::getTH1F(), timingPdfMaker::histo, i, bookConverter::max, and RecoBTag::setTDRStyle().
Referenced by cuy.FindIssue::__init__(), SoftLeptonTagPlotter::psPlot(), TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
Definition at line 76 of file FlavourHistorgrams.h.
|
inline |
Definition at line 74 of file FlavourHistorgrams.h.
|
inline |
Definition at line 75 of file FlavourHistorgrams.h.
void FlavourHistograms< T >::setEfficiencyFlag | ( | ) |
Definition at line 557 of file FlavourHistorgrams.h.
|
inline |
Definition at line 63 of file FlavourHistorgrams.h.
|
inline |
Definition at line 64 of file FlavourHistorgrams.h.
void FlavourHistograms< T >::settitle | ( | const char * | title | ) |
Definition at line 347 of file FlavourHistorgrams.h.
Referenced by JetTagPlotter::JetTagPlotter(), and TrackIPHistograms< T >::settitle().
|
inline |
Definition at line 73 of file FlavourHistorgrams.h.
|
inline |
Definition at line 72 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
private |
Definition at line 146 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 110 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::arrayDimension(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 115 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameDescription(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 114 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameTitle(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 142 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 126 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_all().
|
protected |
Definition at line 131 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_b().
|
protected |
Definition at line 130 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_c().
|
protected |
Definition at line 127 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_d().
|
protected |
Definition at line 134 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_dus().
|
protected |
Definition at line 135 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_dusg().
|
protected |
Definition at line 132 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_g().
|
protected |
Definition at line 133 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_ni().
|
protected |
Definition at line 136 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_pu().
|
protected |
Definition at line 129 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_s().
|
protected |
Definition at line 128 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_u().
|
protected |
Definition at line 112 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::indexToPlot().
|
protected |
Definition at line 117 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::lowerBound().
|
protected |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::SetMaximum().
|
protected |
Definition at line 111 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::maxDimension().
|
protected |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::SetMinimum().
|
protected |
Definition at line 116 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::nBins().
|
protected |
Definition at line 122 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::plotFirst().
|
protected |
Definition at line 120 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::plotLog().
|
protected |
Definition at line 121 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::plotNormalized().
|
protected |
Definition at line 119 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::statistics().
|
protected |
Definition at line 118 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::upperBound().