CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileupVertexAccumulator.h
Go to the documentation of this file.
1 #ifndef PileupVertexAccumulator_h
2 #define PileupVertexAccumulator_h
3 
16 #include <memory>
17 #include <string>
18 #include <vector>
19 
25 
26 namespace edm {
27  class ConsumesCollector;
28  namespace one {
29  class EDProducerBase;
30  }
31  class Event;
32  class EventSetup;
33  class ParameterSet;
34  template<typename T> class Handle;
35  class StreamID;
36 }
37 
39 
40 namespace cms {
42  public:
43 
45 
46  virtual ~PileupVertexAccumulator();
47 
48  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
49  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
50  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
51  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
52 
53  virtual void beginJob() {}
54 
55  private:
56  std::vector<float> pT_Hats_;
57  std::vector<float> z_posns_;
60 
61  };
62 }
63 
64 
65 #endif
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Definition: Event.h:16
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override