CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
GEMChMap::stripNum Struct Reference

#include <GEMChMap.h>

Public Member Functions

bool operator< (const stripNum &s) const
 

Public Attributes

int chamberType
 
int iEta
 
int stNum
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 87 of file GEMChMap.h.

Member Function Documentation

◆ operator<()

bool GEMChMap::stripNum::operator< ( const stripNum s) const
inline

Definition at line 91 of file GEMChMap.h.

References chamberType, iEta, alignCSCRings::s, and stNum.

91  {
92  if (chamberType == s.chamberType) {
93  if (iEta == s.iEta) {
94  return stNum < s.stNum;
95  } else {
96  return iEta < s.iEta;
97  }
98  } else {
99  return chamberType < s.chamberType;
100  }
101  }

◆ serialize()

template<class Archive >
void GEMChMap::stripNum::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 103 of file GEMChMap.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 103 of file GEMChMap.h.

Member Data Documentation

◆ chamberType

int GEMChMap::stripNum::chamberType

Definition at line 88 of file GEMChMap.h.

Referenced by operator<(), and GEMChMap::setDummy().

◆ iEta

int GEMChMap::stripNum::iEta

Definition at line 89 of file GEMChMap.h.

Referenced by operator<(), and GEMChMap::setDummy().

◆ stNum

int GEMChMap::stripNum::stNum

Definition at line 90 of file GEMChMap.h.

Referenced by operator<(), and GEMChMap::setDummy().