CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/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 "DataFormats/Common/interface/EDProduct.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "DataFormats/Common/interface/Handle.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 #include "FWCore/Framework/interface/ESHandle.h"
00010 #include "FWCore/Framework/interface/EventSetup.h"
00011 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00012 #include "FWCore/Framework/interface/MakerMacros.h"
00013 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00014 #include "DataFormats/Provenance/interface/Provenance.h"
00015 #include "CondFormats/ESObjects/interface/ESThresholds.h"
00016 #include "CondFormats/DataRecord/interface/ESThresholdsRcd.h"
00017 #include "CondFormats/ESObjects/interface/ESPedestals.h"
00018 #include "CondFormats/DataRecord/interface/ESPedestalsRcd.h"
00019 
00020 class ESZeroSuppressionProducer : public edm::EDProducer
00021 {
00022  public:
00023     
00024   explicit ESZeroSuppressionProducer(const edm::ParameterSet& ps);
00025   virtual ~ESZeroSuppressionProducer();
00026   
00028   virtual void produce(edm::Event& event, const edm::EventSetup& eventSetup);
00029   
00030   
00031  private:
00032 
00033   std::string digiProducer_;
00034   std::string ESdigiCollection_;
00035   std::string ESZSdigiCollection_;
00036 
00037   edm::ESHandle<ESThresholds> esthresholds_;
00038   edm::ESHandle<ESPedestals> espeds_;
00039 };
00040 
00041 #endif