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 
6 
7 #include <memory>
8 #include <vector>
9 
10 namespace edm {
11  class ConsumesCollector;
12  namespace stream {
13  class EDProducerBase;
14  }
15  class ParameterSet;
16  class StreamID;
17 }
18 
19 namespace CLHEP {
20  class HepRandomEngine;
21 }
22 
24 public:
27 
28  virtual void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
29  virtual void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
30  virtual void accumulate(edm::Event const&, edm::EventSetup const&) override;
31  virtual void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
32  virtual void beginRun(edm::Run const&, edm::EventSetup const&) override;
33  virtual void endRun(edm::Run const&, edm::EventSetup const&) override;
34  ~HGCDigiProducer();
35 private:
36  CLHEP::HepRandomEngine* randomEngine(edm::StreamID const& streamID);
37  //the digitizer
38  std::unique_ptr<HGCDigitizer> theDigitizer_;
39  std::vector<CLHEP::HepRandomEngine*> randomEngines_;
40 };
41 
42 #endif
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7
std::vector< CLHEP::HepRandomEngine * > randomEngines_
std::unique_ptr< HGCDigitizer > theDigitizer_
HLT enums.
Definition: Run.h:42