RecoLocalTracker
SiStripZeroSuppression
interface
PercentileCMNSubtractor.h
Go to the documentation of this file.
1
#ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
2
#define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPERCENTILECOMMONMODENOISESUBTRACTION_H
3
#include "
RecoLocalTracker/SiStripZeroSuppression/interface/SiStripCommonModeNoiseSubtractor.h
"
4
5
class
PercentileCMNSubtractor
:
public
SiStripCommonModeNoiseSubtractor
{
6
friend
class
SiStripRawProcessingFactory
;
7
8
public
:
9
void
subtract
(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& digis)
override
;
10
void
subtract
(uint32_t detId, uint16_t firstAPV, std::vector<float>& digis)
override
;
11
12
private
:
13
template
<
typename
T>
14
float
percentile
(std::vector<T>&,
double
);
15
template
<
typename
T>
16
void
subtract_
(uint32_t detId, uint16_t firstAPV, std::vector<T>& digis);
17
PercentileCMNSubtractor
(
double
in
) :
percentile_
(
in
){};
18
double
percentile_
;
19
};
20
#endif
PercentileCMNSubtractor::percentile
float percentile(std::vector< T > &, double)
Definition:
PercentileCMNSubtractor.cc:34
SiStripRawProcessingFactory
Definition:
SiStripRawProcessingFactory.h:15
PercentileCMNSubtractor::percentile_
double percentile_
Definition:
PercentileCMNSubtractor.h:17
SiStripCommonModeNoiseSubtractor.h
SiStripCommonModeNoiseSubtractor
Definition:
SiStripCommonModeNoiseSubtractor.h:9
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
PercentileCMNSubtractor::PercentileCMNSubtractor
PercentileCMNSubtractor(double in)
Definition:
PercentileCMNSubtractor.h:17
PercentileCMNSubtractor
Definition:
PercentileCMNSubtractor.h:5
PercentileCMNSubtractor::subtract
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override
Definition:
PercentileCMNSubtractor.cc:3
PercentileCMNSubtractor::subtract_
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)
Definition:
PercentileCMNSubtractor.cc:11
Generated for CMSSW Reference Manual by
1.8.16