CMS 3D CMS Logo

Public Member Functions

TkCommonModeCalculator Class Reference

#include <TkCommonModeCalculator.h>

Inheritance diagram for TkCommonModeCalculator:
MedianCommonModeCalculator TT6CommonModeCalculator

List of all members.

Public Member Functions

virtual TkCommonModecommonMode ()=0
virtual ApvAnalysis::PedestalType doIt (const ApvAnalysis::PedestalType &)=0
virtual float getCMSlope ()=0
virtual void newEvent ()
virtual void setCM (const std::vector< float > &)=0
virtual void setCM (TkCommonMode *)=0
virtual ~TkCommonModeCalculator ()

Detailed Description

The abstract class for common mode subtraction.

Definition at line 9 of file TkCommonModeCalculator.h.


Constructor & Destructor Documentation

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

Definition at line 12 of file TkCommonModeCalculator.h.

{}

Member Function Documentation

virtual TkCommonMode* TkCommonModeCalculator::commonMode ( ) [pure virtual]
virtual ApvAnalysis::PedestalType TkCommonModeCalculator::doIt ( const ApvAnalysis::PedestalType ) [pure virtual]

Return CM-subtracted data in APV

Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

virtual float TkCommonModeCalculator::getCMSlope ( ) [pure virtual]

Get Slope

Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

virtual void TkCommonModeCalculator::newEvent ( ) [inline, virtual]

Tell CM calculator that a new event is available

Reimplemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

Definition at line 20 of file TkCommonModeCalculator.h.

{}
virtual void TkCommonModeCalculator::setCM ( const std::vector< float > &  ) [pure virtual]
virtual void TkCommonModeCalculator::setCM ( TkCommonMode ) [pure virtual]