test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PercentileCMNSubtractor.h
Go to the documentation of this file.
1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
4 
6 
8 
9  public:
10 
11  void subtract(const uint32_t&,const uint16_t& firstAPV, std::vector<int16_t>&);
12  void subtract(const uint32_t&,const uint16_t& firstAPV, std::vector<float>&);
13 
14  private:
15 
16  template<typename T> float percentile(std::vector<T>&, double);
17  template<typename T> void subtract_(const uint32_t&,const uint16_t& firstAPV, std::vector<T>&);
19  percentile_(in) {};
20  double percentile_;
21 
22 };
23 #endif
float percentile(std::vector< T > &, double)
void subtract_(const uint32_t &, const uint16_t &firstAPV, std::vector< T > &)
void subtract(const uint32_t &, const uint16_t &firstAPV, std::vector< int16_t > &)