#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 abs(pseudo-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 6 of file EtaPtBin.cc.
References buildDescriptionString(), descriptionString, etaActive, etaMax, etaMin, ptActive, ptMax, and ptMin.
|
inline |
Definition at line 24 of file EtaPtBin.h.
|
static |
method to build the string from other quantities (static for easy external use)
Definition at line 16 of file EtaPtBin.cc.
References etaMax_(), MatrixUtil::remove(), python.rootplot.root2matplotlib::replace(), cms::cuda::stream, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EtaPtBin().
|
inline |
String describes rapidity/pt range.
Definition at line 27 of file EtaPtBin.h.
References descriptionString.
|
inline |
Get rapidity/pt ranges and check whether rapidity/pt cuts are active.
Definition at line 39 of file EtaPtBin.h.
References etaActive.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 41 of file EtaPtBin.h.
References etaMax.
Referenced by BTagDifferentialPlot::bookHisto(), BTagDifferentialPlot::fillHisto(), JetTagPlotter::finalize(), and JetTagPlotter::JetTagPlotter().
|
inline |
Definition at line 40 of file EtaPtBin.h.
References etaMin.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 43 of file EtaPtBin.h.
References ptActive.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 45 of file EtaPtBin.h.
References ptMax.
Referenced by BTagDifferentialPlot::bookHisto(), and BTagDifferentialPlot::fillHisto().
|
inline |
Definition at line 44 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 51 of file EtaPtBin.cc.
References etaActive, etaMax, etaMin, ptActive, ptMax, and ptMin.
Referenced by inBin().
bool EtaPtBin::inBin | ( | const reco::Jet & | jet, |
const double | jec | ||
) | const |
Definition at line 43 of file EtaPtBin.cc.
References reco::LeafCandidate::eta(), inBin(), patTestJEC_cfi::jec, and reco::LeafCandidate::pt().
|
private |
Definition at line 64 of file EtaPtBin.h.
Referenced by EtaPtBin(), and getDescriptionString().
|
private |
Definition at line 55 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaActive(), and inBin().
|
private |
Definition at line 57 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaMax(), and inBin().
|
private |
Definition at line 56 of file EtaPtBin.h.
Referenced by EtaPtBin(), getEtaMin(), and inBin().
|
private |
Definition at line 59 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtActive(), and inBin().
|
private |
Definition at line 61 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtMax(), and inBin().
|
private |
Definition at line 60 of file EtaPtBin.h.
Referenced by EtaPtBin(), getPtMin(), and inBin().