Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICGenParticleProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICGenParticleProducer_h
2 #define UserCode_ICHiggsTauTau_ICGenParticleProducer_h
3 
4 #include <memory>
5 #include <vector>
6 #include <string>
7 #include "boost/functional/hash.hpp"
8 #include "FWCore/Framework/interface/EDProducer.h"
9 #include "FWCore/ParameterSet/interface/ParameterSet.h"
10 #include "FWCore/Framework/interface/Event.h"
11 #include "FWCore/Framework/interface/EventSetup.h"
12 #include "FWCore/Utilities/interface/InputTag.h"
13 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
15 
19 class ICGenParticleProducer : public edm::EDProducer {
20  public:
21  explicit ICGenParticleProducer(const edm::ParameterSet &);
23 
24  private:
25  virtual void beginJob();
26  virtual void produce(edm::Event &, const edm::EventSetup &);
27  virtual void endJob();
28 
29  std::vector<ic::GenParticle> *particles_;
30  edm::InputTag input_;
31  std::string branch_;
32  boost::hash<reco::GenParticle const *> particle_hasher_;
33 
34  bool store_mothers_;
35  bool store_daughters_;
36  bool store_statusFlags_;
37 };
38 
39 #endif
See documentation here.
ICGenParticleProducer(const edm::ParameterSet &)