CMS 3D CMS Logo

List of all members | Public Member Functions
TkCommonModeCalculator Class Referenceabstract

#include <TkCommonModeCalculator.h>

Inheritance diagram for TkCommonModeCalculator:
MedianCommonModeCalculator TT6CommonModeCalculator

Public Member Functions

virtual TkCommonModecommonMode ()=0
 
virtual ApvAnalysis::PedestalType doIt (const ApvAnalysis::PedestalType &)=0
 
virtual float getCMSlope ()=0
 
virtual void newEvent ()
 
virtual void setCM (TkCommonMode *)=0
 
virtual void setCM (const std::vector< float > &)=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 ( )
inlinevirtual

Definition at line 11 of file TkCommonModeCalculator.h.

References commonMode(), doIt(), and setCM().

11 {}

Member Function Documentation

virtual TkCommonMode* TkCommonModeCalculator::commonMode ( )
pure virtual
virtual ApvAnalysis::PedestalType TkCommonModeCalculator::doIt ( const ApvAnalysis::PedestalType )
pure virtual
virtual float TkCommonModeCalculator::getCMSlope ( )
pure virtual

Get Slope

Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

Referenced by newEvent().

virtual void TkCommonModeCalculator::newEvent ( )
inlinevirtual

Tell CM calculator that a new event is available

Reimplemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

Definition at line 19 of file TkCommonModeCalculator.h.

References getCMSlope().

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