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
~MTDDigiProducer() override
MTDDigiProducer(edm::ParameterSet const &pset, edm::ProducesCollector, edm::ConsumesCollector &iC)
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
std::vector< std::unique_ptr< MTDDigitizerBase > > theDigitizers_
MTDDigiProducer(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
CLHEP::HepRandomEngine * randomEngine_
void accumulate(edm::Event const &, edm::EventSetup const &) override
#define DEFINE_DIGI_ACCUMULATOR(type)