CMS 3D CMS Logo

Public Member Functions | Protected Attributes

TkNoiseCalculator Class Reference

#include <TkNoiseCalculator.h>

Inheritance diagram for TkNoiseCalculator:
SimpleNoiseCalculator TT6NoiseCalculator

List of all members.

Public Member Functions

virtual void newEvent ()
virtual ApvAnalysis::PedestalType noise () const =0
virtual void resetNoise ()=0
virtual void setStripNoise (ApvAnalysis::PedestalType &in)=0
TkStateMachinestatus ()
virtual float stripNoise (int) const =0
virtual void updateNoise (ApvAnalysis::PedestalType &)=0
virtual void updateStatus ()=0
virtual ~TkNoiseCalculator ()

Protected Attributes

TkStateMachine theStatus

Detailed Description

The abstract class for noise calculation/subtraction.

Definition at line 10 of file TkNoiseCalculator.h.


Constructor & Destructor Documentation

virtual TkNoiseCalculator::~TkNoiseCalculator ( ) [inline, virtual]

Definition at line 12 of file TkNoiseCalculator.h.

{}

Member Function Documentation

virtual void TkNoiseCalculator::newEvent ( ) [inline, virtual]

Tell noise calculator that a new event is available

Reimplemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Definition at line 31 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]
virtual void TkNoiseCalculator::setStripNoise ( ApvAnalysis::PedestalType in) [pure virtual]
TkStateMachine* TkNoiseCalculator::status ( ) [inline]

Return status flag indicating if noise values are usable

Definition at line 14 of file TkNoiseCalculator.h.

References theStatus.

{return &theStatus;}
virtual float TkNoiseCalculator::stripNoise ( int  ) const [pure virtual]
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.


Member Data Documentation