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 
8 
9 #include <memory>
10 #include <vector>
11 
12 namespace CLHEP {
13  class HepRandomEngine;
14 }
15 
17 public:
20  throw cms::Exception("DeprecatedConstructor")
21  << "Please make sure you're calling this with the threaded mixing module...";
22  }
23 
24  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
25  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
26  void accumulate(edm::Event const&, edm::EventSetup const&) override;
27  void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
28  ~MTDDigiProducer() override;
29 
30 private:
31  //the digitizer
32  std::vector<std::unique_ptr<MTDDigitizerBase> > theDigitizers_;
33  CLHEP::HepRandomEngine* randomEngine_ = nullptr;
34 };
35 
39 
40 #endif
edm::StreamID
Definition: StreamID.h:30
MTDDigiProducer::theDigitizers_
std::vector< std::unique_ptr< MTDDigitizerBase > > theDigitizers_
Definition: MTDDigiProducer.h:32
MTDDigiProducer::~MTDDigiProducer
~MTDDigiProducer() override
Definition: MTDDigiProducer.cc:26
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
ProducesCollector.h
MTDDigiProducer::MTDDigiProducer
MTDDigiProducer(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
Definition: MTDDigiProducer.h:19
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
FrameworkfwdMostUsed.h
MTDDigitizerBase.h
edm::EventSetup
Definition: EventSetup.h:58
MTDDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: MTDDigiProducer.cc:38
MTDDigiProducer::randomEngine_
CLHEP::HepRandomEngine * randomEngine_
Definition: MTDDigiProducer.h:33
MTDDigiProducer
Definition: MTDDigiProducer.h:16
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:245
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