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

virtual TkNoiseCalculator::~TkNoiseCalculator ( )
inlinevirtual

Definition at line 12 of file TkNoiseCalculator.h.

12 {}

Member Function Documentation

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 {}
virtual ApvAnalysis::PedestalType TkNoiseCalculator::noise ( ) const
pure virtual

Return reconstructed noise

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by TT6CommonModeCalculator::calculateCommonMode(), and status().

virtual void TkNoiseCalculator::resetNoise ( )
pure virtual

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by status().

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

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by status().

TkStateMachine* TkNoiseCalculator::status ( )
inline

Return status flag indicating if noise values are usable

Definition at line 14 of file TkNoiseCalculator.h.

References recoMuon::in, noise(), resetNoise(), setStripNoise(), stripNoise(), theStatus, updateNoise(), and updateStatus().

14 { return &theStatus; }
TkStateMachine theStatus
virtual float TkNoiseCalculator::stripNoise ( int  ) const
pure virtual

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by status().

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

Update noise with current event

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by status().

virtual void TkNoiseCalculator::updateStatus ( )
pure virtual

Request that status flag be updated

Implemented in SimpleNoiseCalculator, and TT6NoiseCalculator.

Referenced by status().

Member Data Documentation

TkStateMachine TkNoiseCalculator::theStatus
protected