#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, edm::ConsumesCollector iC) | |
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_ |
const SiStripNoises * | noiseHandle |
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > | noiseToken_ |
edm::ESWatcher< SiStripNoisesRcd > | noiseWatcher_ |
const SiStripQuality * | qualityHandle |
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > | qualityToken_ |
edm::ESWatcher< SiStripQualityRcd > | qualityWatcher_ |
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 14 of file IteratedMedianCMNSubtractor.h.
|
inlineprivate |
Definition at line 27 of file IteratedMedianCMNSubtractor.h.
|
overridevirtual |
Reimplemented from SiStripCommonModeNoiseSubtractor.
Definition at line 7 of file IteratedMedianCMNSubtractor.cc.
References edm::ESWatcher< T >::check(), edm::EventSetup::getData(), noiseHandle, noiseToken_, noiseWatcher_, qualityHandle, qualityToken_, and qualityWatcher_.
|
inlineprivate |
Definition at line 78 of file IteratedMedianCMNSubtractor.cc.
References mathSSE::return(), and ecalGpuTask_cfi::sample.
Referenced by subtract_().
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 16 of file IteratedMedianCMNSubtractor.cc.
References hcalRecHitTable_cff::detId, and subtract_().
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 19 of file IteratedMedianCMNSubtractor.cc.
References hcalRecHitTable_cff::detId, and subtract_().
|
inlineprivate |
Definition at line 24 of file IteratedMedianCMNSubtractor.cc.
References SiStripCommonModeNoiseSubtractor::_vmedians, sistrip::APV, cut_to_avoid_signal_, hcalRecHitTable_cff::detId, compareTotals::fs, SiStripNoises::getNoiseFast(), SiStripNoises::getRange(), SiStripBadStrip::getRange(), cuy::ii, SiStripQuality::IsStripBad(), iterations_, eostools::ls(), noiseHandle, hltrates_dqm_sourceclient-live_cfg::offset, pairMedian(), and qualityHandle.
Referenced by subtract().
|
friend |
Definition at line 15 of file IteratedMedianCMNSubtractor.h.
|
private |
Definition at line 31 of file IteratedMedianCMNSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 33 of file IteratedMedianCMNSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 36 of file IteratedMedianCMNSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 34 of file IteratedMedianCMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 38 of file IteratedMedianCMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 37 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 39 of file IteratedMedianCMNSubtractor.h.
Referenced by init().