#include <TkNoiseCalculator.h>
Public Member Functions | |
virtual void | newEvent () |
virtual ApvAnalysis::PedestalType | noise () const =0 |
virtual void | resetNoise ()=0 |
virtual void | setStripNoise (ApvAnalysis::PedestalType &in)=0 |
TkStateMachine * | status () |
virtual float | stripNoise (int) const =0 |
virtual void | updateNoise (ApvAnalysis::PedestalType &)=0 |
virtual void | updateStatus ()=0 |
Protected Attributes | |
TkStateMachine | theStatus |
The abstract class for noise calculation/subtraction.
Definition at line 10 of file TkNoiseCalculator.h.
virtual void TkNoiseCalculator::newEvent | ( | ) | [inline, virtual] |
Tell noise calculator that a new event is available
Reimplemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
Definition at line 30 of file TkNoiseCalculator.h.
{}
virtual ApvAnalysis::PedestalType TkNoiseCalculator::noise | ( | ) | const [pure virtual] |
Return reconstructed noise
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
Referenced by TT6CommonModeCalculator::calculateCommonMode().
virtual void TkNoiseCalculator::resetNoise | ( | ) | [pure virtual] |
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
virtual void TkNoiseCalculator::setStripNoise | ( | ApvAnalysis::PedestalType & | in | ) | [pure virtual] |
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
TkStateMachine* TkNoiseCalculator::status | ( | ) | [inline] |
Return status flag indicating if noise values are usable
Definition at line 13 of file TkNoiseCalculator.h.
References theStatus.
{return &theStatus;}
virtual float TkNoiseCalculator::stripNoise | ( | int | ) | const [pure virtual] |
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
virtual void TkNoiseCalculator::updateNoise | ( | ApvAnalysis::PedestalType & | ) | [pure virtual] |
Update noise with current event
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
virtual void TkNoiseCalculator::updateStatus | ( | ) | [pure virtual] |
Request that status flag be updated
Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.
TkStateMachine TkNoiseCalculator::theStatus [protected] |
Definition at line 33 of file TkNoiseCalculator.h.
Referenced by TT6NoiseCalculator::init(), status(), TT6NoiseCalculator::updateNoise(), SimpleNoiseCalculator::updateNoise(), TT6NoiseCalculator::updateStatus(), and SimpleNoiseCalculator::updateStatus().