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  class ProducerBase;
12  class ParameterSet;
13  class StreamID;
14 }
15 
16 namespace CLHEP {
17  class HepRandomEngine;
18 }
19 
21 public:
23 
25 
26  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
27  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
28  void accumulate(edm::Event const&, edm::EventSetup const&) override;
29  void accumulate(PileUpEventPrincipal const&, edm::EventSetup const&, edm::StreamID const&) override;
30  void beginRun(edm::Run const&, edm::EventSetup const&) override;
31  void endRun(edm::Run const&, edm::EventSetup const&) override;
32 
33  void setHBHENoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
34  void setHFNoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
35  void setHONoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
36  void setZDCNoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
37  void setQIE10NoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
38  void setQIE11NoiseSignalGenerator(HcalBaseSignalGenerator * noiseGenerator);
39 
40 private:
41 
42  CLHEP::HepRandomEngine* randomEngine(edm::StreamID const& streamID);
43 
45 
46  std::vector<CLHEP::HepRandomEngine*> randomEngines_;
47 };
48 
49 #endif
CLHEP::HepRandomEngine * randomEngine
Definition: Dummies.cc:7
std::vector< CLHEP::HepRandomEngine * > randomEngines_
HLT enums.
HcalDigitizer theDigitizer_
Definition: Run.h:43