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
std::vector< std::unique_ptr< MTDDigitizerBase > > theDigitizers_
MTDDigiProducer(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
HLT enums.
#define DEFINE_DIGI_ACCUMULATOR(type)
Definition: Run.h:45