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 9 of file GEMROMapping.h.

Member Function Documentation

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

Definition at line 13 of file GEMROMapping.h.

References amcNum, fedId, and gebId.

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

Member Data Documentation

uint8_t GEMROMapping::chamEC::amcNum

Definition at line 11 of file GEMROMapping.h.

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

unsigned int GEMROMapping::chamEC::fedId

Definition at line 10 of file GEMROMapping.h.

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

uint8_t GEMROMapping::chamEC::gebId

Definition at line 12 of file GEMROMapping.h.

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