Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICGenJetProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICGenJetProducer_h
2 #define UserCode_ICHiggsTauTau_ICGenJetProducer_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/JetReco/interface/GenJet.h"
14 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
16 
20 class ICGenJetProducer : public edm::EDProducer {
21  public:
22  explicit ICGenJetProducer(const edm::ParameterSet&);
24 
25  private:
26  virtual void beginJob();
27  virtual void produce(edm::Event&, const edm::EventSetup&);
28  virtual void endJob();
29 
30  std::vector<ic::GenJet>* gen_jets_;
31  edm::InputTag input_;
32  std::string branch_;
33  edm::InputTag input_particles_;
34  boost::hash<reco::GenJet const*> gen_jet_hasher_;
35  boost::hash<reco::GenParticle const *> particle_hasher_;
36 
37 
38  bool request_gen_particles_;
39  bool is_slimmed_;
40 };
41 
42 #endif
ICGenJetProducer(const edm::ParameterSet &)
See documentation here.