#include <PhysicsTools/PatUtils/JetSelector.h>
Public Member Functions | |
const ParticleStatus | filter (const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const |
Returns 0 if Jet matches criteria, a flag otherwise. | |
JetSelector (const JetSelection &config) | |
~JetSelector () | |
Private Attributes | |
std::auto_ptr< CaloJetSelector > | CaloJetSelector_ |
JetSelection | config_ |
The Jet selector returns a flag (see pat::ParticleStatus) based on one of the possible selections: either cut-based or custom (user-defined set of cuts). This is driven by the configuration parameters (see the PATJetCleaner documentation for configuration details).
The parameters are passed to the selector through a JetSelection struct. (An adapter exists for use in CMSSW: reco::modules::ParameterAdapter<pat::JetSelector<JetIn>>.)
Definition at line 37 of file JetSelector.h.
pat::JetSelector< JetType >::JetSelector | ( | const JetSelection & | config | ) |
pat::JetSelector< JetType >::~JetSelector | ( | ) | [inline] |
const ParticleStatus pat::JetSelector< JetType >::filter | ( | const unsigned int & | index, | |
const edm::View< JetType > & | Jets, | |||
const JetValueMap * | JetMap | |||
) | const |
std::auto_ptr<CaloJetSelector> pat::JetSelector< JetType >::CaloJetSelector_ [private] |
Definition at line 60 of file JetSelector.h.
JetSelection pat::JetSelector< JetType >::config_ [private] |
Definition at line 58 of file JetSelector.h.