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 93 of file GEMChMap.h.

Member Function Documentation

◆ operator<()

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

Definition at line 97 of file GEMChMap.h.

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

97  {
98  if (chamberType == s.chamberType) {
99  if (iEta == s.iEta) {
100  return stNum < s.stNum;
101  } else {
102  return iEta < s.iEta;
103  }
104  } else {
105  return chamberType < s.chamberType;
106  }
107  }

◆ 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 109 of file GEMChMap.h.

◆ cond::serialization::access

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

Definition at line 109 of file GEMChMap.h.

Member Data Documentation

◆ chamberType

int GEMChMap::stripNum::chamberType

Definition at line 94 of file GEMChMap.h.

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

◆ iEta

int GEMChMap::stripNum::iEta

Definition at line 95 of file GEMChMap.h.

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

◆ stNum

int GEMChMap::stripNum::stNum

Definition at line 96 of file GEMChMap.h.

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