CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/SimCalorimetry/HcalSimProducers/plugins/HcalDigiProducer.cc

Go to the documentation of this file.
00001 #include "SimCalorimetry/HcalSimProducers/plugins/HcalDigiProducer.h"
00002 #include "FWCore/Framework/interface/EDProducer.h"
00003 
00004 HcalDigiProducer::HcalDigiProducer(edm::ParameterSet const& pset, edm::EDProducer& mixMod) :
00005   DigiAccumulatorMixMod(),
00006   theDigitizer_(pset) {
00007   mixMod.produces<HBHEDigiCollection>();
00008   mixMod.produces<HODigiCollection>();
00009   mixMod.produces<HFDigiCollection>();
00010   mixMod.produces<ZDCDigiCollection>();
00011   mixMod.produces<HBHEUpgradeDigiCollection>("HBHEUpgradeDigiCollection");
00012   mixMod.produces<HFUpgradeDigiCollection>("HFUpgradeDigiCollection");
00013 }
00014 
00015 void
00016 HcalDigiProducer::initializeEvent(edm::Event const& event, edm::EventSetup const& es) {
00017   theDigitizer_.initializeEvent(event, es);
00018 }
00019 
00020 void
00021 HcalDigiProducer::finalizeEvent(edm::Event& event, edm::EventSetup const& es) {
00022   theDigitizer_.finalizeEvent(event, es);
00023 }
00024 
00025 void
00026 HcalDigiProducer::accumulate(edm::Event const& event, edm::EventSetup const& es) {
00027   theDigitizer_.accumulate(event, es);
00028 }
00029 
00030 void
00031 HcalDigiProducer::accumulate(PileUpEventPrincipal const& event, edm::EventSetup const& es) {
00032   theDigitizer_.accumulate(event, es);
00033 }
00034 
00035 void
00036 HcalDigiProducer::beginRun(edm::Run const&, edm::EventSetup const& es) {
00037   theDigitizer_.beginRun(es);
00038 }
00039 
00040 void
00041 HcalDigiProducer::endRun(edm::Run const&, edm::EventSetup const&) {
00042   theDigitizer_.endRun();
00043 }