CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/RecoLocalTracker/SiStripZeroSuppression/interface/FastLinearCMNSubtractor.h

Go to the documentation of this file.
00001 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPFASTLINEARCOMMONMODENOISESUBTRACTION_H
00002 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPFASTLINEARCOMMONMODENOISESUBTRACTION_H
00003 #include "RecoLocalTracker/SiStripZeroSuppression/interface/SiStripCommonModeNoiseSubtractor.h"
00004 
00005 class FastLinearCMNSubtractor : 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   FastLinearCMNSubtractor(){};
00018 
00019 };
00020 #endif