#include <EffPurFromHistos.h>
Public Member Functions | |
void | compute (DQMStore::IBooker &ibook) |
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, 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 | |
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_pu |
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_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 15 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, FlavourHistograms< T >::divide(), effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_pu, effVersusDiscr_s, effVersusDiscr_u, 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_pu(), FlavourHistograms< T >::histo_s(), FlavourHistograms< T >::histo_u(), histoExtension, diffTwoXMLs::label, FlavourHistograms< T >::lowerBound(), mcPlots_, FlavourHistograms< T >::nBins(), FlavourHistograms< T >::setEfficiencyFlag(), FlavourHistograms< T >::SetMinimum(), mathSSE::sqrt(), and FlavourHistograms< T >::upperBound().
EffPurFromHistos::~EffPurFromHistos | ( | ) |
Definition at line 157 of file EffPurFromHistos.cc.
|
private |
Definition at line 332 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 452 of file EffPurFromHistos.cc.
References HistoProviderDQM::book1D(), EffFlavVsBEff_b, EffFlavVsBEff_c, EffFlavVsBEff_d, EffFlavVsBEff_dus, EffFlavVsBEff_dusg, EffFlavVsBEff_g, EffFlavVsBEff_ni, EffFlavVsBEff_pu, EffFlavVsBEff_s, EffFlavVsBEff_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_, cuy::nBinB, nBinOutput, MonitorElement::setEfficiencyFlag(), startOutput, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 61 of file EffPurFromHistos.h.
References discrCutEfficScan.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
|
inline |
Definition at line 60 of file EffPurFromHistos.h.
References discrNoCutEffic.
Referenced by TrackCountingTagPlotter::psPlot(), TrackProbabilityTagPlotter::psPlot(), and JetTagPlotter::psPlot().
void EffPurFromHistos::epsPlot | ( | const std::string & | name | ) |
Definition at line 176 of file EffPurFromHistos.cc.
References discrCutEfficScan, discrNoCutEffic, FlavourHistograms< T >::epsPlot(), fromDiscriminatorDistr, and plot().
Referenced by JetTagPlotter::epsPlot().
|
inline |
Definition at line 41 of file EffPurFromHistos.h.
References EffFlavVsBEff_b, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 40 of file EffPurFromHistos.h.
References EffFlavVsBEff_c, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 37 of file EffPurFromHistos.h.
References EffFlavVsBEff_d, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 44 of file EffPurFromHistos.h.
References EffFlavVsBEff_dus, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 45 of file EffPurFromHistos.h.
References EffFlavVsBEff_dusg, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 42 of file EffPurFromHistos.h.
References EffFlavVsBEff_g, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 43 of file EffPurFromHistos.h.
References EffFlavVsBEff_ni, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 46 of file EffPurFromHistos.h.
References EffFlavVsBEff_pu, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 39 of file EffPurFromHistos.h.
References EffFlavVsBEff_s, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 38 of file EffPurFromHistos.h.
References EffFlavVsBEff_u, and MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
void EffPurFromHistos::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 198 of file EffPurFromHistos.cc.
References alignCSCRings::e, EffFlavVsBEff_b, EffFlavVsBEff_c, EffFlavVsBEff_d, EffFlavVsBEff_dus, EffFlavVsBEff_dusg, EffFlavVsBEff_g, EffFlavVsBEff_ni, EffFlavVsBEff_pu, EffFlavVsBEff_s, EffFlavVsBEff_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 190 of file EffPurFromHistos.cc.
References histoExtension, and plot().
Referenced by cuy.FindIssue::__init__().
void EffPurFromHistos::psPlot | ( | const std::string & | name | ) |
|
private |
Definition at line 74 of file EffPurFromHistos.h.
Referenced by discriminatorCutEfficScan(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 74 of file EffPurFromHistos.h.
Referenced by discriminatorNoCutEffic(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 106 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_b(), and plot().
|
private |
Definition at line 105 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_c(), and plot().
|
private |
Definition at line 102 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_d(), and plot().
|
private |
Definition at line 109 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dus(), and plot().
|
private |
Definition at line 110 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dusg(), and plot().
|
private |
Definition at line 107 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_g(), and plot().
|
private |
Definition at line 108 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_ni(), and plot().
|
private |
Definition at line 111 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_pu(), and plot().
|
private |
Definition at line 104 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_s(), and plot().
|
private |
Definition at line 103 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_u(), and plot().
|
private |
Definition at line 84 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 83 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 87 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 88 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 85 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 86 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 89 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 81 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 97 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 68 of file EffPurFromHistos.h.
Referenced by epsPlot().
|
private |
Definition at line 72 of file EffPurFromHistos.h.
Referenced by compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 114 of file EffPurFromHistos.h.
Referenced by Mixins._Labelable::_findDependencies(), compute(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 99 of file EffPurFromHistos.h.
Referenced by check(), compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 95 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 96 of file EffPurFromHistos.h.
Referenced by compute().