CMS 3D CMS Logo

JetSelector.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatUtils_JetSelector_h
2 #define PhysicsTools_PatUtils_JetSelector_h
3 
21 #include <string>
28 
30 
31 
32 namespace pat {
33 
35 
36  template<typename JetType>
37  class JetSelector {
38 
39 
40  public:
43 
49  const ParticleStatus
50  filter( const unsigned int& index,
51  const edm::View<JetType>& Jets,
52  const JetValueMap* JetMap
53  ) const;
54 
55 
56  private:
57 
59 
60  std::unique_ptr<CaloJetSelector> CaloJetSelector_;
61  //std::unique_ptr<CaloJetSelector> PFSelector_;///Selects PFJets
62 
63  }; // class
64 
65 } // namespace
66 
67 #endif
pat::JetValueMap
edm::ValueMap< double > JetValueMap
Definition: JetSelector.h:34
CaloJet.h
pat::JetSelection
Definition: JetSelection.h:10
ParticleCode.h
Defines the enumerations of particle type and status.
PFJet.h
pat::JetSelector::JetSelector
JetSelector(const JetSelection &config)
Jet.h
pat::JetSelector
Selects good Jets.
Definition: JetSelector.h:37
config
Definition: config.py:1
pat::JetSelector::CaloJetSelector_
std::unique_ptr< CaloJetSelector > CaloJetSelector_
Definition: JetSelector.h:60
pat::JetSelector::filter
const ParticleStatus filter(const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const
edm::View
Definition: CaloClusterFwd.h:14
pat::ParticleStatus
ParticleStatus
Definition of particle status after selection.
Definition: ParticleCode.h:30
CaloJetSelector.h
pat::JetSelector::config_
JetSelection config_
Definition: JetSelector.h:58
JetSelection.h
pat
Definition: HeavyIon.h:7
METSkim_cff.Jets
Jets
Definition: METSkim_cff.py:17
ValueMap.h
pat::JetSelector::~JetSelector
~JetSelector()
Definition: JetSelector.h:42
edm::ValueMap
Definition: ValueMap.h:107
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46