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
6 
9 class SiStripNoises;
10 class SiStripQuality;
11 
14 
15 public:
16  void init(const edm::EventSetup& es) override;
17  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis) override;
18  void subtract(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis) override;
19 
20 private:
21  template <typename T>
22  void subtract_(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
23 
26  noiseToken_(iC.esConsumes<SiStripNoises, SiStripNoisesRcd>()),
27  qualityToken_(iC.esConsumes<SiStripQuality, SiStripQualityRcd>()) {}
35 };
36 #endif
TT6CMNSubtractor::noiseToken_
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
Definition: TT6CMNSubtractor.h:29
TT6CMNSubtractor::qualityHandle
const SiStripQuality * qualityHandle
Definition: TT6CMNSubtractor.h:32
TT6CMNSubtractor::init
void init(const edm::EventSetup &es) override
Definition: TT6CMNSubtractor.cc:7
edm::ESWatcher< SiStripNoisesRcd >
SiStripNoises
Definition: SiStripNoises.h:25
SiStripRawProcessingFactory
Definition: SiStripRawProcessingFactory.h:15
SiStripCommonModeNoiseSubtractor.h
TT6CMNSubtractor::qualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > qualityToken_
Definition: TT6CMNSubtractor.h:30
TT6CMNSubtractor
Definition: TT6CMNSubtractor.h:12
SiStripNoisesRcd
Definition: SiStripCondDataRecords.h:40
SiStripQualityRcd
Definition: SiStripDependentRecords.h:55
SiStripCommonModeNoiseSubtractor
Definition: SiStripCommonModeNoiseSubtractor.h:9
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TT6CMNSubtractor::cut_to_avoid_signal_
double cut_to_avoid_signal_
Definition: TT6CMNSubtractor.h:28
TT6CMNSubtractor::subtract_
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)
Definition: TT6CMNSubtractor.cc:24
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd >
TT6CMNSubtractor::qualityWatcher_
edm::ESWatcher< SiStripQualityRcd > qualityWatcher_
Definition: TT6CMNSubtractor.h:34
TT6CMNSubtractor::noiseWatcher_
edm::ESWatcher< SiStripNoisesRcd > noiseWatcher_
Definition: TT6CMNSubtractor.h:33
ESWatcher.h
TT6CMNSubtractor::TT6CMNSubtractor
TT6CMNSubtractor(double in, edm::ConsumesCollector iC)
Definition: TT6CMNSubtractor.h:24
SiStripQualityRcd.h
TT6CMNSubtractor::subtract
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override
Definition: TT6CMNSubtractor.cc:16
SiStripNoisesRcd.h
ConsumesCollector.h
TT6CMNSubtractor::noiseHandle
const SiStripNoises * noiseHandle
Definition: TT6CMNSubtractor.h:31
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
SiStripQuality
Definition: SiStripQuality.h:32