#include <AcceptJet.h>
Public Member Functions | |
AcceptJet (const double &etaMin_, const double &etaMax_, const double &ptMin_, const double &ptMax_, const double &pMin_, const double &pMax_, const double &ratioMin_, const double &ratioMax_) | |
bool | operator() (const reco::Jet &jet, const int &jetFlavour, const edm::Handle< reco::SoftLeptonTagInfoCollection > &infos) const |
Returns true if jet and associated parton satisfy kinematic cuts. More... | |
void | setEtaMax (double d) |
void | setEtaMin (double d) |
Set cut parameters. More... | |
void | setPRecJetMax (double d) |
void | setPRecJetMin (double d) |
void | setPtRecJetMax (double d) |
void | setPtRecJetMin (double d) |
void | setRatioMax (double d) |
void | setRatioMin (double d) |
Protected Member Functions | |
double | ratio (const reco::Jet &jet, const edm::Handle< reco::SoftLeptonTagInfoCollection > &infos) const |
Finds the ratio of the momentum of any leptons in the jet to jet energy. More... | |
Protected Attributes | |
double | etaMax |
double | etaMin |
double | pRecJetMax |
double | pRecJetMin |
double | ptRecJetMax |
double | ptRecJetMin |
double | ratioMax |
double | ratioMin |
Decide if jet and associated parton satisfy desired kinematic cuts.
Definition at line 14 of file AcceptJet.h.
AcceptJet::AcceptJet | ( | const double & | etaMin_, |
const double & | etaMax_, | ||
const double & | ptMin_, | ||
const double & | ptMax_, | ||
const double & | pMin_, | ||
const double & | pMax_, | ||
const double & | ratioMin_, | ||
const double & | ratioMax_ | ||
) |
Definition at line 9 of file AcceptJet.cc.
bool AcceptJet::operator() | ( | const reco::Jet & | jet, |
const int & | jetFlavour, | ||
const edm::Handle< reco::SoftLeptonTagInfoCollection > & | infos | ||
) | const |
Returns true if jet and associated parton satisfy kinematic cuts.
Definition at line 15 of file AcceptJet.cc.
References reco::LeafCandidate::eta(), etaMax, etaMin, edm::HandleBase::isValid(), reco::LeafCandidate::p(), pRecJetMax, pRecJetMin, reco::LeafCandidate::pt(), ptRecJetMax, ptRecJetMin, ratio(), ratioMax, and ratioMin.
|
protected |
Finds the ratio of the momentum of any leptons in the jet to jet energy.
Definition at line 49 of file AcceptJet.cc.
References reco::deltaR(), alignCSCRings::e, reco::LeafCandidate::eta(), gen::k, and reco::LeafCandidate::phi().
Referenced by operator()().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 44 of file AcceptJet.h.
Referenced by operator()(), and setEtaMax().
|
protected |
Definition at line 43 of file AcceptJet.h.
Referenced by operator()(), and setEtaMin().
|
protected |
Definition at line 59 of file AcceptJet.h.
Referenced by operator()(), and setPRecJetMax().
|
protected |
Definition at line 58 of file AcceptJet.h.
Referenced by operator()(), and setPRecJetMin().
|
protected |
Definition at line 56 of file AcceptJet.h.
Referenced by operator()(), and setPtRecJetMax().
|
protected |
Definition at line 55 of file AcceptJet.h.
Referenced by operator()(), and setPtRecJetMin().
|
protected |
Definition at line 62 of file AcceptJet.h.
Referenced by operator()(), and setRatioMax().
|
protected |
Definition at line 61 of file AcceptJet.h.
Referenced by operator()(), and setRatioMin().