CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
EffPurFromHistos2D Class Reference

#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, const unsigned int &mc, int nBinX=100, double startOX=0.05, double endOX=1.05)
 
 EffPurFromHistos2D (const FlavourHistograms2D< double, double > *dDiscriminatorFC, const std::string &label, const 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
 

Detailed Description

Definition at line 13 of file EffPurFromHistos2D.h.

Constructor & Destructor Documentation

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,
const unsigned int &  mc,
int  nBinX = 100,
double  startOX = 0.05,
double  endOX = 1.05 
)

Definition at line 17 of file EffPurFromHistos2D.cc.

EffPurFromHistos2D::EffPurFromHistos2D ( const FlavourHistograms2D< double, double > *  dDiscriminatorFC,
const std::string &  label,
const 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.

EffPurFromHistos2D::~EffPurFromHistos2D ( )

Definition at line 162 of file EffPurFromHistos2D.cc.

Member Function Documentation

void EffPurFromHistos2D::check ( )
private

Definition at line 211 of file EffPurFromHistos2D.cc.

void EffPurFromHistos2D::compute ( DQMStore::IBooker ibook,
std::vector< double >  fixedEff 
)

Definition at line 357 of file EffPurFromHistos2D.cc.

FlavourHistograms2D<double,double>* EffPurFromHistos2D::discriminatorCutEfficScan ( ) const
inline

Definition at line 40 of file EffPurFromHistos2D.h.

References discrCutEfficScan.

40 {return discrCutEfficScan.get();}
std::unique_ptr< FlavourHistograms2D< double, double > > discrCutEfficScan
FlavourHistograms2D<double,double>* EffPurFromHistos2D::discriminatorNoCutEffic ( ) const
inline

Definition at line 39 of file EffPurFromHistos2D.h.

References discrNoCutEffic.

39 {return discrNoCutEffic.get();}
std::unique_ptr< FlavourHistograms2D< double, double > > discrNoCutEffic
bool EffPurFromHistos2D::doCTagPlots ( bool  Ctag)
inline

Definition at line 42 of file EffPurFromHistos2D.h.

References doCTagPlots_.

42 {doCTagPlots_ = Ctag; return doCTagPlots_;};
void EffPurFromHistos2D::epsPlot ( const std::string &  name)

Definition at line 164 of file EffPurFromHistos2D.cc.

Referenced by TagCorrelationPlotter::epsPlot().

void EffPurFromHistos2D::plot ( TPad *  theCanvas = 0)

Definition at line 196 of file EffPurFromHistos2D.cc.

void EffPurFromHistos2D::plot ( const std::string &  name,
const std::string &  ext 
)

Definition at line 178 of file EffPurFromHistos2D.cc.

void EffPurFromHistos2D::psPlot ( const std::string &  name)

Definition at line 173 of file EffPurFromHistos2D.cc.

Member Data Documentation

std::unique_ptr<FlavourHistograms2D<double, double> > EffPurFromHistos2D::discrCutEfficScan
private

Definition at line 56 of file EffPurFromHistos2D.h.

Referenced by discriminatorCutEfficScan().

std::unique_ptr<FlavourHistograms2D<double, double> > EffPurFromHistos2D::discrNoCutEffic
private

Definition at line 56 of file EffPurFromHistos2D.h.

Referenced by discriminatorNoCutEffic().

bool EffPurFromHistos2D::doCTagPlots_
private

Definition at line 51 of file EffPurFromHistos2D.h.

Referenced by doCTagPlots().

TH2F* EffPurFromHistos2D::effVersusDiscr_b
private

Definition at line 66 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_c
private

Definition at line 65 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_d
private

Definition at line 62 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_dus
private

Definition at line 69 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_dusg
private

Definition at line 70 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_g
private

Definition at line 67 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_ni
private

Definition at line 68 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_pu
private

Definition at line 71 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_s
private

Definition at line 64 of file EffPurFromHistos2D.h.

TH2F* EffPurFromHistos2D::effVersusDiscr_u
private

Definition at line 63 of file EffPurFromHistos2D.h.

double EffPurFromHistos2D::endOutputX
private

Definition at line 78 of file EffPurFromHistos2D.h.

double EffPurFromHistos2D::endOutputY
private

Definition at line 81 of file EffPurFromHistos2D.h.

bool EffPurFromHistos2D::fromDiscriminatorDistr
private

Definition at line 48 of file EffPurFromHistos2D.h.

std::string EffPurFromHistos2D::histoExtension
private

Definition at line 54 of file EffPurFromHistos2D.h.

std::string EffPurFromHistos2D::label_
private

Definition at line 52 of file EffPurFromHistos2D.h.

unsigned int EffPurFromHistos2D::mcPlots_
private

Definition at line 50 of file EffPurFromHistos2D.h.

int EffPurFromHistos2D::nBinOutputX
private

Definition at line 76 of file EffPurFromHistos2D.h.

int EffPurFromHistos2D::nBinOutputY
private

Definition at line 79 of file EffPurFromHistos2D.h.

double EffPurFromHistos2D::startOutputX
private

Definition at line 77 of file EffPurFromHistos2D.h.

double EffPurFromHistos2D::startOutputY
private

Definition at line 80 of file EffPurFromHistos2D.h.

std::vector<MonitorElement*> EffPurFromHistos2D::X_vs_Y_eff_at_fixedZeff
private

Definition at line 83 of file EffPurFromHistos2D.h.