#include <PercentileCMNSubtractor.h>
Definition at line 5 of file PercentileCMNSubtractor.h.
◆ PercentileCMNSubtractor()
PercentileCMNSubtractor::PercentileCMNSubtractor |
( |
double |
in | ) |
|
|
inlineprivate |
◆ percentile()
template<typename T >
float PercentileCMNSubtractor::percentile |
( |
std::vector< T > & |
sample, |
|
|
double |
pct |
|
) |
| |
|
inlineprivate |
◆ subtract() [1/2]
void PercentileCMNSubtractor::subtract |
( |
uint32_t |
detId, |
|
|
uint16_t |
firstAPV, |
|
|
std::vector< int16_t > & |
digis |
|
) |
| |
|
overridevirtual |
◆ subtract() [2/2]
void PercentileCMNSubtractor::subtract |
( |
uint32_t |
detId, |
|
|
uint16_t |
firstAPV, |
|
|
std::vector< float > & |
digis |
|
) |
| |
|
overridevirtual |
◆ subtract_()
template<typename T >
void PercentileCMNSubtractor::subtract_ |
( |
uint32_t |
detId, |
|
|
uint16_t |
firstAPV, |
|
|
std::vector< T > & |
digis |
|
) |
| |
|
inlineprivate |
Definition at line 11 of file PercentileCMNSubtractor.cc.
References SiStripCommonModeNoiseSubtractor::_vmedians, mps_fire::end, hltrates_dqm_sourceclient-live_cfg::offset, percentile(), percentile_, nano_mu_digi_cff::strip, and createJobs::tmp.
Referenced by subtract().
14 typename std::vector<T>::iterator
strip(digis.begin()),
end(digis.end()), endAPV;
26 while (
strip < endAPV) {
float percentile(std::vector< T > &, double)
std::vector< std::pair< short, float > > _vmedians
◆ SiStripRawProcessingFactory
◆ percentile_
double PercentileCMNSubtractor::percentile_ |
|
private |