#include <EffPurFromHistos.h>
Public Member Functions | |
void | compute () |
FlavourHistograms< double > * | discriminatorCutEfficScan () const |
FlavourHistograms< double > * | discriminatorNoCutEffic () const |
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, const std::string &label, const bool &mc, int nBin=100, double startO=0.005, double endO=1.005) | |
EffPurFromHistos (const FlavourHistograms< double > *dDiscriminatorFC, const std::string &label, const bool &mc, 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_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 | |
FlavourHistograms< double > * | discrCutEfficScan |
FlavourHistograms< double > * | discrNoCutEffic |
MonitorElement * | EffFlavVsBEff_b |
MonitorElement * | EffFlavVsBEff_c |
MonitorElement * | EffFlavVsBEff_d |
MonitorElement * | EffFlavVsBEff_dus |
MonitorElement * | EffFlavVsBEff_dusg |
MonitorElement * | EffFlavVsBEff_g |
MonitorElement * | EffFlavVsBEff_ni |
MonitorElement * | EffFlavVsBEff_s |
MonitorElement * | EffFlavVsBEff_u |
TH1F * | effVersusDiscr_b |
TH1F * | effVersusDiscr_c |
TH1F * | effVersusDiscr_d |
TH1F * | effVersusDiscr_dus |
TH1F * | effVersusDiscr_dusg |
TH1F * | effVersusDiscr_g |
TH1F * | effVersusDiscr_ni |
TH1F * | effVersusDiscr_s |
TH1F * | effVersusDiscr_u |
double | endOutput |
bool | fromDiscriminatorDistr |
std::string | histoExtension |
std::string | label_ |
bool | mcPlots_ |
int | nBinOutput |
double | startOutput |
Definition at line 14 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, | ||
const std::string & | label, | ||
const bool & | mc, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 20 of file EffPurFromHistos.cc.
References check().
EffPurFromHistos::EffPurFromHistos | ( | const FlavourHistograms< double > * | dDiscriminatorFC, |
const std::string & | label, | ||
const bool & | mc, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 36 of file EffPurFromHistos.cc.
References FlavourHistograms< T >::baseNameDescription(), FlavourHistograms< T >::baseNameTitle(), FlavourHistograms< T >::divide(), FlavourHistograms< T >::getHistoVector(), 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(), FlavourHistograms< T >::histo_u(), diffTwoXMLs::label, FlavourHistograms< T >::lowerBound(), FlavourHistograms< T >::nBins(), FlavourHistograms< T >::SetMinimum(), mathSSE::sqrt(), and FlavourHistograms< T >::upperBound().
EffPurFromHistos::~EffPurFromHistos | ( | ) |
Definition at line 142 of file EffPurFromHistos.cc.
|
private |
Definition at line 313 of file EffPurFromHistos.cc.
References effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_s, effVersusDiscr_u, and edm::hlt::Exception.
Referenced by EffPurFromHistos().
void EffPurFromHistos::compute | ( | ) |
Definition at line 396 of file EffPurFromHistos.cc.
References HistoProviderDQM::book1D(), EffFlavVsBEff_b, EffFlavVsBEff_c, EffFlavVsBEff_d, EffFlavVsBEff_dus, EffFlavVsBEff_dusg, EffFlavVsBEff_g, EffFlavVsBEff_ni, EffFlavVsBEff_s, EffFlavVsBEff_u, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_s, effVersusDiscr_u, endOutput, HcalObjRepresent::Fill(), RecoBTag::findBinClosestYValue(), MonitorElement::getTH1F(), histoExtension, label_, mcPlots_, nBinOutput, and startOutput.
Referenced by JetTagPlotter::finalize().
|
inline |
Definition at line 59 of file EffPurFromHistos.h.
References discrCutEfficScan.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), TrackIPTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
Definition at line 58 of file EffPurFromHistos.h.
References discrNoCutEffic.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), TrackIPTagPlotter::psPlot(), and JetTagPlotter::psPlot().
void EffPurFromHistos::epsPlot | ( | const std::string & | name | ) |
Definition at line 161 of file EffPurFromHistos.cc.
References discrCutEfficScan, discrNoCutEffic, FlavourHistograms< T >::epsPlot(), fromDiscriminatorDistr, and plot().
Referenced by JetTagPlotter::epsPlot().
|
inline |
Definition at line 40 of file EffPurFromHistos.h.
References EffFlavVsBEff_b, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 39 of file EffPurFromHistos.h.
References EffFlavVsBEff_c, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 35 of file EffPurFromHistos.h.
References EffFlavVsBEff_d, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 43 of file EffPurFromHistos.h.
References EffFlavVsBEff_dus, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 44 of file EffPurFromHistos.h.
References EffFlavVsBEff_dusg, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 41 of file EffPurFromHistos.h.
References EffFlavVsBEff_g, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 42 of file EffPurFromHistos.h.
References EffFlavVsBEff_ni, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 38 of file EffPurFromHistos.h.
References EffFlavVsBEff_s, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 37 of file EffPurFromHistos.h.
References EffFlavVsBEff_u, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
void EffPurFromHistos::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 183 of file EffPurFromHistos.cc.
References alignCSCRings::e, EffFlavVsBEff_b, EffFlavVsBEff_c, EffFlavVsBEff_d, EffFlavVsBEff_dus, EffFlavVsBEff_dusg, EffFlavVsBEff_g, EffFlavVsBEff_ni, EffFlavVsBEff_s, EffFlavVsBEff_u, MonitorElement::getTH1F(), and plotscripts::setTDRStyle().
Referenced by epsPlot(), plot(), TrackCountingTagPlotter::psPlot(), TrackIPTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), JetTagPlotter::psPlot(), and psPlot().
void EffPurFromHistos::plot | ( | const std::string & | name, |
const std::string & | ext | ||
) |
void EffPurFromHistos::psPlot | ( | const std::string & | name | ) |
|
private |
Definition at line 72 of file EffPurFromHistos.h.
Referenced by discriminatorCutEfficScan(), and epsPlot().
|
private |
Definition at line 72 of file EffPurFromHistos.h.
Referenced by discriminatorNoCutEffic(), and epsPlot().
|
private |
Definition at line 103 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_b(), and plot().
|
private |
Definition at line 102 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_c(), and plot().
|
private |
Definition at line 99 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_d(), and plot().
|
private |
Definition at line 106 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dus(), and plot().
|
private |
Definition at line 107 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dusg(), and plot().
|
private |
Definition at line 104 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_g(), and plot().
|
private |
Definition at line 105 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_ni(), and plot().
|
private |
Definition at line 101 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_s(), and plot().
|
private |
Definition at line 100 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_u(), and plot().
|
private |
Definition at line 82 of file EffPurFromHistos.h.
|
private |
Definition at line 81 of file EffPurFromHistos.h.
|
private |
Definition at line 78 of file EffPurFromHistos.h.
|
private |
Definition at line 85 of file EffPurFromHistos.h.
|
private |
Definition at line 86 of file EffPurFromHistos.h.
|
private |
Definition at line 83 of file EffPurFromHistos.h.
|
private |
Definition at line 84 of file EffPurFromHistos.h.
|
private |
Definition at line 80 of file EffPurFromHistos.h.
|
private |
Definition at line 79 of file EffPurFromHistos.h.
|
private |
Definition at line 94 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 66 of file EffPurFromHistos.h.
Referenced by epsPlot().
|
private |
Definition at line 70 of file EffPurFromHistos.h.
|
private |
Definition at line 110 of file EffPurFromHistos.h.
Referenced by Mixins._Labelable::_findDependencies(), compute(), and Mixins._TypedParameterizable::dumpPython().
|
private |
Definition at line 96 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 92 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 93 of file EffPurFromHistos.h.
Referenced by compute().