CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
SiPixelFedCablingMap::Key Struct Reference

#include <SiPixelFedCablingMap.h>

Public Member Functions

bool operator< (const Key &other) const
 

Public Attributes

unsigned int fed
 
unsigned int link
 
unsigned int roc
 

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 51 of file SiPixelFedCablingMap.h.

Member Function Documentation

bool SiPixelFedCablingMap::Key::operator< ( const Key other) const

Definition at line 56 of file SiPixelFedCablingMap.cc.

References fed, link, and roc.

57 {
58  if (fed < other.fed) return true;
59  if (fed > other.fed) return false;
60 
61  if (link < other.link) return true;
62  if (link > other.link) return false;
63 
64  if (roc < other.roc) return true;
65  if (roc > other.roc) return false;
66 
67  return false;
68 }
template<class Archive >
void SiPixelFedCablingMap::Key::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 52 of file SiPixelFedCablingMap.h.

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

Definition at line 52 of file SiPixelFedCablingMap.h.

Member Data Documentation

unsigned int SiPixelFedCablingMap::Key::fed

Definition at line 51 of file SiPixelFedCablingMap.h.

Referenced by operator<().

unsigned int SiPixelFedCablingMap::Key::link

Definition at line 51 of file SiPixelFedCablingMap.h.

Referenced by operator<().

unsigned int SiPixelFedCablingMap::Key::roc