CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
GEMChMap::chamEC Struct Reference

#include <GEMChMap.h>

Public Member Functions

bool operator< (const chamEC &r) const
 

Public Attributes

uint8_t amcNum
 
unsigned int fedId
 
uint16_t gebId
 

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

Member Function Documentation

bool GEMChMap::chamEC::operator< ( const chamEC r) const
inline

Definition at line 31 of file GEMChMap.h.

References amcNum, fedId, and gebId.

31  {
32  if (fedId == r.fedId) {
33  if (amcNum == r.amcNum) {
34  return gebId < r.gebId;
35  } else {
36  return amcNum < r.amcNum;
37  }
38  } else {
39  return fedId < r.fedId;
40  }
41  }
unsigned int fedId
Definition: GEMChMap.h:28
uint16_t gebId
Definition: GEMChMap.h:30
uint8_t amcNum
Definition: GEMChMap.h:29
template<class Archive >
void GEMChMap::chamEC::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 43 of file GEMChMap.h.

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

Definition at line 43 of file GEMChMap.h.

Member Data Documentation

uint8_t GEMChMap::chamEC::amcNum

Definition at line 29 of file GEMChMap.h.

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

unsigned int GEMChMap::chamEC::fedId

Definition at line 28 of file GEMChMap.h.

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

uint16_t GEMChMap::chamEC::gebId

Definition at line 30 of file GEMChMap.h.

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