Selects good Jets. More...
#include "PhysicsTools/PatUtils/JetSelector.h"
Public Member Functions | |
const ParticleStatus | filter (const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const |
JetSelector (const JetSelection &config) | |
~JetSelector () | |
Private Attributes | |
std::auto_ptr< CaloJetSelector > | CaloJetSelector_ |
JetSelection | config_ |
Selects good Jets.
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 | ) |
|
inline |
Definition at line 42 of file JetSelector.h.
const ParticleStatus pat::JetSelector< JetType >::filter | ( | const unsigned int & | index, |
const edm::View< JetType > & | Jets, | ||
const JetValueMap * | JetMap | ||
) | const |
|
private |
Definition at line 60 of file JetSelector.h.
|
private |
Definition at line 58 of file JetSelector.h.