CMS 3D CMS Logo

Public Member Functions | Static Public Attributes | Private Attributes

StripKeys Class Reference

#include <ClusterShapeHitFilter.h>

List of all members.

Public Member Functions

bool isValid () const
 operator unsigned int () const
bool operator< (const StripKeys &right) const
 StripKeys (int width)

Static Public Attributes

static const int N = 40

Private Attributes

unsigned char key

Detailed Description

Definition at line 57 of file ClusterShapeHitFilter.h.


Constructor & Destructor Documentation

StripKeys::StripKeys ( int  width) [inline]

Definition at line 63 of file ClusterShapeHitFilter.h.

: key(width>0 ? width-1 : N) {}

Member Function Documentation

bool StripKeys::isValid ( void  ) const [inline]

Definition at line 67 of file ClusterShapeHitFilter.h.

References key, and N.

Referenced by ClusterShapeHitFilter::isCompatible().

{ return key<N;}
StripKeys::operator unsigned int ( ) const [inline]

Definition at line 65 of file ClusterShapeHitFilter.h.

References key.

{ return key;}
bool StripKeys::operator< ( const StripKeys right) const [inline]

Definition at line 69 of file ClusterShapeHitFilter.h.

References key.

  { 
    return key < right.key;
  }

Member Data Documentation

unsigned char StripKeys::key [private]

Definition at line 75 of file ClusterShapeHitFilter.h.

Referenced by isValid(), operator unsigned int(), and operator<().

const int StripKeys::N = 40 [static]

Definition at line 61 of file ClusterShapeHitFilter.h.

Referenced by isValid().