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
PixelKeys Class Reference

#include <ClusterShapeHitFilter.h>

Public Member Functions

bool operator< (const PixelKeys &right) const
 
 PixelKeys (int part, int dx, int dy)
 

Private Attributes

unsigned int key1
 
unsigned int key2
 
unsigned int key3
 

Detailed Description

Definition at line 17 of file ClusterShapeHitFilter.h.

Constructor & Destructor Documentation

PixelKeys::PixelKeys ( int  part,
int  dx,
int  dy 
)
inline

Definition at line 20 of file ClusterShapeHitFilter.h.

20 : key1(part), key2(dx), key3(dy) { }
unsigned int key2
part
Definition: HCALResponse.h:21
unsigned int key3
unsigned int key1

Member Function Documentation

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

Definition at line 22 of file ClusterShapeHitFilter.h.

References key1, key2, and key3.

23  {
24  if(key1 < right.key1) return true;
25  if(key1 > right.key1) return false;
26 
27  if(key2 < right.key2) return true;
28  if(key2 > right.key2) return false;
29 
30  if(key3 < right.key3) return true;
31  else return false;
32  }
unsigned int key2
unsigned int key3
unsigned int key1

Member Data Documentation

unsigned int PixelKeys::key1
private

Definition at line 35 of file ClusterShapeHitFilter.h.

Referenced by operator<().

unsigned int PixelKeys::key2
private

Definition at line 35 of file ClusterShapeHitFilter.h.

Referenced by operator<().

unsigned int PixelKeys::key3
private

Definition at line 35 of file ClusterShapeHitFilter.h.

Referenced by operator<().