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
Defines the enumerations of particle type and status.
std::unique_ptr< CaloJetSelector > CaloJetSelector_
Definition: JetSelector.h:60
const ParticleStatus filter(const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const
Definition: config.py:1
Selects good Jets.
Definition: JetSelector.h:37
JetSelector(const JetSelection &config)
Definition: HeavyIon.h:7
edm::ValueMap< double > JetValueMap
Definition: JetSelector.h:34
ParticleStatus
Definition of particle status after selection.
Definition: ParticleCode.h:30
JetSelection config_
Definition: JetSelector.h:58