CMS 3D CMS Logo

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

#include <GEMChMap.h>

Public Member Functions

bool operator< (const channelNum &c) const
 

Public Attributes

int chamberType
 
int chNum
 
int vfatAdd
 

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

Member Function Documentation

◆ operator<()

bool GEMChMap::channelNum::operator< ( const channelNum c) const
inline

Definition at line 72 of file GEMChMap.h.

References c, chamberType, chNum, and vfatAdd.

72  {
73  if (chamberType == c.chamberType) {
74  if (vfatAdd == c.vfatAdd) {
75  return chNum < c.chNum;
76  } else {
77  return vfatAdd < c.vfatAdd;
78  }
79  } else {
80  return chamberType < c.chamberType;
81  }
82  }

◆ serialize()

template<class Archive >
void GEMChMap::channelNum::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 84 of file GEMChMap.h.

◆ cond::serialization::access

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

Definition at line 84 of file GEMChMap.h.

Member Data Documentation

◆ chamberType

int GEMChMap::channelNum::chamberType

Definition at line 69 of file GEMChMap.h.

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

◆ chNum

int GEMChMap::channelNum::chNum

Definition at line 71 of file GEMChMap.h.

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

◆ vfatAdd

int GEMChMap::channelNum::vfatAdd

Definition at line 70 of file GEMChMap.h.

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