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
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 46 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, MainPageGenerator::link, roc, and PixelMapPlotter::roc.

56  {
57  if (fed < other.fed)
58  return true;
59  if (fed > other.fed)
60  return false;
61 
62  if (link < other.link)
63  return true;
64  if (link > other.link)
65  return false;
66 
67  if (roc < other.roc)
68  return true;
69  if (roc > other.roc)
70  return false;
71 
72  return false;
73 }
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 49 of file SiPixelFedCablingMap.h.

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

Definition at line 49 of file SiPixelFedCablingMap.h.

Member Data Documentation

unsigned int SiPixelFedCablingMap::Key::fed

Definition at line 47 of file SiPixelFedCablingMap.h.

Referenced by operator<().

unsigned int SiPixelFedCablingMap::Key::link

Definition at line 47 of file SiPixelFedCablingMap.h.

Referenced by operator<().

unsigned int SiPixelFedCablingMap::Key::roc