12 : etaActive(etaActive_),
etaMin(etaMin_),
etaMax(etaMax_), ptActive(ptActive_),
ptMin(ptMin_),
ptMax(ptMax_) {
17 const double& etaMin_,
18 const double& etaMax_,
19 const bool& ptActive_,
21 const double& ptMax_) {
23 std::stringstream stream(
"");
26 stream <<
"_ETA_" << etaMin_ <<
"-" << etaMax_;
30 stream <<
"_PT_" << ptMin_ <<
"-" << ptMax_;
32 if (!(etaActive_ || ptActive_))
double eta() const final
momentum pseudorapidity
Base class for all types of Jets.
std::string descriptionString
def replace(string, replacements)
double pt() const final
transverse momentum
static std::string buildDescriptionString(const bool &etaActive_, const double &etaMin_, const double &etaMax_, const bool &ptActive_, const double &ptMin_, const double &ptMax_)
bool inBin(const double &eta, const double &pt) const
Check if jet/parton are within rapidity/pt cuts.
EtaPtBin(const bool &etaActive_, const double &etaMin_, const double &etaMax_, const bool &ptActive_, const double &ptMin_, const double &ptMax_)
def remove(d, key, TELL=False)