Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:14

0001 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPFASTLINEARCOMMONMODENOISESUBTRACTION_H
0002 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPFASTLINEARCOMMONMODENOISESUBTRACTION_H
0003 #include "RecoLocalTracker/SiStripZeroSuppression/interface/SiStripCommonModeNoiseSubtractor.h"
0004 
0005 class FastLinearCMNSubtractor : public SiStripCommonModeNoiseSubtractor {
0006   friend class SiStripRawProcessingFactory;
0007 
0008 public:
0009   void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis) override;
0010   void subtract(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis) override;
0011 
0012 private:
0013   template <typename T>
0014   void subtract_(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
0015   FastLinearCMNSubtractor(){};
0016 };
0017 #endif