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 
11 
12 public:
13  void init(const edm::EventSetup& es) override;
14  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis) override;
15  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis) override;
16 
17 private:
18  template <typename T>
19  void subtract_(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
20 
22  double cut_to_avoid_signal_;
26 };
27 #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