CMS 3D CMS Logo

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

◆ ~TkPedestalCalculator()

virtual TkPedestalCalculator::~TkPedestalCalculator ( )
inlinevirtual

Definition at line 11 of file TkPedestalCalculator.h.

11 {}

Member Function Documentation

◆ newEvent()

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 {}

◆ pedestal()

virtual ApvAnalysis::PedestalType TkPedestalCalculator::pedestal ( ) const
pure virtual

Return reconstructed pedestals

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

◆ rawNoise()

virtual ApvAnalysis::PedestalType TkPedestalCalculator::rawNoise ( ) const
pure virtual

◆ resetPedestals()

virtual void TkPedestalCalculator::resetPedestals ( )
pure virtual

◆ setNoise()

virtual void TkPedestalCalculator::setNoise ( ApvAnalysis::PedestalType )
inlinevirtual

Reimplemented in TT6NTPedestalCalculator.

Definition at line 23 of file TkPedestalCalculator.h.

23 {}

◆ setPedestals()

virtual void TkPedestalCalculator::setPedestals ( ApvAnalysis::PedestalType )
pure virtual

◆ status()

TkStateMachine* TkPedestalCalculator::status ( )
inline

Return status flag indicating if pedestals are usable

Definition at line 18 of file TkPedestalCalculator.h.

18 { return &theStatus; }

References theStatus.

◆ updatePedestal()

virtual void TkPedestalCalculator::updatePedestal ( ApvAnalysis::RawSignalType in)
pure virtual

Update pedestals with current event

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

◆ updateStatus()

virtual void TkPedestalCalculator::updateStatus ( )
pure virtual

Request that status flag be updated

Implemented in TT6NTPedestalCalculator, SimplePedestalCalculator, and TT6PedestalCalculator.

Member Data Documentation

◆ theStatus

TkStateMachine TkPedestalCalculator::theStatus
protected
TkPedestalCalculator::theStatus
TkStateMachine theStatus
Definition: TkPedestalCalculator.h:41