CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GEMROMapping::chamEC Struct Reference

#include <GEMROMapping.h>

Public Member Functions

bool operator< (const chamEC &r) const
 

Public Attributes

uint8_t amcNum
 
unsigned int fedId
 
uint8_t gebId
 

Detailed Description

Definition at line 10 of file GEMROMapping.h.

Member Function Documentation

bool GEMROMapping::chamEC::operator< ( const chamEC r) const
inline

Definition at line 14 of file GEMROMapping.h.

References amcNum, fedId, and gebId.

14  {
15  if (fedId == r.fedId){
16  if ( amcNum == r.amcNum){
17  return gebId < r.gebId;
18  }
19  else{
20  return amcNum < r.amcNum;
21  }
22  }
23  else{
24  return fedId < r.fedId;
25  }
26  }
unsigned int fedId
Definition: GEMROMapping.h:11

Member Data Documentation

uint8_t GEMROMapping::chamEC::amcNum

Definition at line 12 of file GEMROMapping.h.

Referenced by GEMeMap::convert(), GEMeMap::convertDummy(), and operator<().

unsigned int GEMROMapping::chamEC::fedId

Definition at line 11 of file GEMROMapping.h.

Referenced by GEMeMap::convert(), GEMeMap::convertDummy(), and operator<().

uint8_t GEMROMapping::chamEC::gebId

Definition at line 13 of file GEMROMapping.h.

Referenced by GEMeMap::convert(), GEMeMap::convertDummy(), and operator<().