CMS 3D CMS Logo

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
int sipixelobjects::LinearConversion::inverse ( int  item) const
inline
int sipixelobjects::LinearConversion::offset ( ) const
inline

Definition at line 11 of file LinearConversion.h.

References theOffset.

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

Member Data Documentation

int sipixelobjects::LinearConversion::theOffset
private

Definition at line 15 of file LinearConversion.h.

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

int sipixelobjects::LinearConversion::theSlope
private

Definition at line 15 of file LinearConversion.h.

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