#include <FlavourHistorgrams.h>
Public Member Functions | |
int * | arrayDimension () const |
std::string | baseNameDescription () const |
std::string | baseNameTitle () const |
void | divide (const FlavourHistograms< T > &bHD) const |
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 bool &update, const std::string &folder, const unsigned int &mc) | |
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_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 | 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 | |
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_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 28 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 bool & | statistics_, | ||
const bool & | plotLog_, | ||
const bool & | plotNormalized_, | ||
const std::string & | plotFirst_, | ||
const bool & | update, | ||
const std::string & | folder, | ||
const unsigned int & | mc | ||
) |
Definition at line 146 of file FlavourHistorgrams.h.
References HistoProviderDQM::access(), 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_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 248 of file FlavourHistorgrams.h.
|
inlineprivate |
Definition at line 139 of file FlavourHistorgrams.h.
|
inline |
|
inline |
Definition at line 68 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 67 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::divide | ( | const FlavourHistograms< T > & | bHD | ) | const |
Definition at line 474 of file FlavourHistorgrams.h.
References MultipleCompare::Divide(), 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_s(), and FlavourHistograms< T >::histo_u().
Referenced by python.rootplot.utilities.Hist::__div__(), cuy.FindIssue::__init__(), and EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::epsPlot | ( | const std::string & | name | ) |
Definition at line 462 of file FlavourHistorgrams.h.
References plotResiduals::plot().
Referenced by SoftLeptonTagPlotter::epsPlot(), TrackCountingTagPlotter::epsPlot(), TrackIPTagPlotter::epsPlot(), TrackProbabilityTagPlotter::epsPlot(), JetTagPlotter::epsPlot(), and EffPurFromHistos::epsPlot().
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable | ||
) | const |
Definition at line 265 of file FlavourHistorgrams.h.
Referenced by SoftLeptonTagPlotter::analyzeTag(), TrackCountingTagPlotter::analyzeTag(), TrackIPTagPlotter::analyzeTag(), JetTagPlotter::analyzeTag(), and TrackIPHistograms< T >::fill().
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T & | variable, | ||
const T & | w | ||
) | const |
Definition at line 272 of file FlavourHistorgrams.h.
void FlavourHistograms< T >::fill | ( | const int & | flavour, |
const T * | variable | ||
) | const |
Definition at line 279 of file FlavourHistorgrams.h.
References i.
|
protected |
Definition at line 498 of file FlavourHistorgrams.h.
std::vector< TH1F * > FlavourHistograms< T >::getHistoVector | ( | ) | const |
Definition at line 551 of file FlavourHistorgrams.h.
References getTH1F().
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
|
inline |
Definition at line 86 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 85 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 82 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 89 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 90 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 87 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 88 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 84 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
Definition at line 83 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
|
inline |
|
inline |
Definition at line 70 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
inline |
|
inline |
Definition at line 69 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 325 of file FlavourHistorgrams.h.
References cuy::col, getTH1F(), MonitorElement::getTH1F(), timingPdfMaker::histo, i, max(), and RecoBTag::setTDRStyle().
Referenced by cuy.FindIssue::__init__(), SoftLeptonTagPlotter::psPlot(), TrackCountingTagPlotter::psPlot(), TrackIPTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
Definition at line 75 of file FlavourHistorgrams.h.
|
inline |
Definition at line 73 of file FlavourHistorgrams.h.
|
inline |
Definition at line 74 of file FlavourHistorgrams.h.
|
inline |
Definition at line 62 of file FlavourHistorgrams.h.
|
inline |
Definition at line 63 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::settitle | ( | const char * | title | ) |
Definition at line 306 of file FlavourHistorgrams.h.
Referenced by JetTagPlotter::JetTagPlotter(), and TrackIPHistograms< T >::settitle().
|
inline |
Definition at line 72 of file FlavourHistorgrams.h.
|
inline |
Definition at line 71 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
|
private |
Definition at line 141 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 106 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::arrayDimension(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 111 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameDescription(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 110 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameTitle(), and FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 137 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms().
|
protected |
Definition at line 122 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_all().
|
protected |
Definition at line 127 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_b().
|
protected |
Definition at line 126 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_c().
|
protected |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_d().
|
protected |
Definition at line 130 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_dus().
|
protected |
Definition at line 131 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_dusg().
|
protected |
Definition at line 128 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_g().
|
protected |
Definition at line 129 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_ni().
|
protected |
Definition at line 125 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_s().
|
protected |
Definition at line 124 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::histo_u().
|
protected |
Definition at line 108 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::indexToPlot().
|
protected |
Definition at line 113 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::lowerBound().
|
protected |
Definition at line 119 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::SetMaximum().
|
protected |
Definition at line 107 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::maxDimension().
|
protected |
Definition at line 119 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::SetMinimum().
|
protected |
Definition at line 112 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::nBins().
|
protected |
Definition at line 118 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::plotFirst().
|
protected |
Definition at line 116 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::plotLog().
|
protected |
Definition at line 117 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::plotNormalized().
|
protected |
Definition at line 115 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::statistics().
|
protected |
Definition at line 114 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::upperBound().