Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICSecondaryVertexProducer.hh
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_ICSecondaryVertexProducer_h
2 #define UserCode_ICHiggsTauTau_ICSecondaryVertexProducer_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"
14 #include "DataFormats/TrackReco/interface/Track.h"
16 
20 class ICSecondaryVertexProducer : public edm::EDProducer {
21  public:
22  explicit ICSecondaryVertexProducer(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::SecondaryVertex> *vertices_;
31  edm::InputTag input_;
32  std::string branch_;
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
ICSecondaryVertexProducer(const edm::ParameterSet &)