CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IteratedMedianCMNSubtractor.h
Go to the documentation of this file.
1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPITERATEDMEDIANCOMMONMODENOISESUBTRACTION_H
2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPITERATEDMEDIANCOMMONMODENOISESUBTRACTION_H
4 
6 
7 class SiStripNoises;
8 class SiStripQuality;
9 
11 
13 
14  public:
15 
16  void init(const edm::EventSetup& es);
17  void subtract(const uint32_t&,std::vector<int16_t>&);
18  void subtract(const uint32_t&,std::vector<float>&);
19 
20  private:
21 
22  template<typename T >void subtract_(const uint32_t&,std::vector<T>&);
23 
24 
25  IteratedMedianCMNSubtractor(double sigma, int iterations) :
26  cut_to_avoid_signal_(sigma),
27  iterations_(iterations),
28  noise_cache_id(0),
30  double cut_to_avoid_signal_;
35 
36 
37 };
38 #endif
39 
edm::ESHandle< SiStripNoises > noiseHandle
IteratedMedianCMNSubtractor(double sigma, int iterations)
void subtract(const uint32_t &, std::vector< int16_t > &)
void subtract_(const uint32_t &, std::vector< T > &)
void init(const edm::EventSetup &es)
edm::ESHandle< SiStripQuality > qualityHandle