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>
33  class Handle;
34  class StreamID;
35 } // namespace edm
36 
38 
39 namespace cms {
41  public:
42  explicit PileupVertexAccumulator(const edm::ParameterSet& conf,
43  edm::ProducerBase& mixMod,
45 
46  ~PileupVertexAccumulator() override;
47 
48  void initializeEvent(edm::Event const& e, edm::EventSetup const& c) override;
49  void accumulate(edm::Event const& e, edm::EventSetup const& c) override;
50  void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&) override;
51  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_;
58  std::vector<float> t_posns_;
62  };
63 } // namespace cms
64 
65 #endif
Namespace of DDCMS conversion namespace.
HLT enums.