CMS 3D CMS Logo

pat::JetSelector< JetType > Class Template Reference

Selects good Jets. More...

#include <PhysicsTools/PatUtils/JetSelector.h>

List of all members.

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< CaloJetSelectorCaloJetSelector_
JetSelection config_


Detailed Description

template<typename JetType>
class pat::JetSelector< JetType >

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>>.)

Author:
C. Autermann (Uni Hamburg)
Version:
Id
JetSelector.h,v 1.5 2008/03/10 14:23:58 fronga Exp

Definition at line 37 of file JetSelector.h.


Constructor & Destructor Documentation

template<typename JetType>
pat::JetSelector< JetType >::JetSelector ( const JetSelection config  ) 

template<typename JetType>
pat::JetSelector< JetType >::~JetSelector (  )  [inline]

Definition at line 42 of file JetSelector.h.

00042 {}


Member Function Documentation

template<typename JetType>
const ParticleStatus pat::JetSelector< JetType >::filter ( const unsigned int index,
const edm::View< JetType > &  Jets,
const JetValueMap JetMap 
) const

Returns 0 if Jet matches criteria, a flag otherwise.

Criteria depend on the selector's configuration. Jet IDs only need to be provided if selection is based on it (cut, neural net or likelihood). Cluster shapes are for custom selection only.


Member Data Documentation

template<typename JetType>
std::auto_ptr<CaloJetSelector> pat::JetSelector< JetType >::CaloJetSelector_ [private]

Definition at line 60 of file JetSelector.h.

template<typename JetType>
JetSelection pat::JetSelector< JetType >::config_ [private]

Definition at line 58 of file JetSelector.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:49:41 2009 for CMSSW by  doxygen 1.5.4