CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
TkNoiseCalculator Class Referenceabstract

#include <TkNoiseCalculator.h>

Inheritance diagram for TkNoiseCalculator:
SimpleNoiseCalculator TT6NoiseCalculator

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

◆ ~TkNoiseCalculator()

virtual TkNoiseCalculator::~TkNoiseCalculator ( )
inlinevirtual

Definition at line 12 of file TkNoiseCalculator.h.

12 {}

Member Function Documentation

◆ newEvent()

virtual void TkNoiseCalculator::newEvent ( )
inlinevirtual

Tell noise calculator that a new event is available

Reimplemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Definition at line 31 of file TkNoiseCalculator.h.

31 {}

◆ noise()

virtual ApvAnalysis::PedestalType TkNoiseCalculator::noise ( ) const
pure virtual

Return reconstructed noise

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by TT6CommonModeCalculator::calculateCommonMode().

◆ resetNoise()

virtual void TkNoiseCalculator::resetNoise ( )
pure virtual

◆ setStripNoise()

virtual void TkNoiseCalculator::setStripNoise ( ApvAnalysis::PedestalType in)
pure virtual

◆ status()

TkStateMachine* TkNoiseCalculator::status ( )
inline

Return status flag indicating if noise values are usable

Definition at line 14 of file TkNoiseCalculator.h.

14 { return &theStatus; }

References theStatus.

◆ stripNoise()

virtual float TkNoiseCalculator::stripNoise ( int  ) const
pure virtual

◆ updateNoise()

virtual void TkNoiseCalculator::updateNoise ( ApvAnalysis::PedestalType )
pure virtual

Update noise with current event

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

◆ updateStatus()

virtual void TkNoiseCalculator::updateStatus ( )
pure virtual

Request that status flag be updated

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Member Data Documentation

◆ theStatus

TkStateMachine TkNoiseCalculator::theStatus
protected
TkNoiseCalculator::theStatus
TkStateMachine theStatus
Definition: TkNoiseCalculator.h:34