CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/SimCalorimetry/EcalTrigPrimProducers/plugins/EcalTrigPrimSpikeESProducer.h

Go to the documentation of this file.
00001 #ifndef SimCalorimetry_EcalTrigPrimProducers_EcalTrigPrimSpikeESProducer_H
00002 #define SimCalorimetry_EcalTrigPrimProducers_EcalTrigPrimSpikeESProducer_H
00003 
00004 // user include files
00005 #include "FWCore/Framework/interface/ModuleFactory.h"
00006 #include "FWCore/Framework/interface/ESProducer.h"
00007 
00008 #include "FWCore/Framework/interface/ESHandle.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 
00011 #include "CondFormats/EcalObjects/interface/EcalTPGSpike.h"
00012 #include "CondFormats/DataRecord/interface/EcalTPGSpikeRcd.h"
00013 
00014 #include <vector>
00015 
00016 //
00017 // class declaration
00018 //
00019 
00020 class EcalTrigPrimSpikeESProducer : public edm::ESProducer {
00021  public:
00022   EcalTrigPrimSpikeESProducer(const edm::ParameterSet&);
00023   ~EcalTrigPrimSpikeESProducer();
00024 
00025   std::auto_ptr<EcalTPGSpike> produceSpike(const EcalTPGSpikeRcd &) ;
00026 
00027  private:
00028   std::vector<uint32_t> towerIDs_;
00029   uint16_t zeroThresh_;
00030 };
00031 
00032 
00033 #endif