#include <SiStripCommonModeNoiseSubtractor.h>
Public Member Functions | |
const std::vector< std::pair < short, float > > & | getAPVsCM () |
virtual void | init (const edm::EventSetup &es) |
virtual void | subtract (const uint32_t &, const uint16_t &, std::vector< float > &)=0 |
virtual void | subtract (const uint32_t &, const uint16_t &, std::vector< int16_t > &)=0 |
virtual | ~SiStripCommonModeNoiseSubtractor () |
Protected Member Functions | |
template<typename T > | |
float | median (std::vector< T > &) |
SiStripCommonModeNoiseSubtractor () | |
Protected Attributes | |
std::vector< std::pair< short, float > > | _vmedians |
Friends | |
class | SiStripRawProcessingFactory |
Definition at line 9 of file SiStripCommonModeNoiseSubtractor.h.
virtual SiStripCommonModeNoiseSubtractor::~SiStripCommonModeNoiseSubtractor | ( | ) | [inline, virtual] |
Definition at line 15 of file SiStripCommonModeNoiseSubtractor.h.
{};
SiStripCommonModeNoiseSubtractor::SiStripCommonModeNoiseSubtractor | ( | ) | [inline, protected] |
Definition at line 24 of file SiStripCommonModeNoiseSubtractor.h.
{};
const std::vector< std::pair<short,float> >& SiStripCommonModeNoiseSubtractor::getAPVsCM | ( | ) | [inline] |
Definition at line 20 of file SiStripCommonModeNoiseSubtractor.h.
References _vmedians.
{return _vmedians;}
virtual void SiStripCommonModeNoiseSubtractor::init | ( | const edm::EventSetup & | es | ) | [inline, virtual] |
Reimplemented in IteratedMedianCMNSubtractor, and TT6CMNSubtractor.
Definition at line 16 of file SiStripCommonModeNoiseSubtractor.h.
{};
float SiStripCommonModeNoiseSubtractor::median | ( | std::vector< T > & | sample | ) | [inline, protected] |
Definition at line 36 of file SiStripCommonModeNoiseSubtractor.h.
Referenced by FastLinearCMNSubtractor::subtract_(), and MedianCMNSubtractor::subtract_().
virtual void SiStripCommonModeNoiseSubtractor::subtract | ( | const uint32_t & | , |
const uint16_t & | , | ||
std::vector< float > & | |||
) | [pure virtual] |
Implemented in FastLinearCMNSubtractor, IteratedMedianCMNSubtractor, MedianCMNSubtractor, PercentileCMNSubtractor, and TT6CMNSubtractor.
virtual void SiStripCommonModeNoiseSubtractor::subtract | ( | const uint32_t & | , |
const uint16_t & | , | ||
std::vector< int16_t > & | |||
) | [pure virtual] |
Implemented in FastLinearCMNSubtractor, IteratedMedianCMNSubtractor, MedianCMNSubtractor, PercentileCMNSubtractor, and TT6CMNSubtractor.
friend class SiStripRawProcessingFactory [friend] |
Reimplemented in FastLinearCMNSubtractor, IteratedMedianCMNSubtractor, MedianCMNSubtractor, PercentileCMNSubtractor, and TT6CMNSubtractor.
Definition at line 11 of file SiStripCommonModeNoiseSubtractor.h.
std::vector< std::pair<short,float> > SiStripCommonModeNoiseSubtractor::_vmedians [protected] |
Definition at line 27 of file SiStripCommonModeNoiseSubtractor.h.
Referenced by getAPVsCM(), IteratedMedianCMNSubtractor::subtract_(), MedianCMNSubtractor::subtract_(), and PercentileCMNSubtractor::subtract_().