CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GEMROmap::dCoord Struct Reference

#include <GEMROmap.h>

Public Member Functions

bool operator< (const dCoord &r) const
 

Public Attributes

GEMDetId gemDetId
 
int iPhi
 
int vfatType
 

Detailed Description

Definition at line 25 of file GEMROmap.h.

Member Function Documentation

◆ operator<()

bool GEMROmap::dCoord::operator< ( const dCoord r) const
inline

Definition at line 29 of file GEMROmap.h.

References gemDetId, iPhi, alignCSCRings::r, and vfatType.

29  {
30  if (vfatType == r.vfatType) {
31  if (gemDetId == r.gemDetId) {
32  return iPhi < r.iPhi;
33  } else {
34  return gemDetId < r.gemDetId;
35  }
36  } else {
37  return vfatType < r.vfatType;
38  }
39  }
GEMDetId gemDetId
Definition: GEMROmap.h:27

Member Data Documentation

◆ gemDetId

GEMDetId GEMROmap::dCoord::gemDetId

Definition at line 27 of file GEMROmap.h.

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

◆ iPhi

int GEMROmap::dCoord::iPhi

Definition at line 28 of file GEMROmap.h.

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

◆ vfatType

int GEMROmap::dCoord::vfatType

Definition at line 26 of file GEMROmap.h.

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