CMS 3D CMS Logo

HcalDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_HcalSimProducers_HcalDigiProducer_h
2 #define SimCalorimetry_HcalSimProducers_HcalDigiProducer_h
3 
6 
7 #include <vector>
8 
9 namespace edm {
10  class ConsumesCollector;
11  namespace stream {
12  class EDProducerBase;
13  }
14  class ParameterSet;
15  class StreamID;
16 }
17 
18 namespace CLHEP {
19  class HepRandomEngine;
20 }
21 
23 public:
25 
27 
28  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
29  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
30  void accumulate(edm::Event const&, edm::EventSetup const&) override;
31  void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
32  void beginRun(edm::Run const&, edm::EventSetup const&) override;
33  void endRun(edm::Run const&, edm::EventSetup const&) override;
34 
35  void setHBHENoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
36  void setHFNoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
37  void setHONoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
38  void setZDCNoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
39  void setQIE10NoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
40  void setQIE11NoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
41 
42 private:
43 
44  CLHEP::HepRandomEngine* randomEngine(edm::StreamID const& streamID);
45 
47 
48  std::vector<CLHEP::HepRandomEngine*> randomEngines_;
49 };
50 
51 #endif
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7
std::vector< CLHEP::HepRandomEngine * > randomEngines_
HLT enums.
HcalDigitizer theDigitizer_
Definition: Run.h:43