CMS 3D CMS Logo

TT6CMNSubtractor.h
Go to the documentation of this file.
1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPTT6COMMONMODENOISESUBTRACTION_H
2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPTT6COMMONMODENOISESUBTRACTION_H
4 
6 class SiStripNoises;
7 class SiStripQuality;
8 
10 
12 
13  public:
14 
15  void init(const edm::EventSetup& es) override;
16  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis) override;
17  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis) override;
18 
19  private:
20 
21  template<typename T >void subtract_(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
22 
23  TT6CMNSubtractor(double in) :
25  noise_cache_id(0),
27  double cut_to_avoid_signal_;
31 
32 };
33 #endif
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)
edm::ESHandle< SiStripNoises > noiseHandle
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override
edm::ESHandle< SiStripQuality > qualityHandle
TT6CMNSubtractor(double in)
void init(const edm::EventSetup &es) override
uint32_t quality_cache_id