#include <EffPurFromHistos.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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, unsigned int mc, int nBin=100, double startO=0.005, double endO=1.005) | |
EffPurFromHistos (const FlavourHistograms< double > &dDiscriminatorFC, const std::string &label, 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=nullptr) |
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.
Definition at line 15 of file EffPurFromHistos.h.
Definition at line 16 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, | ||
unsigned int | mc, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 16 of file EffPurFromHistos.cc.
References check().
EffPurFromHistos::EffPurFromHistos | ( | const FlavourHistograms< double > & | dDiscriminatorFC, |
const std::string & | label, | ||
unsigned int | mc, | ||
DQMStore::IBooker & | ibook, | ||
int | nBin = 100 , |
||
double | startO = 0.005 , |
||
double | endO = 1.005 |
||
) |
Definition at line 54 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, label, FlavourHistograms< T >::lowerBound(), mcPlots_, seedmultiplicitymonitor_newtracking_cfi::nBins, FlavourHistograms< T >::nBins(), mathSSE::sqrt(), and FlavourHistograms< T >::upperBound().
EffPurFromHistos::~EffPurFromHistos | ( | ) |
Definition at line 199 of file EffPurFromHistos.cc.
|
private |
Definition at line 363 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 449 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, dqm::impl::MonitorElement::Fill(), RecoBTag::findBinClosestYValue(), dqm::legacy::MonitorElement::getTH1F(), histoExtension, label_, mcPlots_, nBinOutput, anotherprimaryvertexanalyzer_cfi::nBinX, dqm::impl::MonitorElement::setEfficiencyFlag(), startOutput, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 67 of file EffPurFromHistos.h.
References discrCutEfficScan.
|
inline |
Definition at line 66 of file EffPurFromHistos.h.
References discrNoCutEffic.
|
inline |
void EffPurFromHistos::epsPlot | ( | const std::string & | name | ) |
Definition at line 201 of file EffPurFromHistos.cc.
References discrCutEfficScan, discrNoCutEffic, fromDiscriminatorDistr, Skims_PA_cff::name, and plot().
|
inline |
Definition at line 53 of file EffPurFromHistos.h.
References EffFlavVsXEff_b, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 52 of file EffPurFromHistos.h.
References EffFlavVsXEff_c, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 49 of file EffPurFromHistos.h.
References EffFlavVsXEff_d, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 56 of file EffPurFromHistos.h.
References EffFlavVsXEff_dus, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 57 of file EffPurFromHistos.h.
References EffFlavVsXEff_dusg, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 54 of file EffPurFromHistos.h.
References EffFlavVsXEff_g, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 55 of file EffPurFromHistos.h.
References EffFlavVsXEff_ni, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 58 of file EffPurFromHistos.h.
References EffFlavVsXEff_pu, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 51 of file EffPurFromHistos.h.
References EffFlavVsXEff_s, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 50 of file EffPurFromHistos.h.
References EffFlavVsXEff_u, and dqm::legacy::MonitorElement::getTH1F().
Referenced by BTagDifferentialPlot::fillHisto().
void EffPurFromHistos::plot | ( | TPad * | theCanvas = nullptr | ) |
Definition at line 227 of file EffPurFromHistos.cc.
References doCTagPlots_, MillePedeFileConverter_cfg::e, EffFlavVsXEff_b, EffFlavVsXEff_c, EffFlavVsXEff_d, EffFlavVsXEff_dus, EffFlavVsXEff_dusg, EffFlavVsXEff_g, EffFlavVsXEff_ni, EffFlavVsXEff_pu, EffFlavVsXEff_s, EffFlavVsXEff_u, dqm::legacy::MonitorElement::getTH1F(), mcPlots_, and plotscripts::setTDRStyle().
Referenced by epsPlot(), plot(), and psPlot().
void EffPurFromHistos::plot | ( | const std::string & | name, |
const std::string & | ext | ||
) |
Definition at line 211 of file EffPurFromHistos.cc.
References doCTagPlots_, histoExtension, Skims_PA_cff::name, plot(), and AlCaHLTBitMon_QueryRunRegistry::string.
void EffPurFromHistos::psPlot | ( | const std::string & | name | ) |
|
private |
Definition at line 85 of file EffPurFromHistos.h.
Referenced by discriminatorCutEfficScan(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 85 of file EffPurFromHistos.h.
Referenced by discriminatorNoCutEffic(), EffPurFromHistos(), and epsPlot().
|
private |
Definition at line 80 of file EffPurFromHistos.h.
Referenced by compute(), doCTagPlots(), and plot().
|
private |
Definition at line 113 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_b(), and plot().
|
private |
Definition at line 112 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_c(), and plot().
|
private |
Definition at line 109 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_d(), and plot().
|
private |
Definition at line 116 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dus(), and plot().
|
private |
Definition at line 117 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_dusg(), and plot().
|
private |
Definition at line 114 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_g(), and plot().
|
private |
Definition at line 115 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_ni(), and plot().
|
private |
Definition at line 118 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_pu(), and plot().
|
private |
Definition at line 111 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_s(), and plot().
|
private |
Definition at line 110 of file EffPurFromHistos.h.
Referenced by compute(), getEffFlavVsBEff_u(), and plot().
|
private |
Definition at line 95 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 94 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 91 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 98 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 99 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 96 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 97 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 100 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 93 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 92 of file EffPurFromHistos.h.
Referenced by check(), compute(), and EffPurFromHistos().
|
private |
Definition at line 107 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 77 of file EffPurFromHistos.h.
Referenced by epsPlot().
|
private |
Definition at line 83 of file EffPurFromHistos.h.
Referenced by compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 81 of file EffPurFromHistos.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), compute(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 79 of file EffPurFromHistos.h.
Referenced by check(), compute(), EffPurFromHistos(), and plot().
|
private |
Definition at line 105 of file EffPurFromHistos.h.
Referenced by compute().
|
private |
Definition at line 106 of file EffPurFromHistos.h.
Referenced by compute().