#include <TkCommonModeCalculator.h>
Public Member Functions | |
virtual TkCommonMode * | commonMode ()=0 |
virtual ApvAnalysis::PedestalType | doIt (const ApvAnalysis::PedestalType &)=0 |
virtual float | getCMSlope ()=0 |
virtual void | newEvent () |
virtual void | setCM (const std::vector< float > &)=0 |
virtual void | setCM (TkCommonMode *)=0 |
virtual | ~TkCommonModeCalculator () |
The abstract class for common mode subtraction.
Definition at line 9 of file TkCommonModeCalculator.h.
virtual TkCommonModeCalculator::~TkCommonModeCalculator | ( | ) | [inline, virtual] |
Definition at line 12 of file TkCommonModeCalculator.h.
{}
virtual TkCommonMode* TkCommonModeCalculator::commonMode | ( | ) | [pure virtual] |
Get CM value
Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
Referenced by ApvAnalysisFactory::deleteApv().
virtual ApvAnalysis::PedestalType TkCommonModeCalculator::doIt | ( | const ApvAnalysis::PedestalType & | ) | [pure virtual] |
Return CM-subtracted data in APV
Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
virtual float TkCommonModeCalculator::getCMSlope | ( | ) | [pure virtual] |
Get Slope
Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
virtual void TkCommonModeCalculator::newEvent | ( | ) | [inline, virtual] |
Tell CM calculator that a new event is available
Reimplemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
Definition at line 20 of file TkCommonModeCalculator.h.
{}
virtual void TkCommonModeCalculator::setCM | ( | const std::vector< float > & | ) | [pure virtual] |
Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
virtual void TkCommonModeCalculator::setCM | ( | TkCommonMode * | ) | [pure virtual] |
Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.
Referenced by ApvAnalysisFactory::constructAuxiliaryApvClasses().