ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArRawEvent
LArRawEvent
LArLATOMEHeader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARLATOMEHEADER_H
6
#define LARLATOMEHEADER_H
7
8
#include "
Identifier/HWIdentifier.h
"
9
#include <vector>
10
#include <cstdint>
//for uint32_t
11
18
19
class
LArLATOMEHeader
20
{
21
public
:
22
24
LArLATOMEHeader
(
const
uint32_t lid);
25
27
LArLATOMEHeader
(
const
uint32_t sourceid,
const
uint32_t latomeId,
const
uint16_t nchan,
const
uint16_t bcid,
const
uint32_t l1Id,
const
uint32_t robfragsize=0,
const
uint32_t latomeFwVersion = 0);
28
30
~LArLATOMEHeader
(){ }
31
33
inline
uint32_t
SourceId
()
const
{
return
m_sourceId
;}
34
36
inline
uint32_t
LatomeId
()
const
{
return
m_latomeId
;}
37
39
inline
uint16_t
NChans
()
const
{
return
m_nChannels
;}
40
42
inline
uint16_t
BCId
()
const
{
return
m_BCId
;}
43
45
inline
uint32_t
L1Id
()
const
{
return
m_l1Id
;}
46
48
inline
uint32_t
ROBFragSize
()
const
{
return
m_ROBFragSize
;}
49
51
inline
uint32_t
FWversion
()
const
{
return
m_LATOMEFWVersion
;}
52
54
inline
void
SetBCId
(
const
uint16_t bcid)
55
{
m_BCId
=bcid;
return
; }
56
58
inline
void
SetNChan
(
const
uint16_t nchan)
59
{
m_nChannels
=nchan;
return
; }
60
62
inline
void
SetSourceId
(
const
uint32_t source)
63
{
m_sourceId
=source;
return
; }
64
66
inline
void
SetLatomeId
(
const
uint32_t source)
67
{
m_latomeId
=source;
return
; }
68
70
inline
void
SetL1Id
(
const
uint32_t source)
71
{
m_l1Id
=source;
return
; }
72
74
inline
void
SetROBFragSize
(
const
uint32_t robfragsize)
75
{
m_ROBFragSize
=robfragsize;
return
; }
76
78
inline
void
SetFWversion
(
const
uint32_t fwversion)
79
{
m_LATOMEFWVersion
=fwversion;
return
;}
80
81
82
private
:
83
85
uint32_t
m_sourceId
;
86
88
uint32_t
m_latomeId
;
89
91
uint16_t
m_nChannels
;
92
94
uint16_t
m_BCId
;
95
97
uint32_t
m_l1Id
;
98
100
uint32_t
m_ROBFragSize
;
101
103
uint32_t
m_LATOMEFWVersion
;
104
};
105
106
#endif
HWIdentifier.h
LArLATOMEHeader::m_l1Id
uint32_t m_l1Id
extended LVL1 Id
Definition
LArLATOMEHeader.h:97
LArLATOMEHeader::FWversion
uint32_t FWversion() const
get the FW version
Definition
LArLATOMEHeader.h:51
LArLATOMEHeader::L1Id
uint32_t L1Id() const
get the L1 Id
Definition
LArLATOMEHeader.h:45
LArLATOMEHeader::SetFWversion
void SetFWversion(const uint32_t fwversion)
set the FW version
Definition
LArLATOMEHeader.h:78
LArLATOMEHeader::SetROBFragSize
void SetROBFragSize(const uint32_t robfragsize)
set the ROB frag size
Definition
LArLATOMEHeader.h:74
LArLATOMEHeader::m_LATOMEFWVersion
uint32_t m_LATOMEFWVersion
FW version.
Definition
LArLATOMEHeader.h:103
LArLATOMEHeader::ROBFragSize
uint32_t ROBFragSize() const
get the ROB frag size
Definition
LArLATOMEHeader.h:48
LArLATOMEHeader::SetBCId
void SetBCId(const uint16_t bcid)
set the LATOME Bunch Crossing ID
Definition
LArLATOMEHeader.h:54
LArLATOMEHeader::SetL1Id
void SetL1Id(const uint32_t source)
set the latome Id
Definition
LArLATOMEHeader.h:70
LArLATOMEHeader::m_sourceId
uint32_t m_sourceId
LATOME sourceId.
Definition
LArLATOMEHeader.h:85
LArLATOMEHeader::SetLatomeId
void SetLatomeId(const uint32_t source)
set the latome Id
Definition
LArLATOMEHeader.h:66
LArLATOMEHeader::SetSourceId
void SetSourceId(const uint32_t source)
set the LATOME SourceId
Definition
LArLATOMEHeader.h:62
LArLATOMEHeader::LatomeId
uint32_t LatomeId() const
get the latome Id
Definition
LArLATOMEHeader.h:36
LArLATOMEHeader::m_ROBFragSize
uint32_t m_ROBFragSize
ROB frag size.
Definition
LArLATOMEHeader.h:100
LArLATOMEHeader::m_BCId
uint16_t m_BCId
LATOME BCId from TTC.
Definition
LArLATOMEHeader.h:94
LArLATOMEHeader::~LArLATOMEHeader
~LArLATOMEHeader()
Destructor.
Definition
LArLATOMEHeader.h:30
LArLATOMEHeader::BCId
uint16_t BCId() const
get the Bunch Crossing IDs
Definition
LArLATOMEHeader.h:42
LArLATOMEHeader::m_nChannels
uint16_t m_nChannels
LATOME channels.
Definition
LArLATOMEHeader.h:91
LArLATOMEHeader::NChans
uint16_t NChans() const
get the number of channels
Definition
LArLATOMEHeader.h:39
LArLATOMEHeader::LArLATOMEHeader
LArLATOMEHeader(const uint32_t lid)
Constructor with Id.
Definition
LArLATOMEHeader.cxx:8
LArLATOMEHeader::SourceId
uint32_t SourceId() const
get the source Id
Definition
LArLATOMEHeader.h:33
LArLATOMEHeader::SetNChan
void SetNChan(const uint16_t nchan)
set the LATOME Channel
Definition
LArLATOMEHeader.h:58
LArLATOMEHeader::m_latomeId
uint32_t m_latomeId
LATOME Id.
Definition
LArLATOMEHeader.h:88
Generated on
for ATLAS Offline Software by
1.14.0