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 
24 
25 namespace edm {
26  class ConsumesCollector;
27  namespace one {
28  class EDProducerBase;
29  }
30  class Event;
31  class EventSetup;
32  class ParameterSet;
33  template<typename T> class Handle;
34  class StreamID;
35 }
36 
38 
39 namespace cms {
41  public:
42 
44 
45  virtual ~PileupVertexAccumulator();
46 
47  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
48  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
49  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
50  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c) override;
51 
52  virtual void beginJob() {}
53 
54  private:
55  std::vector<float> pT_Hats_;
56  std::vector<float> z_posns_;
58 
59  };
60 }
61 
62 
63 #endif
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::one::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
tuple conf
Definition: dbtoconf.py:185
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override