CMS 3D CMS Logo

PercentileCMNSubtractor.h
Go to the documentation of this file.
1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
4 
7 
8 public:
9  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis) override;
10  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis) override;
11 
12 private:
13  template <typename T>
14  float percentile(std::vector<T>&, double);
15  template <typename T>
16  void subtract_(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
18  double percentile_;
19 };
20 #endif
float percentile(std::vector< T > &, double)
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)