CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::auto_ptr<CaloJetSelector> CaloJetSelector_;
61  //std::auto_ptr<CaloJetSelector> PFSelector_;///Selects PFJets
62 
63  }; // class
64 
65 } // namespace
66 
67 #endif
Defines the enumerations of particle type and status.
const ParticleStatus filter(const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const
Selects good Jets.
Definition: JetSelector.h:37
JetSelector(const JetSelection &config)
tuple Jets
Definition: METSkim_cff.py:17
std::auto_ptr< CaloJetSelector > CaloJetSelector_
Definition: JetSelector.h:60
edm::ValueMap< double > JetValueMap
Definition: JetSelector.h:34
ParticleStatus
Definition of particle status after selection.
Definition: ParticleCode.h:32
JetSelection config_
Definition: JetSelector.h:58