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 
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
edm::StreamID
Definition: StreamID.h:30
ESHandle.h
Handle
edm
HLT enums.
Definition: AlignableModifier.h:19
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
ProducesCollector.h
cms::PileupVertexAccumulator::fallbackMtag_
edm::InputTag fallbackMtag_
Definition: PileupVertexAccumulator.h:59
cms::PileupVertexAccumulator::pT_Hats_
std::vector< float > pT_Hats_
Definition: PileupVertexAccumulator.h:55
cms::PileupVertexAccumulator
Definition: PileupVertexAccumulator.h:41
cms::PileupVertexAccumulator::t_posns_
std::vector< float > t_posns_
Definition: PileupVertexAccumulator.h:57
DigiAccumulatorMixMod.h
EventID.h
Event
cms::PileupVertexAccumulator::saveVtxTimes_
bool saveVtxTimes_
Definition: PileupVertexAccumulator.h:60
DigiAccumulatorMixMod
Definition: DigiAccumulatorMixMod.h:41
cms::PileupVertexAccumulator::Mtag_
edm::InputTag Mtag_
Definition: PileupVertexAccumulator.h:58
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
cms::PileupVertexAccumulator::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
Definition: PileupVertexAccumulator.cc:138
edm::EventSetup
Definition: EventSetup.h:58
cms::PileupVertexAccumulator::initializeEvent
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
Definition: PileupVertexAccumulator.cc:86
InputTag.h
cms::PileupVertexAccumulator::PileupVertexAccumulator
PileupVertexAccumulator(const edm::ParameterSet &conf, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: PileupVertexAccumulator.cc:64
edm::ProducesCollector
Definition: ProducesCollector.h:43
cms::PileupVertexAccumulator::~PileupVertexAccumulator
~PileupVertexAccumulator() override
Definition: PileupVertexAccumulator.cc:80
cms::PileupVertexAccumulator::beginJob
virtual void beginJob()
Definition: PileupVertexAccumulator.h:52
EventSetup
cms::PileupVertexAccumulator::accumulate
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Definition: PileupVertexAccumulator.cc:94
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
cms::PileupVertexAccumulator::z_posns_
std::vector< float > z_posns_
Definition: PileupVertexAccumulator.h:56
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37