CMS 3D CMS Logo

HGCDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_HGCSimProducers_HGCDigiProducer_h
2 #define SimCalorimetry_HGCSimProducers_HGCDigiProducer_h
3 
7 
8 #include <vector>
9 
10 namespace edm {
11  class ConsumesCollector;
12  namespace stream {
13  class EDProducerBase;
14  }
15  class ParameterSet;
16  class StreamID;
17 } // namespace edm
18 
19 namespace CLHEP {
20  class HepRandomEngine;
21 }
22 
24 public:
27 
28  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
29  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
30  void accumulate(edm::Event const&, edm::EventSetup const&) override;
31  void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
32  void beginRun(edm::Run const&, edm::EventSetup const&) override;
33  void endRun(edm::Run const&, edm::EventSetup const&) override;
34  ~HGCDigiProducer() override = default;
35 
36 private:
37  //the digitizer
40  CLHEP::HepRandomEngine* randomEngine_ = nullptr;
41 };
42 
43 #endif
edm::StreamID
Definition: StreamID.h:30
HGCDigiProducer::accumulate
void accumulate(edm::Event const &, edm::EventSetup const &) override
Definition: HGCDigiProducer.cc:40
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
HGCDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: HGCDigiProducer.cc:34
HGCDigiProducer
Definition: HGCDigiProducer.h:23
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
ProducesCollector.h
HGCDigiProducer::HGCDigiProducer
HGCDigiProducer(edm::ParameterSet const &pset, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: HGCDigiProducer.cc:11
HGCDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: HGCDigiProducer.cc:27
DigiAccumulatorMixMod.h
HGCDigiProducer::premixStage1_
bool premixStage1_
Definition: HGCDigiProducer.h:38
HGCDigiProducer::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: HGCDigiProducer.cc:64
DigiAccumulatorMixMod
Definition: DigiAccumulatorMixMod.h:41
CLHEP
Definition: CocoaGlobals.h:27
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
EDProducerBase
HGCDigiProducer::theDigitizer_
HGCDigitizer theDigitizer_
Definition: HGCDigiProducer.h:39
HGCDigiProducer::~HGCDigiProducer
~HGCDigiProducer() override=default
edm::EventSetup
Definition: EventSetup.h:57
edm::ProducesCollector
Definition: ProducesCollector.h:43
HGCDigitizer.h
HGCDigitizer
Definition: HGCDigitizer.h:30
HGCDigiProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HGCDigiProducer.cc:61
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HGCDigiProducer::premixStage2_
bool premixStage2_
Definition: HGCDigiProducer.h:38
HGCDigiProducer::randomEngine_
CLHEP::HepRandomEngine * randomEngine_
Definition: HGCDigiProducer.h:40