CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Attributes
StripKeys Class Reference

#include <ClusterShapeHitFilter.h>

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 62 of file ClusterShapeHitFilter.h.

Constructor & Destructor Documentation

◆ StripKeys()

StripKeys::StripKeys ( int  width)
inline

Definition at line 66 of file ClusterShapeHitFilter.h.

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

Member Function Documentation

◆ isValid()

bool StripKeys::isValid ( void  ) const
inline

Definition at line 70 of file ClusterShapeHitFilter.h.

70 { return key < N; }

References key, and N.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

◆ operator unsigned int()

StripKeys::operator unsigned int ( ) const
inline

Definition at line 68 of file ClusterShapeHitFilter.h.

68 { return key; }

References key.

◆ operator<()

bool StripKeys::operator< ( const StripKeys right) const
inline

Definition at line 72 of file ClusterShapeHitFilter.h.

72 { return key < right.key; }

References key.

Member Data Documentation

◆ key

unsigned char StripKeys::key
private

◆ N

const int StripKeys::N = 40
static

Definition at line 64 of file ClusterShapeHitFilter.h.

Referenced by isValid().

ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
StripKeys::N
static const int N
Definition: ClusterShapeHitFilter.h:64
StripKeys::key
unsigned char key
Definition: ClusterShapeHitFilter.h:75