#include <TT6CMNSubtractor.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 | |
template<typename T > | |
void | subtract_ (uint32_t detId, uint16_t firstAPV, std::vector< T > &digis) |
TT6CMNSubtractor (double in, edm::ConsumesCollector iC) | |
Private Attributes | |
double | cut_to_avoid_signal_ |
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 12 of file TT6CMNSubtractor.h.
|
inlineprivate |
Definition at line 24 of file TT6CMNSubtractor.h.
|
overridevirtual |
Reimplemented from SiStripCommonModeNoiseSubtractor.
Definition at line 7 of file TT6CMNSubtractor.cc.
References edm::ESWatcher< T >::check(), edm::EventSetup::getData(), noiseHandle, noiseToken_, noiseWatcher_, qualityHandle, qualityToken_, and qualityWatcher_.
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 16 of file TT6CMNSubtractor.cc.
References hcalRecHitTable_cff::detId, and subtract_().
|
overridevirtual |
Implements SiStripCommonModeNoiseSubtractor.
Definition at line 19 of file TT6CMNSubtractor.cc.
References hcalRecHitTable_cff::detId, and subtract_().
|
inlineprivate |
Definition at line 24 of file TT6CMNSubtractor.cc.
References funct::abs(), cut_to_avoid_signal_, hcalRecHitTable_cff::detId, compareTotals::fs, SiStripNoises::getNoiseFast(), SiStripNoises::getRange(), SiStripBadStrip::getRange(), SiStripQuality::IsStripBad(), eostools::ls(), noiseHandle, and qualityHandle.
Referenced by subtract().
|
friend |
Definition at line 13 of file TT6CMNSubtractor.h.
|
private |
Definition at line 28 of file TT6CMNSubtractor.h.
Referenced by subtract_().
|
private |
Definition at line 31 of file TT6CMNSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 29 of file TT6CMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 33 of file TT6CMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 32 of file TT6CMNSubtractor.h.
Referenced by init(), and subtract_().
|
private |
Definition at line 30 of file TT6CMNSubtractor.h.
Referenced by init().
|
private |
Definition at line 34 of file TT6CMNSubtractor.h.
Referenced by init().