#include <EffPurFromHistos2D.h>
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=0) |
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.
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 17 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 34 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, diffTwoXMLs::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 160 of file EffPurFromHistos2D.cc.
|
private |
Definition at line 207 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 doCTagPlots(), and EffPurFromHistos2D().
void EffPurFromHistos2D::compute | ( | DQMStore::IBooker & | ibook, |
std::vector< double > | fixedEff | ||
) |
Definition at line 353 of file EffPurFromHistos2D.cc.
References HistoProviderDQM::book1D(), doCTagPlots_, effVersusDiscr_b, effVersusDiscr_c, effVersusDiscr_dusg, endOutputX, RecoBTag::findBinClosestYValueAtFixedZ(), MonitorElement::getTH1F(), histoExtension, label_, mcPlots_, nBinOutputX, anotherprimaryvertexanalyzer_cfi::nBinX, startOutputX, AlCaHLTBitMon_QueryRunRegistry::string, and X_vs_Y_eff_at_fixedZeff.
|
inline |
Definition at line 40 of file EffPurFromHistos2D.h.
References discrCutEfficScan.
|
inline |
Definition at line 39 of file EffPurFromHistos2D.h.
References discrNoCutEffic.
|
inline |
void EffPurFromHistos2D::epsPlot | ( | const std::string & | name | ) |
Definition at line 162 of file EffPurFromHistos2D.cc.
References discrCutEfficScan, discrNoCutEffic, fromDiscriminatorDistr, and plot().
void EffPurFromHistos2D::plot | ( | TPad * | theCanvas = 0 | ) |
Definition at line 192 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 176 of file EffPurFromHistos2D.cc.
References doCTagPlots_, histoExtension, plot(), and AlCaHLTBitMon_QueryRunRegistry::string.
void EffPurFromHistos2D::psPlot | ( | const std::string & | name | ) |
|
private |
Definition at line 56 of file EffPurFromHistos2D.h.
Referenced by discriminatorCutEfficScan(), EffPurFromHistos2D(), and epsPlot().
|
private |
Definition at line 56 of file EffPurFromHistos2D.h.
Referenced by discriminatorNoCutEffic(), EffPurFromHistos2D(), and epsPlot().
|
private |
Definition at line 51 of file EffPurFromHistos2D.h.
Referenced by compute(), doCTagPlots(), and plot().
|
private |
Definition at line 66 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 65 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 62 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 69 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 70 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 67 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 68 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 71 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 64 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 63 of file EffPurFromHistos2D.h.
Referenced by check(), and EffPurFromHistos2D().
|
private |
Definition at line 78 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 81 of file EffPurFromHistos2D.h.
|
private |
Definition at line 48 of file EffPurFromHistos2D.h.
Referenced by epsPlot().
|
private |
Definition at line 54 of file EffPurFromHistos2D.h.
Referenced by compute(), EffPurFromHistos2D(), and plot().
|
private |
Definition at line 52 of file EffPurFromHistos2D.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), compute(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 50 of file EffPurFromHistos2D.h.
Referenced by check(), compute(), and EffPurFromHistos2D().
|
private |
Definition at line 76 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 79 of file EffPurFromHistos2D.h.
|
private |
Definition at line 77 of file EffPurFromHistos2D.h.
Referenced by compute().
|
private |
Definition at line 80 of file EffPurFromHistos2D.h.
|
private |
Definition at line 83 of file EffPurFromHistos2D.h.
Referenced by compute().