#include <EffPurFromHistos2D.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | compute (DQMStore::IBooker &ibook, std::vector< double > fixedEff) |
FlavourHistograms2D< double, double > & | discriminatorCutEfficScan () const |
FlavourHistograms2D< double, double > & | discriminatorNoCutEffic () const |
bool | doCTagPlots (bool Ctag) |
EffPurFromHistos2D (const std::string &ext, TH2F *h_d, TH2F *h_u, TH2F *h_s, TH2F *h_c, TH2F *h_b, TH2F *h_g, TH2F *h_ni, TH2F *h_dus, TH2F *h_dusg, TH2F *h_pu, const std::string &label, unsigned int mc, int nBinX=100, double startOX=0.05, double endOX=1.05) | |
EffPurFromHistos2D (const FlavourHistograms2D< double, double > &dDiscriminatorFC, const std::string &label, unsigned int mc, DQMStore::IBooker &ibook, int nBinX=100, double startOX=0.05, double endOX=1.05) | |
void | epsPlot (const std::string &name) |
void | plot (TPad *theCanvas=nullptr) |
void | plot (const std::string &name, const std::string &ext) |
void | psPlot (const std::string &name) |
~EffPurFromHistos2D () | |
Private Member Functions | |
void | check () |
Private Attributes | |
std::unique_ptr< FlavourHistograms2D< double, double > > | discrCutEfficScan |
std::unique_ptr< FlavourHistograms2D< double, double > > | discrNoCutEffic |
bool | doCTagPlots_ |
TH2F * | effVersusDiscr_b |
TH2F * | effVersusDiscr_c |
TH2F * | effVersusDiscr_d |
TH2F * | effVersusDiscr_dus |
TH2F * | effVersusDiscr_dusg |
TH2F * | effVersusDiscr_g |
TH2F * | effVersusDiscr_ni |
TH2F * | effVersusDiscr_pu |
TH2F * | effVersusDiscr_s |
TH2F * | effVersusDiscr_u |
double | endOutputX |
double | endOutputY |
bool | fromDiscriminatorDistr |
std::string | histoExtension |
std::string | label_ |
unsigned int | mcPlots_ |
int | nBinOutputX |
int | nBinOutputY |
double | startOutputX |
double | startOutputY |
std::vector< MonitorElement * > | X_vs_Y_eff_at_fixedZeff |
Definition at line 13 of file EffPurFromHistos2D.h.
Definition at line 15 of file EffPurFromHistos2D.h.
Definition at line 16 of file EffPurFromHistos2D.h.
EffPurFromHistos2D::EffPurFromHistos2D | ( | const std::string & | ext, |
TH2F * | h_d, | ||
TH2F * | h_u, | ||
TH2F * | h_s, | ||
TH2F * | h_c, | ||
TH2F * | h_b, | ||
TH2F * | h_g, | ||
TH2F * | h_ni, | ||
TH2F * | h_dus, | ||
TH2F * | h_dusg, | ||
TH2F * | h_pu, | ||
const std::string & | label, | ||
unsigned int | mc, | ||
int | nBinX = 100 , |
||
double | startOX = 0.05 , |
||
double | endOX = 1.05 |
||
) |
Definition at line 16 of file EffPurFromHistos2D.cc.
References check().
EffPurFromHistos2D::EffPurFromHistos2D | ( | const FlavourHistograms2D< double, double > & | dDiscriminatorFC, |
const std::string & | label, | ||
unsigned int | mc, | ||
DQMStore::IBooker & | ibook, | ||
int | nBinX = 100 , |
||
double | startOX = 0.05 , |
||
double | endOX = 1.05 |
||
) |
Definition at line 54 of file EffPurFromHistos2D.cc.
References FlavourHistograms2D< T, G >::baseNameDescription(), FlavourHistograms2D< T, G >::baseNameTitle(), discrCutEfficScan, discrNoCutEffic, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_d, effVersusDiscr_dus, effVersusDiscr_dusg, effVersusDiscr_g, effVersusDiscr_ni, effVersusDiscr_pu, effVersusDiscr_s, effVersusDiscr_u, FlavourHistograms2D< T, G >::getHistoVector(), histoExtension, label, FlavourHistograms2D< T, G >::lowerBoundX(), FlavourHistograms2D< T, G >::lowerBoundY(), mcPlots_, FlavourHistograms2D< T, G >::nBinsX(), FlavourHistograms2D< T, G >::nBinsY(), mathSSE::sqrt(), FlavourHistograms2D< T, G >::upperBoundX(), and FlavourHistograms2D< T, G >::upperBoundY().
EffPurFromHistos2D::~EffPurFromHistos2D | ( | ) |
Definition at line 203 of file EffPurFromHistos2D.cc.
|
private |
Definition at line 244 of file EffPurFromHistos2D.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 EffPurFromHistos2D().
void EffPurFromHistos2D::compute | ( | DQMStore::IBooker & | ibook, |
std::vector< double > | fixedEff | ||
) |
Definition at line 351 of file EffPurFromHistos2D.cc.
References HistoProviderDQM::book1D(), doCTagPlots_, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_dusg, endOutputX, RecoBTag::findBinClosestYValueAtFixedZ(), dqm::legacy::MonitorElement::getTH1F(), histoExtension, label_, mcPlots_, nBinOutputX, anotherprimaryvertexanalyzer_cfi::nBinX, startOutputX, AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and X_vs_Y_eff_at_fixedZeff.
|
inline |
Definition at line 55 of file EffPurFromHistos2D.h.
References discrCutEfficScan.
|
inline |
Definition at line 54 of file EffPurFromHistos2D.h.
References discrNoCutEffic.
|
inline |
void EffPurFromHistos2D::epsPlot | ( | const std::string & | name | ) |
Definition at line 205 of file EffPurFromHistos2D.cc.
References discrCutEfficScan, discrNoCutEffic, fromDiscriminatorDistr, mergeVDriftHistosByStation::name, and plot().
void EffPurFromHistos2D::plot | ( | TPad * | theCanvas = nullptr | ) |
Definition at line 231 of file EffPurFromHistos2D.cc.
References plotscripts::setTDRStyle().
Referenced by epsPlot(), plot(), and psPlot().
void EffPurFromHistos2D::plot | ( | const std::string & | name, |
const std::string & | ext | ||
) |
Definition at line 215 of file EffPurFromHistos2D.cc.
References doCTagPlots_, histoExtension, mergeVDriftHistosByStation::name, plot(), and AlCaHLTBitMon_QueryRunRegistry::string.
void EffPurFromHistos2D::psPlot | ( | const std::string & | name | ) |
Definition at line 213 of file EffPurFromHistos2D.cc.
References mergeVDriftHistosByStation::name, and plot().
|
private |
Definition at line 73 of file EffPurFromHistos2D.h.
Referenced by discriminatorCutEfficScan(), EffPurFromHistos2D(), and epsPlot().
|
private |
Definition at line 73 of file EffPurFromHistos2D.h.
Referenced by discriminatorNoCutEffic(), EffPurFromHistos2D(), and epsPlot().
|
private |
Definition at line 68 of file EffPurFromHistos2D.h.
Referenced by compute(), doCTagPlots(), and plot().
|
private |
Definition at line 83 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 82 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 79 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 86 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 87 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 84 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 85 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 88 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 81 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 80 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 95 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 98 of file EffPurFromHistos2D.h.
|
private |
Definition at line 65 of file EffPurFromHistos2D.h.
Referenced by epsPlot().
|
private |
Definition at line 71 of file EffPurFromHistos2D.h.
Referenced by compute(), EffPurFromHistos2D(), and plot().
|
private |
Definition at line 69 of file EffPurFromHistos2D.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), compute(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 67 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 93 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 96 of file EffPurFromHistos2D.h.
|
private |
Definition at line 94 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 97 of file EffPurFromHistos2D.h.
|
private |
Definition at line 100 of file EffPurFromHistos2D.h.
Referenced by compute().