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

Member Function Documentation

◆ operator<()

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

Definition at line 48 of file GEMROMapping.h.

48  {
49  if (vfatType == r.vfatType) {
50  if (detId == r.detId) {
51  return localPhi < r.localPhi;
52  } else {
53  return detId < r.detId;
54  }
55  } else {
56  return vfatType < r.vfatType;
57  }
58  }

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

Member Data Documentation

◆ detId

GEMDetId GEMROMapping::vfatDC::detId

◆ localPhi

int GEMROMapping::vfatDC::localPhi

◆ vfatType

int GEMROMapping::vfatDC::vfatType
GEMROMapping::vfatDC::vfatType
int vfatType
Definition: GEMROMapping.h:45
GEMROMapping::vfatDC::detId
GEMDetId detId
Definition: GEMROMapping.h:46
GEMROMapping::vfatDC::localPhi
int localPhi
Definition: GEMROMapping.h:47
alignCSCRings.r
r
Definition: alignCSCRings.py:93