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 {
14  class ParameterSet;
15  class EventSetup;
16  class Event;
17  class ConsumesCollector;
18 } // namespace edm
19 namespace reco {
20  class Candidate;
21 }
22 
24 public:
26  bool operator()(const reco::Candidate&);
27  void init(const edm::EventSetup&);
28 
29 private:
30  typedef std::vector<PdtEntry> vpdt;
32  bool partons_;
34  bool bInclude_;
35  std::set<int> pIds_;
36 };
37 
39 
40 namespace reco {
41  namespace modules {
43  static void init(GenJetParticleSelector& selector, const edm::Event& evt, const edm::EventSetup& es) {
44  selector.init(es);
45  }
46  };
47 
48  template <>
51  };
52  } // namespace modules
53 } // namespace reco
54 
55 #endif
GenJetParticleSelector::operator()
bool operator()(const reco::Candidate &)
Definition: GenJetParticleSelector.cc:45
configurableAnalysis::Candidate
char Candidate[]
Definition: modules.cc:20
modules
Definition: ZHLTMatchFilter.cc:17
edm
HLT enums.
Definition: AlignableModifier.h:19
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::modules::EventSetupInit
Definition: EventSetupInitTrait.h:33
EventSetupInitTrait.h
reco::modules::GenJetParticleSelectorEventSetupInit
Definition: GenJetParticleSelector.h:42
GenJetParticleSelector::partons_
bool partons_
Definition: GenJetParticleSelector.h:32
reco::modules::EventSetupInit< GenJetParticleSelectorEventSetupInit >::type
GenJetParticleSelectorEventSetupInit type
Definition: GenJetParticleSelector.h:50
GenJetParticleSelector
Definition: GenJetParticleSelector.h:23
Event
GenJetParticleSelector::pdtList_
vpdt pdtList_
Definition: GenJetParticleSelector.h:33
GenJetParticleSelector::bInclude_
bool bInclude_
Definition: GenJetParticleSelector.h:34
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
PdtEntry.h
edm::EventSetup
Definition: EventSetup.h:57
GenJetParticleSelector::GenJetParticleSelector
GenJetParticleSelector(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Definition: GenJetParticleSelector.cc:10
reco::Candidate
Definition: Candidate.h:27
GenJetParticleSelector::pIds_
std::set< int > pIds_
Definition: GenJetParticleSelector.h:35
GenJetParticleSelector::init
void init(const edm::EventSetup &)
Definition: GenJetParticleSelector.cc:57
EventSetup
reco::modules::GenJetParticleSelectorEventSetupInit::init
static void init(GenJetParticleSelector &selector, const edm::Event &evt, const edm::EventSetup &es)
Definition: GenJetParticleSelector.h:43
edm::Event
Definition: Event.h:73
GenJetParticleSelector::stableOnly_
bool stableOnly_
Definition: GenJetParticleSelector.h:31
GenJetParticleSelector::vpdt
std::vector< PdtEntry > vpdt
Definition: GenJetParticleSelector.h:30
edm::ConsumesCollector
Definition: ConsumesCollector.h:39