CMS 3D CMS Logo

GenJetParticleSelector.h
Go to the documentation of this file.
1 #ifndef GenJetParticleSelector_h
2 #define GenJetParticleSelector_h
3 /* \class GenJetParticleSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * \version $Id: GenJetParticleSelector.h,v 1.1 2008/02/07 14:37:04 llista Exp $
8  *
9  */
11 #include <set>
12 
13 namespace edm { class ParameterSet; class EventSetup; class Event; class ConsumesCollector; }
14 namespace reco { class Candidate; }
15 
17 public:
19  bool operator()(const reco::Candidate&);
20  void init(const edm::EventSetup&);
21 private:
22  typedef std::vector<PdtEntry> vpdt;
24  bool partons_;
25  vpdt pdtList_;
26  bool bInclude_;
27  std::set<int> pIds_;
28 };
29 
31 
32 namespace reco {
33  namespace modules {
35  static void init(GenJetParticleSelector & selector,
36  const edm::Event & evt,
37  const edm::EventSetup& es) {
38  selector.init(es);
39  }
40  };
41 
42  template<>
45  };
46  }
47 }
48 
49 #endif
std::vector< PdtEntry > vpdt
static void init(GenJetParticleSelector &selector, const edm::Event &evt, const edm::EventSetup &es)
void init(const edm::EventSetup &)
fixed size matrix
HLT enums.