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

Member Function Documentation

◆ operator<()

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

Definition at line 56 of file SiPixelFedCablingMap.cc.

References MainPageGenerator::link, trackingPlots::other, 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 }

◆ serialize()

template<class Archive >
void SiPixelFedCablingMap::Key::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 49 of file SiPixelFedCablingMap.h.

◆ cond::serialization::access

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

Definition at line 49 of file SiPixelFedCablingMap.h.

Member Data Documentation

◆ fed

unsigned int SiPixelFedCablingMap::Key::fed

Definition at line 47 of file SiPixelFedCablingMap.h.

◆ link

unsigned int SiPixelFedCablingMap::Key::link

Definition at line 47 of file SiPixelFedCablingMap.h.

◆ roc

unsigned int SiPixelFedCablingMap::Key::roc