CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  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 
41 
42 private:
43 
44  CLHEP::HepRandomEngine* randomEngine(edm::StreamID const& streamID);
45 
47 
48  std::vector<CLHEP::HepRandomEngine*> randomEngines_;
49 };
50 
51 #endif
HcalDigiProducer(edm::ParameterSet const &pset, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
virtual void accumulate(edm::Event const &, edm::EventSetup const &) override
CLHEP::HepRandomEngine * randomEngine(edm::StreamID const &streamID)
void setQIE10NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
virtual void endRun(edm::Run const &, edm::EventSetup const &) override
void setQIE11NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
std::vector< CLHEP::HepRandomEngine * > randomEngines_
virtual void finalizeEvent(edm::Event &, edm::EventSetup const &) override
virtual void initializeEvent(edm::Event const &, edm::EventSetup const &) override
void setZDCNoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
virtual void beginRun(edm::Run const &, edm::EventSetup const &) override
HcalDigitizer theDigitizer_
void setHONoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
void setHFNoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
void setHBHENoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: Run.h:42