CMS 3D CMS Logo

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

Constructor & Destructor Documentation

DTCELinkId::DTCELinkId ( )
noexcept

Definition at line 7 of file DTCELinkId.cc.

7  :
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())
11 {
12 
13 }
auto gbtlink_id() const noexcept
Definition: DTCELinkId.h:41
auto dtc_id() const noexcept
Definition: DTCELinkId.h:42
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 elink_id() const noexcept
Definition: DTCELinkId.h:40
DTCELinkId::DTCELinkId ( DTCELinkId const &  rhs)
noexcept

Definition at line 15 of file DTCELinkId.cc.

15  :
16  elink_id_ (rhs.elink_id_ ),
17  gbtlink_id_(rhs.gbtlink_id_),
18  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 20 of file DTCELinkId.cc.

20  :
21  elink_id_ (rhs.elink_id_ ),
23  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 ( )
noexcept

Definition at line 43 of file DTCELinkId.cc.

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

Definition at line 45 of file DTCELinkId.cc.

45  :
48  dtc_id_ (dtc_id )
49 {
50 }
auto gbtlink_id() const noexcept
Definition: DTCELinkId.h:41
auto dtc_id() const noexcept
Definition: DTCELinkId.h:42
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 elink_id() const noexcept
Definition: DTCELinkId.h:40

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 25 of file DTCELinkId.cc.

References dtc_id_, elink_id_, and gbtlink_id_.

26 {
27  elink_id_ = rhs.elink_id_ ;
28  gbtlink_id_ = rhs.gbtlink_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
DTCELinkId & DTCELinkId::operator= ( DTCELinkId &&  rhs)
noexcept

Definition at line 34 of file DTCELinkId.cc.

References dtc_id_, elink_id_, and gbtlink_id_.

35 {
36  elink_id_ = rhs.elink_id_ ;
38  dtc_id_ = rhs.dtc_id_ ;
39 
40  return *this;
41 }
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=().