CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
26 
27 namespace edm {
28  class ConsumesCollector;
29  class ProducerBase;
30  class Event;
31  class EventSetup;
32  class ParameterSet;
33  template <typename T>
34  class Handle;
35  class StreamID;
36 } // namespace edm
37 
39 
40 namespace cms {
42  public:
44 
45  ~PileupVertexAccumulator() override;
46 
47  void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
48  void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
49  void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
50  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_;
57  std::vector<float> t_posns_;
61  };
62 } // namespace cms
63 
64 #endif
const edm::EventSetup & c
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override