#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_, const bool &doJetID_) | |
bool | operator() (const reco::Jet &jet, const int &jetFlavour, const edm::Handle< reco::SoftLeptonTagInfoCollection > &infos, const double jec) const |
Returns true if jet and associated parton satisfy kinematic cuts. More... | |
void | setDoJetID (bool b) |
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 | |
bool | doJetID |
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_, | ||
const bool & | doJetID_ | ||
) |
Definition at line 10 of file AcceptJet.cc.
bool AcceptJet::operator() | ( | const reco::Jet & | jet, |
const int & | jetFlavour, | ||
const edm::Handle< reco::SoftLeptonTagInfoCollection > & | infos, | ||
const double | jec | ||
) | const |
Returns true if jet and associated parton satisfy kinematic cuts.
Definition at line 29 of file AcceptJet.cc.
References reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::btau::chargedHadronEnergyFraction, reco::PFJet::chargedMultiplicity(), doJetID, etaMax, etaMin, reco::PFJet::getPFConstituents(), submitPVValidationJobs::infos, jetMETDQMOfflineSource_cff::jec, metsig::jet, LogDebug, custom_jme_cff::nConstituents, reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), reco::btau::neutralHadronEnergyFraction, pRecJetMax, pRecJetMin, ptRecJetMax, ptRecJetMin, ratio(), and ratioMax.
|
protected |
Finds the ratio of the momentum of any leptons in the jet to jet energy.
Definition at line 80 of file AcceptJet.cc.
References reco::deltaR(), MillePedeFileConverter_cfg::e, submitPVValidationJobs::infos, metsig::jet, and dqmdumpme::k.
Referenced by operator()().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 74 of file AcceptJet.h.
Referenced by operator()(), and setDoJetID().
|
protected |
Definition at line 53 of file AcceptJet.h.
Referenced by operator()(), and setEtaMax().
|
protected |
Definition at line 52 of file AcceptJet.h.
Referenced by operator()(), and setEtaMin().
|
protected |
Definition at line 68 of file AcceptJet.h.
Referenced by operator()(), and setPRecJetMax().
|
protected |
Definition at line 67 of file AcceptJet.h.
Referenced by operator()(), and setPRecJetMin().
|
protected |
Definition at line 65 of file AcceptJet.h.
Referenced by operator()(), and setPtRecJetMax().
|
protected |
Definition at line 64 of file AcceptJet.h.
Referenced by operator()(), and setPtRecJetMin().
|
protected |
Definition at line 71 of file AcceptJet.h.
Referenced by operator()(), and setRatioMax().
|
protected |
Definition at line 70 of file AcceptJet.h.
Referenced by setRatioMin().