ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
HighGranularityTimingDetector
HGTD_RawEvent
HGTD_RawData
src
HGTD_ALTIROC_RDO.cxx
Go to the documentation of this file.
1
10
11
#include "
HGTD_RawData/HGTD_ALTIROC_RDO.h
"
12
13
HGTD_ALTIROC_RDO::HGTD_ALTIROC_RDO
(
const
Identifier
rdo_id,
const
uint64_t word)
14
:
Identifiable
(),
15
m_rdo_id
(rdo_id),
16
m_word
(word) {}
17
18
19
HGTD_ALTIROC_RDO::HGTD_ALTIROC_RDO
(
const
Identifier
rdo_id,
20
const
uint8_t crc,
21
const
uint8_t toa,
22
const
uint16_t tot,
23
const
uint8_t l1id,
24
const
uint16_t bcid)
25
:
Identifiable
(),
26
m_rdo_id
(rdo_id)
27
{
28
auto
u64 = [](
auto
x
){
return
static_cast<
uint64_t
>
(
x
);};
29
m_word
= ( crc +
30
((u64(toa) & u64(0x7F)) << 8) +
31
((u64(tot) & u64(0x1FF)) << 15) +
32
((u64(l1id) & u64(0x3F)) << 24) +
33
((u64(bcid) & u64(0x3FF)) << 30));
34
}
HGTD_ALTIROC_RDO.h
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
x
#define x
HGTD_ALTIROC_RDO::m_rdo_id
Identifier m_rdo_id
Offline ID of the readout channel.
Definition
HGTD_ALTIROC_RDO.h:61
HGTD_ALTIROC_RDO::m_word
uint64_t m_word
ALTIROC RAW output.
Definition
HGTD_ALTIROC_RDO.h:65
HGTD_ALTIROC_RDO::HGTD_ALTIROC_RDO
HGTD_ALTIROC_RDO()=default
Default constructor should NOT be used, needed for pool I/O.
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition
Identifiable.h:27
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0