CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
sipixelobjects::LinearConversion Class Reference

#include <LinearConversion.h>

Public Member Functions

int convert (int item) const
 
int inverse (int item) const
 
 LinearConversion (int offset=0, int slope=1)
 
int offset () const
 
int slope () const
 

Private Attributes

int theOffset
 
int theSlope
 

Detailed Description

Definition at line 6 of file LinearConversion.h.

Constructor & Destructor Documentation

sipixelobjects::LinearConversion::LinearConversion ( int  offset = 0,
int  slope = 1 
)
inline

Member Function Documentation

int sipixelobjects::LinearConversion::convert ( int  item) const
inline

Definition at line 10 of file LinearConversion.h.

References theOffset, and theSlope.

int sipixelobjects::LinearConversion::inverse ( int  item) const
inline

Definition at line 11 of file LinearConversion.h.

References theOffset, and theSlope.

int sipixelobjects::LinearConversion::offset ( ) const
inline

Definition at line 12 of file LinearConversion.h.

References theOffset.

int sipixelobjects::LinearConversion::slope ( ) const
inline

Member Data Documentation

int sipixelobjects::LinearConversion::theOffset
private

Definition at line 16 of file LinearConversion.h.

Referenced by convert(), inverse(), and offset().

int sipixelobjects::LinearConversion::theSlope
private

Definition at line 16 of file LinearConversion.h.

Referenced by convert(), inverse(), and slope().