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 | Private Member Functions | Private Attributes | Friends
DTCELinkId Class Reference

#include <CondFormats/Phase2TrackerDTC/src/DTCELinkId.cc>

Public Member Functions

auto dtc_id () const noexcept
 
 DTCELinkId () noexcept
 
 DTCELinkId (DTCELinkId const &) noexcept
 
 DTCELinkId (DTCELinkId &&) noexcept
 
 DTCELinkId (uint16_t, uint8_t, uint8_t) noexcept
 
auto elink_id () const noexcept
 
auto gbtlink_id () const noexcept
 
DTCELinkIdoperator= (DTCELinkId const &) noexcept
 
DTCELinkIdoperator= (DTCELinkId &&) noexcept
 
 ~DTCELinkId () noexcept
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint16_t dtc_id_
 
uint8_t elink_id_
 
uint8_t gbtlink_id_
 

Friends

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

Detailed Description

Description: DTCELinkId identifies a specific eLink in the interface of a specific GBT link instance in the firmware of a specific DTC of the tracker back-end.

Implementation: [Notes on implementation]

Definition at line 28 of file DTCELinkId.h.

Constructor & Destructor Documentation

DTCELinkId::DTCELinkId ( )
noexcept

Definition at line 7 of file DTCELinkId.cc.

8  : elink_id_(std::numeric_limits<decltype(elink_id())>::max()),
9  gbtlink_id_(std::numeric_limits<decltype(gbtlink_id())>::max()),
10  dtc_id_(std::numeric_limits<decltype(dtc_id())>::max()) {}
auto gbtlink_id() const noexcept
Definition: DTCELinkId.h:41
auto elink_id() const noexcept
Definition: DTCELinkId.h:40
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
auto dtc_id() const noexcept
Definition: DTCELinkId.h:42
DTCELinkId::DTCELinkId ( DTCELinkId const &  rhs)
noexcept

Definition at line 12 of file DTCELinkId.cc.

13  : elink_id_(rhs.elink_id_), gbtlink_id_(rhs.gbtlink_id_), dtc_id_(rhs.dtc_id_) {}
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
DTCELinkId::DTCELinkId ( DTCELinkId &&  rhs)
noexcept

Definition at line 15 of file DTCELinkId.cc.

uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
DTCELinkId::~DTCELinkId ( )
noexcept

Definition at line 34 of file DTCELinkId.cc.

34 {}
DTCELinkId::DTCELinkId ( uint16_t  dtc_id,
uint8_t  gbtlink_id,
uint8_t  elink_id 
)
noexcept

Definition at line 36 of file DTCELinkId.cc.

auto gbtlink_id() const noexcept
Definition: DTCELinkId.h:41
auto elink_id() const noexcept
Definition: DTCELinkId.h:40
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
auto dtc_id() const noexcept
Definition: DTCELinkId.h:42

Member Function Documentation

auto DTCELinkId::dtc_id ( ) const
inlinenoexcept

Definition at line 42 of file DTCELinkId.h.

References dtc_id_.

Referenced by TrackerDetToDTCELinkCablingMap::dtcELinkIdToDetId(), operator!=(), operator<(), operator==(), and operator>().

42 { return dtc_id_; }
uint16_t dtc_id_
Definition: DTCELinkId.h:52
auto DTCELinkId::elink_id ( ) const
inlinenoexcept

Definition at line 40 of file DTCELinkId.h.

References elink_id_.

Referenced by TrackerDetToDTCELinkCablingMap::dtcELinkIdToDetId(), operator!=(), operator<(), operator==(), and operator>().

40 { return elink_id_; }
uint8_t elink_id_
Definition: DTCELinkId.h:50
auto DTCELinkId::gbtlink_id ( ) const
inlinenoexcept

Definition at line 41 of file DTCELinkId.h.

References gbtlink_id_.

Referenced by TrackerDetToDTCELinkCablingMap::dtcELinkIdToDetId(), operator!=(), operator<(), operator==(), and operator>().

41 { return gbtlink_id_; }
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
DTCELinkId & DTCELinkId::operator= ( DTCELinkId const &  rhs)
noexcept

Definition at line 18 of file DTCELinkId.cc.

References elink_id_.

18  {
19  elink_id_ = rhs.elink_id_;
20  gbtlink_id_ = rhs.gbtlink_id_;
21  dtc_id_ = rhs.dtc_id_;
22 
23  return *this;
24 }
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
DTCELinkId & DTCELinkId::operator= ( DTCELinkId &&  rhs)
noexcept

Definition at line 26 of file DTCELinkId.cc.

References dtc_id_, elink_id_, and gbtlink_id_.

26  {
27  elink_id_ = rhs.elink_id_;
29  dtc_id_ = rhs.dtc_id_;
30 
31  return *this;
32 }
uint8_t elink_id_
Definition: DTCELinkId.h:50
uint16_t dtc_id_
Definition: DTCELinkId.h:52
uint8_t gbtlink_id_
Definition: DTCELinkId.h:51
template<class Archive >
void DTCELinkId::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 54 of file DTCELinkId.h.

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

Definition at line 54 of file DTCELinkId.h.

Member Data Documentation

uint16_t DTCELinkId::dtc_id_
private

Definition at line 52 of file DTCELinkId.h.

Referenced by dtc_id(), and operator=().

uint8_t DTCELinkId::elink_id_
private

Definition at line 50 of file DTCELinkId.h.

Referenced by elink_id(), and operator=().

uint8_t DTCELinkId::gbtlink_id_
private

Definition at line 51 of file DTCELinkId.h.

Referenced by gbtlink_id(), and operator=().