RecoLocalTracker
SiStripZeroSuppression
interface
TT6CMNSubtractor.h
Go to the documentation of this file.
1
#ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPTT6COMMONMODENOISESUBTRACTION_H
2
#define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPTT6COMMONMODENOISESUBTRACTION_H
3
#include "
RecoLocalTracker/SiStripZeroSuppression/interface/SiStripCommonModeNoiseSubtractor.h
"
4
5
#include "
FWCore/Framework/interface/ESHandle.h
"
6
class
SiStripNoises
;
7
class
SiStripQuality
;
8
9
class
TT6CMNSubtractor
:
public
SiStripCommonModeNoiseSubtractor
{
10
friend
class
SiStripRawProcessingFactory
;
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
21
TT6CMNSubtractor
(
double
in
) :
cut_to_avoid_signal_
(
in
),
noise_cache_id
(0),
quality_cache_id
(0){};
22
double
cut_to_avoid_signal_
;
23
edm::ESHandle<SiStripNoises>
noiseHandle
;
24
edm::ESHandle<SiStripQuality>
qualityHandle
;
25
uint32_t
noise_cache_id
,
quality_cache_id
;
26
};
27
#endif
TT6CMNSubtractor::init
void init(const edm::EventSetup &es) override
Definition:
TT6CMNSubtractor.cc:9
ESHandle.h
SiStripNoises
Definition:
SiStripNoises.h:25
SiStripRawProcessingFactory
Definition:
SiStripRawProcessingFactory.h:14
SiStripCommonModeNoiseSubtractor.h
TT6CMNSubtractor::TT6CMNSubtractor
TT6CMNSubtractor(double in)
Definition:
TT6CMNSubtractor.h:21
TT6CMNSubtractor
Definition:
TT6CMNSubtractor.h:9
TT6CMNSubtractor::quality_cache_id
uint32_t quality_cache_id
Definition:
TT6CMNSubtractor.h:25
edm::ESHandle< SiStripNoises >
SiStripCommonModeNoiseSubtractor
Definition:
SiStripCommonModeNoiseSubtractor.h:9
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
TT6CMNSubtractor::cut_to_avoid_signal_
double cut_to_avoid_signal_
Definition:
TT6CMNSubtractor.h:21
TT6CMNSubtractor::subtract_
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)
Definition:
TT6CMNSubtractor.cc:31
edm::EventSetup
Definition:
EventSetup.h:57
TT6CMNSubtractor::noiseHandle
edm::ESHandle< SiStripNoises > noiseHandle
Definition:
TT6CMNSubtractor.h:23
TT6CMNSubtractor::noise_cache_id
uint32_t noise_cache_id
Definition:
TT6CMNSubtractor.h:25
TT6CMNSubtractor::subtract
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override
Definition:
TT6CMNSubtractor.cc:23
TT6CMNSubtractor::qualityHandle
edm::ESHandle< SiStripQuality > qualityHandle
Definition:
TT6CMNSubtractor.h:24
SiStripQuality
Definition:
SiStripQuality.h:32
Generated for CMSSW Reference Manual by
1.8.16