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

Member Function Documentation

◆ operator<()

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

Definition at line 78 of file GEMChMap.h.

References HltBtagPostValidation_cff::c, chamberType, chNum, and vfatAdd.

78  {
79  if (chamberType == c.chamberType) {
80  if (vfatAdd == c.vfatAdd) {
81  return chNum < c.chNum;
82  } else {
83  return vfatAdd < c.vfatAdd;
84  }
85  } else {
86  return chamberType < c.chamberType;
87  }
88  }

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

◆ cond::serialization::access

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

Definition at line 90 of file GEMChMap.h.

Member Data Documentation

◆ chamberType

int GEMChMap::channelNum::chamberType

Definition at line 75 of file GEMChMap.h.

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

◆ chNum

int GEMChMap::channelNum::chNum

Definition at line 77 of file GEMChMap.h.

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

◆ vfatAdd

int GEMChMap::channelNum::vfatAdd

Definition at line 76 of file GEMChMap.h.

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