CMS 3D CMS Logo

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

#include <GEMROMapping.h>

Public Member Functions

bool operator< (const vfatDC &r) const
 

Public Attributes

GEMDetId detId
 
int localPhi
 
int vfatType
 

Detailed Description

Definition at line 60 of file GEMROMapping.h.

Member Function Documentation

◆ operator<()

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

Definition at line 64 of file GEMROMapping.h.

References detId, localPhi, alignCSCRings::r, and vfatType.

64  {
65  if (vfatType == r.vfatType) {
66  if (detId == r.detId) {
67  return localPhi < r.localPhi;
68  } else {
69  return detId < r.detId;
70  }
71  } else {
72  return vfatType < r.vfatType;
73  }
74  }

Member Data Documentation

◆ detId

GEMDetId GEMROMapping::vfatDC::detId

Definition at line 62 of file GEMROMapping.h.

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

◆ localPhi

int GEMROMapping::vfatDC::localPhi

Definition at line 63 of file GEMROMapping.h.

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

◆ vfatType

int GEMROMapping::vfatDC::vfatType

Definition at line 61 of file GEMROMapping.h.

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