#include <EffPurFromHistos.h>
Public Member Functions | |
void | compute (DQMStore::IBooker &ibook) |
FlavourHistograms< double > * | discriminatorCutEfficScan () const |
FlavourHistograms< double > * | discriminatorNoCutEffic () const |
bool | doCTagPlots (bool Ctag) |
EffPurFromHistos (const std::string &ext, TH1F *h_d, TH1F *h_u, TH1F *h_s, TH1F *h_c, TH1F *h_b, TH1F *h_g, TH1F *h_ni, TH1F *h_dus, TH1F *h_dusg, TH1F *h_pu, const std::string &label, const unsigned int &mc, int nBin=100, double startO=0.005, double endO=1.005) | |
EffPurFromHistos (const FlavourHistograms< double > *dDiscriminatorFC, const std::string &label, const unsigned int &mc, DQMStore::IBooker &ibook, int nBin=100, double startO=0.005, double endO=1.005) | |
void | epsPlot (const std::string &name) |
TH1F * | getEffFlavVsBEff_b () |
TH1F * | getEffFlavVsBEff_c () |
TH1F * | getEffFlavVsBEff_d () |
TH1F * | getEffFlavVsBEff_dus () |
TH1F * | getEffFlavVsBEff_dusg () |
TH1F * | getEffFlavVsBEff_g () |
TH1F * | getEffFlavVsBEff_ni () |
TH1F * | getEffFlavVsBEff_pu () |
TH1F * | getEffFlavVsBEff_s () |
TH1F * | getEffFlavVsBEff_u () |
void | plot (TPad *theCanvas=0) |
void | plot (const std::string &name, const std::string &ext) |
void | psPlot (const std::string &name) |
~EffPurFromHistos () | |
Private Member Functions | |
void | check () |
Private Attributes | |
std::unique_ptr < FlavourHistograms< double > > | discrCutEfficScan |
std::unique_ptr < FlavourHistograms< double > > | discrNoCutEffic |
bool | doCTagPlots_ |
MonitorElement * | EffFlavVsXEff_b |
MonitorElement * | EffFlavVsXEff_c |
MonitorElement * | EffFlavVsXEff_d |
MonitorElement * | EffFlavVsXEff_dus |
MonitorElement * | EffFlavVsXEff_dusg |
MonitorElement * | EffFlavVsXEff_g |
MonitorElement * | EffFlavVsXEff_ni |
MonitorElement * | EffFlavVsXEff_pu |
MonitorElement * | EffFlavVsXEff_s |
MonitorElement * | EffFlavVsXEff_u |
TH1F * | effVersusDiscr_b |
TH1F * | effVersusDiscr_c |
TH1F * | effVersusDiscr_d |
TH1F * | effVersusDiscr_dus |
TH1F * | effVersusDiscr_dusg |
TH1F * | effVersusDiscr_g |
TH1F * | effVersusDiscr_ni |
TH1F * | effVersusDiscr_pu |
TH1F * | effVersusDiscr_s |
TH1F * | effVersusDiscr_u |
double | endOutput |
bool | fromDiscriminatorDistr |
std::string | histoExtension |
std::string | label_ |
unsigned int | mcPlots_ |
int | nBinOutput |
double | startOutput |
Definition at line 13 of file EffPurFromHistos.h.
EffPurFromHistos::EffPurFromHistos | ( | const std::string & | ext, |
TH1F * | h_d, | ||
TH1F * | h_u, | ||
TH1F * | h_s, | ||
TH1F * | h_c, | ||
TH1F * | h_b, | ||
TH1F * | h_g, | ||
TH1F * | h_ni, | ||
TH1F * | h_dus, | ||
TH1F * | h_dusg, | ||
TH1F * | h_pu, | ||
const std::string & | label, | ||
const unsigned int & | mc, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 17 of file EffPurFromHistos.cc.
References check().
EffPurFromHistos::EffPurFromHistos | ( | const FlavourHistograms< double > * | dDiscriminatorFC, |
const std::string & | label, | ||
const unsigned int & | mc, | ||
DQMStore::IBooker & | ibook, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 34 of file EffPurFromHistos.cc.
References FlavourHistograms< T >::baseNameDescription(), FlavourHistograms< T >::baseNameTitle(), discrCutEfficScan, discrNoCutEffic, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_pu, effVersusDiscr_s, effVersusDiscr_u, FlavourHistograms< T >::getHistoVector(), histoExtension, diffTwoXMLs::label, FlavourHistograms< T >::lowerBound(), mcPlots_, FlavourHistograms< T >::nBins(), mathSSE::sqrt(), and FlavourHistograms< T >::upperBound().
EffPurFromHistos::~EffPurFromHistos | ( | ) |
Definition at line 159 of file EffPurFromHistos.cc.
|
private |
Definition at line 333 of file EffPurFromHistos.cc.
References effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_pu, effVersusDiscr_s, effVersusDiscr_u, Exception, and mcPlots_.
Referenced by EffPurFromHistos().
void EffPurFromHistos::compute | ( | DQMStore::IBooker & | ibook | ) |
Definition at line 453 of file EffPurFromHistos.cc.
References HistoProviderDQM::book1D(), doCTagPlots_, EffFlavVsXEff_b, EffFlavVsXEff_c, EffFlavVsXEff_d, EffFlavVsXEff_dus, EffFlavVsXEff_dusg, EffFlavVsXEff_g, EffFlavVsXEff_ni, EffFlavVsXEff_pu, EffFlavVsXEff_s, EffFlavVsXEff_u, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_pu, effVersusDiscr_s, effVersusDiscr_u, endOutput, HcalObjRepresent::Fill(), RecoBTag::findBinClosestYValue(), MonitorElement::getTH1F(), histoExtension, label_, mcPlots_, nBinOutput, MonitorElement::setEfficiencyFlag(), startOutput, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 51 of file EffPurFromHistos.h.
References discrCutEfficScan.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
Definition at line 50 of file EffPurFromHistos.h.
References discrNoCutEffic.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
void EffPurFromHistos::epsPlot | ( | const std::string & | name | ) |
Definition at line 161 of file EffPurFromHistos.cc.
References discrCutEfficScan, discrNoCutEffic, fromDiscriminatorDistr, and plot().
Referenced by JetTagPlotter::epsPlot().
|
inline |
Definition at line 36 of file EffPurFromHistos.h.
References EffFlavVsXEff_b, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 35 of file EffPurFromHistos.h.
References EffFlavVsXEff_c, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 32 of file EffPurFromHistos.h.
References EffFlavVsXEff_d, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 39 of file EffPurFromHistos.h.
References EffFlavVsXEff_dus, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 40 of file EffPurFromHistos.h.
References EffFlavVsXEff_dusg, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 37 of file EffPurFromHistos.h.
References EffFlavVsXEff_g, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 38 of file EffPurFromHistos.h.
References EffFlavVsXEff_ni, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 41 of file EffPurFromHistos.h.
References EffFlavVsXEff_pu, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 34 of file EffPurFromHistos.h.
References EffFlavVsXEff_s, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 33 of file EffPurFromHistos.h.
References EffFlavVsXEff_u, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
void EffPurFromHistos::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 193 of file EffPurFromHistos.cc.
References doCTagPlots_, alignCSCRings::e, EffFlavVsXEff_b, EffFlavVsXEff_c, EffFlavVsXEff_d, EffFlavVsXEff_dus, EffFlavVsXEff_dusg, EffFlavVsXEff_g, EffFlavVsXEff_ni, EffFlavVsXEff_pu, EffFlavVsXEff_s, EffFlavVsXEff_u, MonitorElement::getTH1F(), mcPlots_, and setTDRStyle().
Referenced by cuy.FindIssue::__init__(), epsPlot(), plot(), TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), JetTagPlotter::psPlot(), and psPlot().
void EffPurFromHistos::plot | ( | const std::string & | name, |
const std::string & | ext | ||
) |
Definition at line 175 of file EffPurFromHistos.cc.
References doCTagPlots_, histoExtension, plot(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cuy.FindIssue::__init__().
void EffPurFromHistos::psPlot | ( | const std::string & | name | ) |
|
private |
Definition at line 67 of file EffPurFromHistos.h.
Referenced by discriminatorCutEfficScan(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 67 of file EffPurFromHistos.h.
Referenced by discriminatorNoCutEffic(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 62 of file EffPurFromHistos.h.
Referenced by compute(), doCTagPlots(), and plot().
|
private |
Definition at line 95 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_b(), and plot().
|
private |
Definition at line 94 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_c(), and plot().
|
private |
Definition at line 91 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_d(), and plot().
|
private |
Definition at line 98 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dus(), and plot().
|
private |
Definition at line 99 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dusg(), and plot().
|
private |
Definition at line 96 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_g(), and plot().
|
private |
Definition at line 97 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_ni(), and plot().
|
private |
Definition at line 100 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_pu(), and plot().
|
private |
Definition at line 93 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_s(), and plot().
|
private |
Definition at line 92 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_u(), and plot().
|
private |
Definition at line 77 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 76 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 73 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 80 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 81 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 78 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 79 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 82 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 75 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 74 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 89 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 59 of file EffPurFromHistos.h.
Referenced by epsPlot().
|
private |
Definition at line 65 of file EffPurFromHistos.h.
Referenced by compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 63 of file EffPurFromHistos.h.
Referenced by Mixins._Labelable::_findDependencies(), compute(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 61 of file EffPurFromHistos.h.
Referenced by check(), compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 87 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 88 of file EffPurFromHistos.h.
Referenced by compute().