CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
TkPedestalCalculator Class Referenceabstract

#include <TkPedestalCalculator.h>

Inheritance diagram for TkPedestalCalculator:
SimplePedestalCalculator TT6NTPedestalCalculator TT6PedestalCalculator

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 ( )
inlinevirtual

Definition at line 11 of file TkPedestalCalculator.h.

11 {}

Member Function Documentation

virtual void TkPedestalCalculator::newEvent ( )
inlinevirtual

Return raw noise, determined without CMN subtraction Tell pedestal calculator that a new event is available

Reimplemented in SimplePedestalCalculator, and TT6PedestalCalculator.

Definition at line 38 of file TkPedestalCalculator.h.

38 {}
virtual ApvAnalysis::PedestalType TkPedestalCalculator::pedestal ( ) const
pure virtual

Return reconstructed pedestals

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

virtual ApvAnalysis::PedestalType TkPedestalCalculator::rawNoise ( ) const
pure virtual
virtual void TkPedestalCalculator::resetPedestals ( )
pure virtual
virtual void TkPedestalCalculator::setNoise ( ApvAnalysis::PedestalType )
inlinevirtual

Reimplemented in TT6NTPedestalCalculator.

Definition at line 23 of file TkPedestalCalculator.h.

23 {}
virtual void TkPedestalCalculator::setPedestals ( ApvAnalysis::PedestalType )
pure virtual
TkStateMachine* TkPedestalCalculator::status ( )
inline

Return status flag indicating if pedestals are usable

Definition at line 18 of file TkPedestalCalculator.h.

References theStatus.

18 { return &theStatus; }
virtual void TkPedestalCalculator::updatePedestal ( ApvAnalysis::RawSignalType in)
pure virtual

Update pedestals with current event

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

virtual void TkPedestalCalculator::updateStatus ( )
pure virtual

Request that status flag be updated

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

Member Data Documentation

TkStateMachine TkPedestalCalculator::theStatus
protected