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