Main Page
Namespaces
Classes
Package Documentation
CondFormats
SiPhase2TrackerObjects
src
DTCELinkId.cc
Go to the documentation of this file.
1
#include "
CondFormats/SiPhase2TrackerObjects/interface/DTCELinkId.h
"
2
3
#include <string>
4
#include <functional>
5
#include <limits>
6
7
DTCELinkId::DTCELinkId
()
noexcept
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
DTCELinkId::DTCELinkId
(
DTCELinkId
const
& rhs)
noexcept
13
:
elink_id_
(rhs.elink_id_),
gbtlink_id_
(rhs.gbtlink_id_),
dtc_id_
(rhs.dtc_id_) {}
14
15
DTCELinkId::DTCELinkId
(
DTCELinkId
&& rhs)
noexcept
16
:
elink_id_
(rhs.
elink_id_
),
gbtlink_id_
(rhs.
gbtlink_id_
),
dtc_id_
(rhs.
dtc_id_
) {}
17
18
DTCELinkId
&
DTCELinkId::operator=
(
DTCELinkId
const
& rhs)
noexcept
{
19
elink_id_
= rhs.elink_id_;
20
gbtlink_id_
= rhs.gbtlink_id_;
21
dtc_id_
= rhs.dtc_id_;
22
23
return
*
this
;
24
}
25
26
DTCELinkId
&
DTCELinkId::operator=
(
DTCELinkId
&& rhs)
noexcept
{
27
elink_id_
= rhs.elink_id_;
28
gbtlink_id_
= rhs.gbtlink_id_;
29
dtc_id_
= rhs.dtc_id_;
30
31
return
*
this
;
32
}
33
34
DTCELinkId::~DTCELinkId
()
noexcept
{}
35
36
DTCELinkId::DTCELinkId
(uint16_t
dtc_id
, uint8_t
gbtlink_id
, uint8_t
elink_id
)
noexcept
37
:
elink_id_
(
elink_id
),
gbtlink_id_
(
gbtlink_id
),
dtc_id_
(
dtc_id
) {}
DTCELinkId::gbtlink_id
auto gbtlink_id() const noexcept
Definition:
DTCELinkId.h:40
DTCELinkId.h
std
Definition:
JetResolutionObject.h:76
DTCELinkId::~DTCELinkId
~DTCELinkId() noexcept
Definition:
DTCELinkId.cc:34
DTCELinkId::operator=
DTCELinkId & operator=(DTCELinkId const &) noexcept
Definition:
DTCELinkId.cc:18
DTCELinkId::dtc_id
auto dtc_id() const noexcept
Definition:
DTCELinkId.h:41
DTCELinkId::elink_id_
uint8_t elink_id_
Definition:
DTCELinkId.h:49
DTCELinkId
Definition:
DTCELinkId.h:27
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:169
DTCELinkId::dtc_id_
uint16_t dtc_id_
Definition:
DTCELinkId.h:51
noexcept
#define noexcept
Definition:
GCC11Compatibility.h:36
DTCELinkId::gbtlink_id_
uint8_t gbtlink_id_
Definition:
DTCELinkId.h:50
DTCELinkId::DTCELinkId
DTCELinkId() noexcept
Definition:
DTCELinkId.cc:7
DTCELinkId::elink_id
auto elink_id() const noexcept
Definition:
DTCELinkId.h:39
Generated for CMSSW Reference Manual by
1.8.11