CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoLocalTracker/SiStripZeroSuppression/interface/MedianCMNSubtractor.h

Go to the documentation of this file.
00001 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPMEDIANCOMMONMODENOISESUBTRACTION_H
00002 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPMEDIANCOMMONMODENOISESUBTRACTION_H
00003 #include "RecoLocalTracker/SiStripZeroSuppression/interface/SiStripCommonModeNoiseSubtractor.h"
00004 
00005 class MedianCMNSubtractor : public SiStripCommonModeNoiseSubtractor {
00006   
00007   friend class SiStripRawProcessingFactory;
00008   
00009  public:
00010   
00011   void subtract(const uint32_t&,const uint16_t&, std::vector<int16_t>&);
00012   void subtract(const uint32_t&,const uint16_t&,std::vector<float>&);
00013  
00014  private:
00015   
00016   template<typename T> void subtract_(const uint32_t&,const uint16_t&,std::vector<T>&);
00017   MedianCMNSubtractor(){};
00018   
00019 };
00020 #endif