CMS 3D CMS Logo

Public Member Functions | Protected Attributes

TkPedestalCalculator Class Reference

#include <TkPedestalCalculator.h>

Inheritance diagram for TkPedestalCalculator:
SimplePedestalCalculator TT6NTPedestalCalculator TT6PedestalCalculator

List of all members.

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
TkStateMachinestatus ()
virtual void updatePedestal (ApvAnalysis::RawSignalType &in)=0
virtual void updateStatus ()=0
virtual ~TkPedestalCalculator ()

Protected Attributes

TkStateMachine theStatus

Detailed Description

The abstract class for pedestal calculation/subtraction.

Definition at line 9 of file TkPedestalCalculator.h.


Constructor & Destructor Documentation

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

Definition at line 12 of file TkPedestalCalculator.h.

{}

Member Function Documentation

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]
virtual void TkPedestalCalculator::resetPedestals ( ) [pure virtual]
virtual void TkPedestalCalculator::setNoise ( ApvAnalysis::PedestalType ) [inline, virtual]

Reimplemented in TT6NTPedestalCalculator.

Definition at line 24 of file TkPedestalCalculator.h.

{}
virtual void TkPedestalCalculator::setPedestals ( ApvAnalysis::PedestalType ) [pure virtual]
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.


Member Data Documentation