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

◆ operator<()

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

Definition at line 13 of file GEMROMapping.h.

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  }

References amcNum, fedId, gebId, and alignCSCRings::r.

Member Data Documentation

◆ amcNum

uint8_t GEMROMapping::chamEC::amcNum

Definition at line 11 of file GEMROMapping.h.

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

◆ fedId

unsigned int GEMROMapping::chamEC::fedId

Definition at line 10 of file GEMROMapping.h.

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

◆ gebId

uint8_t GEMROMapping::chamEC::gebId

Definition at line 12 of file GEMROMapping.h.

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

GEMROMapping::chamEC::fedId
unsigned int fedId
Definition: GEMROMapping.h:10
GEMROMapping::chamEC::gebId
uint8_t gebId
Definition: GEMROMapping.h:12
alignCSCRings.r
r
Definition: alignCSCRings.py:93
GEMROMapping::chamEC::amcNum
uint8_t amcNum
Definition: GEMROMapping.h:11