CMS 3D CMS Logo

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  class ProducerBase;
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  ~PileupVertexAccumulator() override;
45 
46  void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
47  void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
48  void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
49  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  std::vector<float> t_posns_;
60 
61  };
62 }
63 
64 
65 #endif
HLT enums.