#include <TkPedestalCalculator.h>
Public Member Functions | |
virtual void | newEvent () |
virtual ApvAnalysis::PedestalType | pedestal () const =0 |
virtual ApvAnalysis::PedestalType | rawNoise () const =0 |
virtual void | resetPedestals ()=0 |
virtual void | setNoise (ApvAnalysis::PedestalType &) |
virtual void | setPedestals (ApvAnalysis::PedestalType &)=0 |
TkStateMachine * | status () |
virtual void | updatePedestal (ApvAnalysis::RawSignalType &in)=0 |
virtual void | updateStatus ()=0 |
Protected Attributes | |
TkStateMachine | theStatus |
The abstract class for pedestal calculation/subtraction.
Definition at line 9 of file TkPedestalCalculator.h.
virtual void TkPedestalCalculator::newEvent | ( | ) | [inline, virtual] |
Return raw noise, determined without CMN subtraction Tell pedestal calculator that a new event is available
Reimplemented in SimplePedestalCalculator, and TT6PedestalCalculator.
Definition at line 39 of file TkPedestalCalculator.h.
{}
virtual ApvAnalysis::PedestalType TkPedestalCalculator::pedestal | ( | ) | const [pure virtual] |
Return reconstructed pedestals
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
virtual ApvAnalysis::PedestalType TkPedestalCalculator::rawNoise | ( | ) | const [pure virtual] |
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
virtual void TkPedestalCalculator::resetPedestals | ( | ) | [pure virtual] |
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
virtual void TkPedestalCalculator::setNoise | ( | ApvAnalysis::PedestalType & | ) | [inline, virtual] |
virtual void TkPedestalCalculator::setPedestals | ( | ApvAnalysis::PedestalType & | ) | [pure virtual] |
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
TkStateMachine* TkPedestalCalculator::status | ( | ) | [inline] |
Return status flag indicating if pedestals are usable
Definition at line 19 of file TkPedestalCalculator.h.
References theStatus.
{return &theStatus;}
virtual void TkPedestalCalculator::updatePedestal | ( | ApvAnalysis::RawSignalType & | in | ) | [pure virtual] |
Update pedestals with current event
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
virtual void TkPedestalCalculator::updateStatus | ( | ) | [pure virtual] |
Request that status flag be updated
Implemented in SimplePedestalCalculator, TT6NTPedestalCalculator, and TT6PedestalCalculator.
TkStateMachine TkPedestalCalculator::theStatus [protected] |
Definition at line 43 of file TkPedestalCalculator.h.
Referenced by TT6PedestalCalculator::init(), SimplePedestalCalculator::init(), status(), TT6NTPedestalCalculator::TT6NTPedestalCalculator(), SimplePedestalCalculator::updatePedestal(), TT6PedestalCalculator::updatePedestal(), SimplePedestalCalculator::updateStatus(), and TT6PedestalCalculator::updateStatus().