#include <EtaPtBin.h>
Public Member Functions | |
EtaPtBin (const bool &etaActive_, const double &etaMin_, const double &etaMax_, const bool &ptActive_, const double &ptMin_, const double &ptMax_) | |
std::string | getDescriptionString () const |
String describes rapidity/pt range. More... | |
bool | getEtaActive () const |
Get rapidity/pt ranges and check whether rapidity/pt cuts are active. More... | |
double | getEtaMax () const |
double | getEtaMin () const |
bool | getPtActive () const |
double | getPtMax () const |
double | getPtMin () const |
bool | inBin (const double &eta, const double &pt) const |
Check if jet/parton are within rapidity/pt cuts. More... | |
bool | inBin (const reco::Jet &jet, const double jec) const |
~EtaPtBin () | |
Static Public Member Functions | |
static std::string | buildDescriptionString (const bool &etaActive_, const double &etaMin_, const double &etaMax_, const bool &ptActive_, const double &ptMin_, const double &ptMax_) |
Private Attributes | |
std::string | descriptionString |
bool | etaActive |
double | etaMax |
double | etaMin |
bool | ptActive |
double | ptMax |
double | ptMin |
Decide if jet/parton lie within desired rapidity/pt range.
Definition at line 15 of file EtaPtBin.h.
EtaPtBin::EtaPtBin | ( | const bool & | etaActive_, |
const double & | etaMin_, | ||
const double & | etaMax_, | ||
const bool & | ptActive_, | ||
const double & | ptMin_, | ||
const double & | ptMax_ | ||
) |
Definition at line 9 of file EtaPtBin.cc.
References buildDescriptionString(), descriptionString, etaActive, etaMax, etaMin, ptActive, ptMax, and ptMin.
|
inline |
Definition at line 22 of file EtaPtBin.h.
|
static |
method to build the string from other quantities (static for easy external use)
Definition at line 21 of file EtaPtBin.cc.
References MatrixUtil::remove(), python.rootplot.root2matplotlib::replace(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EtaPtBin().
|
inline |
String describes rapidity/pt range.
Definition at line 25 of file EtaPtBin.h.
References descriptionString.
|
inline |
Get rapidity/pt ranges and check whether rapidity/pt cuts are active.
Definition at line 35 of file EtaPtBin.h.
References etaActive.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 37 of file EtaPtBin.h.
References etaMax.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 36 of file EtaPtBin.h.
References etaMin.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 39 of file EtaPtBin.h.
References ptActive.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 41 of file EtaPtBin.h.
References ptMax.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 40 of file EtaPtBin.h.
References ptMin.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
bool EtaPtBin::inBin | ( | const double & | eta, |
const double & | pt | ||
) | const |
Check if jet/parton are within rapidity/pt cuts.
Definition at line 56 of file EtaPtBin.cc.
References etaActive, etaMax, etaMin, ptActive, ptMax, and ptMin.
bool EtaPtBin::inBin | ( | const reco::Jet & | jet, |
const double | jec | ||
) | const |
Definition at line 44 of file EtaPtBin.cc.
References reco::LeafCandidate::eta(), inBin(), patTestJEC_cfi::jec, and reco::LeafCandidate::pt().
Referenced by inBin().
|
private |
Definition at line 63 of file EtaPtBin.h.
Referenced by EtaPtBin(), and getDescriptionString().
|
private |
Definition at line 53 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaActive(), and inBin().
|
private |
Definition at line 55 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaMax(), and inBin().
|
private |
Definition at line 54 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaMin(), and inBin().
|
private |
Definition at line 57 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtActive(), and inBin().
|
private |
Definition at line 59 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtMax(), and inBin().
|
private |
Definition at line 58 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtMin(), and inBin().