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

◆ ~TkCommonModeCalculator()

virtual TkCommonModeCalculator::~TkCommonModeCalculator ( )
inlinevirtual

Definition at line 11 of file TkCommonModeCalculator.h.

11 {}

Member Function Documentation

◆ commonMode()

virtual TkCommonMode* TkCommonModeCalculator::commonMode ( )
pure virtual

◆ doIt()

virtual ApvAnalysis::PedestalType TkCommonModeCalculator::doIt ( const ApvAnalysis::PedestalType )
pure virtual

◆ getCMSlope()

virtual float TkCommonModeCalculator::getCMSlope ( )
pure virtual

Get Slope

Implemented in MedianCommonModeCalculator, and TT6CommonModeCalculator.

◆ 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.

19 {}

◆ setCM() [1/2]

virtual void TkCommonModeCalculator::setCM ( const std::vector< float > &  )
pure virtual

◆ setCM() [2/2]

virtual void TkCommonModeCalculator::setCM ( TkCommonMode )
pure virtual