CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/SimCalorimetry/EcalZeroSuppressionProducers/interface/ESZeroSuppressionProducer.h

Go to the documentation of this file.
00001 #ifndef ESZEROSUPPRESSIONPRODUCER_H
00002 #define ESZEROSUPPRESSIONPRODUCER_H
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "FWCore/Framework/interface/ESHandle.h"
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00011 #include "FWCore/Framework/interface/MakerMacros.h"
00012 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00013 #include "DataFormats/Provenance/interface/Provenance.h"
00014 #include "CondFormats/ESObjects/interface/ESThresholds.h"
00015 #include "CondFormats/DataRecord/interface/ESThresholdsRcd.h"
00016 #include "CondFormats/ESObjects/interface/ESPedestals.h"
00017 #include "CondFormats/DataRecord/interface/ESPedestalsRcd.h"
00018 
00019 class ESZeroSuppressionProducer : public edm::EDProducer
00020 {
00021  public:
00022     
00023   explicit ESZeroSuppressionProducer(const edm::ParameterSet& ps);
00024   virtual ~ESZeroSuppressionProducer();
00025   
00027   virtual void produce(edm::Event& event, const edm::EventSetup& eventSetup);
00028   
00029   
00030  private:
00031 
00032   std::string digiProducer_;
00033   std::string ESdigiCollection_;
00034   std::string ESZSdigiCollection_;
00035 
00036   edm::ESHandle<ESThresholds> esthresholds_;
00037   edm::ESHandle<ESPedestals> espeds_;
00038 };
00039 
00040 #endif