CMS 3D CMS Logo

SiStripPedestalsSubtractor.h

Go to the documentation of this file.
00001 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPEDESTALSSUBTRACTOR_H
00002 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPEDESTALSSUBTRACTOR_H
00003 
00004 //Data Formats
00005 #include "DataFormats/Common/interface/DetSetVector.h"
00006 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
00007 #include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h"
00008 
00009 #include "FWCore/Framework/interface/ESHandle.h"
00010 #include "FWCore/Framework/interface/EventSetup.h"
00011 
00012 #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h"
00013 
00014 #include <vector>
00015 
00016 class SiStripPedestalsSubtractor {
00017 public:
00018   
00019   SiStripPedestalsSubtractor(){};
00020   ~SiStripPedestalsSubtractor(){};
00021 
00022   void subtract(const edm::DetSet<SiStripRawDigi>&, std::vector<int16_t>&);
00023   void init(const edm::EventSetup& );
00024 
00025 private:
00026 
00027   edm::ESHandle<SiStripPedestals> pedestalsHandle;
00028 
00029   std::vector<int> peds_;
00030 };
00031 #endif

Generated on Tue Jun 9 17:26:02 2009 for CMSSW by  doxygen 1.5.4