#include <CaloJetQualifier.h>
Public Member Functions | |
CaloJetQualifier (const edm::ParameterSet &) | |
bool | operator() (const reco::CaloJet &) |
~CaloJetQualifier () | |
Private Attributes | |
double | maxEmf_ |
double | minEmf_ |
Definition at line 12 of file CaloJetQualifier.h.
CaloJetQualifier::CaloJetQualifier | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 25 of file CaloJetQualifier.h.
: minEmf_( cfg.getParameter<double>( "minEmfCaloJet" ) ), maxEmf_( cfg.getParameter<double>( "maxEmfCaloJet" ) ) { }
CaloJetQualifier::~CaloJetQualifier | ( | ) | [inline] |
Definition at line 16 of file CaloJetQualifier.h.
{};
bool CaloJetQualifier::operator() | ( | const reco::CaloJet & | jet | ) | [inline] |
Definition at line 32 of file CaloJetQualifier.h.
References reco::CaloJet::emEnergyFraction(), maxEmf_, and minEmf_.
{ if( !(minEmf_<=jet.emEnergyFraction() && jet.emEnergyFraction()<=maxEmf_) ) // is the emf of the CaloJet in the specifiedc range? return false; return true; }
double CaloJetQualifier::maxEmf_ [private] |
Definition at line 21 of file CaloJetQualifier.h.
Referenced by operator()().
double CaloJetQualifier::minEmf_ [private] |
Definition at line 21 of file CaloJetQualifier.h.
Referenced by operator()().