Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICVertexProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICVertexProducer_h
2 #define UserCode_ICHiggsTauTau_ICVertexProducer_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/VertexReco/interface/Vertex.h"
15 
19 class ICVertexProducer : public edm::EDProducer {
20  public:
21  explicit ICVertexProducer(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::Vertex> *vertices_;
30  edm::InputTag input_;
31  std::string branch_;
32  bool first_only_;
33  double track_pt_threshold_;
34  bool request_trks_;
35  boost::hash<reco::Vertex const*> vertex_hasher_;
36  boost::hash<reco::Track const*> track_hasher_;
37 };
38 
39 #endif
ICVertexProducer(const edm::ParameterSet &)
See documentation here.