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