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

Member Function Documentation

◆ operator<()

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

Definition at line 29 of file GEMROMapping.h.

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

29  {
30  if (fedId == r.fedId) {
31  if (amcNum == r.amcNum) {
32  return gebId < r.gebId;
33  } else {
34  return amcNum < r.amcNum;
35  }
36  } else {
37  return fedId < r.fedId;
38  }
39  }
unsigned int fedId
Definition: GEMROMapping.h:26

Member Data Documentation

◆ amcNum

uint8_t GEMROMapping::chamEC::amcNum

Definition at line 27 of file GEMROMapping.h.

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

◆ fedId

unsigned int GEMROMapping::chamEC::fedId

Definition at line 26 of file GEMROMapping.h.

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

◆ gebId

uint8_t GEMROMapping::chamEC::gebId

Definition at line 28 of file GEMROMapping.h.

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