CMS 3D CMS Logo

MTDDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimFastTiming_FastTimingCommon_MTDDigiProducer_h
2 #define SimFastTiming_FastTimingCommon_MTDDigiProducer_h
3 
7 
8 #include <memory>
9 #include <vector>
10 
11 namespace edm {
12  class ConsumesCollector;
13  class ParameterSet;
14  class StreamID;
15 } // namespace edm
16 
17 namespace CLHEP {
18  class HepRandomEngine;
19 }
20 
22 public:
25  throw cms::Exception("DeprecatedConstructor")
26  << "Please make sure you're calling this with the threaded mixing module...";
27  }
28 
29  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
30  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
31  void accumulate(edm::Event const&, edm::EventSetup const&) override;
32  void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
33  void beginRun(edm::Run const&, edm::EventSetup const&) override;
34  void endRun(edm::Run const&, edm::EventSetup const&) override;
35  ~MTDDigiProducer() override;
36 
37 private:
38  //the digitizer
39  std::vector<std::unique_ptr<MTDDigitizerBase> > theDigitizers_;
40  CLHEP::HepRandomEngine* randomEngine_ = nullptr;
41 };
42 
46 
47 #endif
edm::StreamID
Definition: StreamID.h:30
MTDDigiProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:61
MTDDigiProducer::theDigitizers_
std::vector< std::unique_ptr< MTDDigitizerBase > > theDigitizers_
Definition: MTDDigiProducer.h:39
edm::Run
Definition: Run.h:45
MTDDigiProducer::~MTDDigiProducer
~MTDDigiProducer() override
Definition: MTDDigiProducer.cc:26
edm
HLT enums.
Definition: AlignableModifier.h:19
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
ProducesCollector.h
MTDDigiProducer::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:68
MTDDigiProducer::MTDDigiProducer
MTDDigiProducer(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
Definition: MTDDigiProducer.h:24
MakerMacros.h
MTDDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:29
DigiAccumulatorMixMod.h
DigiAccumulatorMixMod
Definition: DigiAccumulatorMixMod.h:41
CLHEP
Definition: CocoaGlobals.h:27
edm::ParameterSet
Definition: ParameterSet.h:47
MTDDigiProducer::MTDDigiProducer
MTDDigiProducer(edm::ParameterSet const &pset, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: MTDDigiProducer.cc:10
ParameterSet
Definition: Functions.h:16
MTDDigitizerBase.h
edm::EventSetup
Definition: EventSetup.h:57
MTDDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:38
MTDDigiProducer::randomEngine_
CLHEP::HepRandomEngine * randomEngine_
Definition: MTDDigiProducer.h:40
MTDDigiProducer
Definition: MTDDigiProducer.h:21
edm::ProducesCollector
Definition: ProducesCollector.h:43
MTDDigiProducer::accumulate
void accumulate(edm::Event const &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:46
Exception
Definition: hltDiff.cc:246
DigiAccumulatorMixModFactory.h
DEFINE_DIGI_ACCUMULATOR
#define DEFINE_DIGI_ACCUMULATOR(type)
Definition: DigiAccumulatorMixModFactory.h:31
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27