#include <IteratedMedianCMNSubtractor.h>
Public Member Functions | |
void | init (const edm::EventSetup &es) override |
void | subtract (uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override |
void | subtract (uint32_t detId, uint16_t firstAPV, std::vector< float > &digis) override |
Public Member Functions inherited from SiStripCommonModeNoiseSubtractor | |
const std::vector< std::pair< short, float > > & | getAPVsCM () const |
virtual | ~SiStripCommonModeNoiseSubtractor () |
Private Member Functions | |
IteratedMedianCMNSubtractor (double sigma, int iterations) | |
float | pairMedian (std::vector< std::pair< float, float > > &sample) |
template<typename T > | |
void | subtract_ (uint32_t detId, uint16_t firstAPV, std::vector< T > &digis) |
Private Attributes | |
double | cut_to_avoid_signal_ |
int | iterations_ |
uint32_t | noise_cache_id |
edm::ESHandle< SiStripNoises > | noiseHandle |
uint32_t | quality_cache_id |
edm::ESHandle< SiStripQuality > | qualityHandle |
Friends | |
class | SiStripRawProcessingFactory |
Additional Inherited Members | |
Protected Member Functions inherited from SiStripCommonModeNoiseSubtractor | |
template<typename T > | |
float | median (std::vector< T > &) |
SiStripCommonModeNoiseSubtractor () | |
Protected Attributes inherited from SiStripCommonModeNoiseSubtractor | |
std::vector< std::pair< short, float > > | _vmedians |
Definition at line 11 of file IteratedMedianCMNSubtractor.h.
|
inlineprivate |
Definition at line 26 of file IteratedMedianCMNSubtractor.h.
|
overridevirtual |
Reimplemented from SiStripCommonModeNoiseSubtractor.
Definition at line 9 of file IteratedMedianCMNSubtractor.cc.
References edm::EventSetup::get(), noise_cache_id, noiseHandle, quality_cache_id, and qualityHandle.
|
inlineprivate |
Definition at line 90 of file IteratedMedianCMNSubtractor.cc.
References mathSSE::return(), and simplePhotonAnalyzer_cfi::sample.
Referenced by subtract_().
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 23 of file IteratedMedianCMNSubtractor.cc.
References subtract_().
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 24 of file IteratedMedianCMNSubtractor.cc.
References subtract_().
|
inlineprivate |
Definition at line 29 of file IteratedMedianCMNSubtractor.cc.
References SiStripCommonModeNoiseSubtractor::_vmedians, sistrip::APV, cut_to_avoid_signal_, SiStripNoises::getNoiseFast(), SiStripNoises::getRange(), SiStripBadStrip::getRange(), cuy::ii, SiStripQuality::IsStripBad(), iterations_, eostools::ls(), noiseHandle, PFRecoTauDiscriminationByIsolation_cfi::offset, pairMedian(), and qualityHandle.
Referenced by subtract().
|
friend |
Definition at line 13 of file IteratedMedianCMNSubtractor.h.
|
private |
Definition at line 30 of file IteratedMedianCMNSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 32 of file IteratedMedianCMNSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 35 of file IteratedMedianCMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 33 of file IteratedMedianCMNSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 35 of file IteratedMedianCMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 34 of file IteratedMedianCMNSubtractor.h.
Referenced by init(), and subtract_().