test
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 one {
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 
39 
40 private:
41 
42  CLHEP::HepRandomEngine* randomEngine(edm::StreamID const& streamID);
43 
45 
46  std::vector<CLHEP::HepRandomEngine*> randomEngines_;
47 };
48 
49 #endif
virtual void accumulate(edm::Event const &, edm::EventSetup const &) override
CLHEP::HepRandomEngine * randomEngine(edm::StreamID const &streamID)
virtual void endRun(edm::Run const &, edm::EventSetup const &) override
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)
HcalDigiProducer(edm::ParameterSet const &pset, edm::one::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
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:41