ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArRawEvent
LArRawEvent
LArLATOMEHeader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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
17
18
class
LArLATOMEHeader
19
{
20
public
:
21
23
LArLATOMEHeader
(
const
uint32_t lid);
24
26
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);
27
29
~LArLATOMEHeader
(){ }
30
32
inline
uint32_t
SourceId
()
const
{
return
m_sourceId
;}
33
35
inline
uint32_t
LatomeId
()
const
{
return
m_latomeId
;}
36
38
inline
uint16_t
NChans
()
const
{
return
m_nChannels
;}
39
41
inline
uint16_t
BCId
()
const
{
return
m_BCId
;}
42
44
inline
uint32_t
L1Id
()
const
{
return
m_l1Id
;}
45
47
inline
uint32_t
ROBFragSize
()
const
{
return
m_ROBFragSize
;}
48
50
inline
uint32_t
FWversion
()
const
{
return
m_LATOMEFWVersion
;}
51
53
inline
void
SetBCId
(
const
uint16_t bcid)
54
{
m_BCId
=bcid;
return
; }
55
57
inline
void
SetNChan
(
const
uint16_t nchan)
58
{
m_nChannels
=nchan;
return
; }
59
61
inline
void
SetSourceId
(
const
uint32_t source)
62
{
m_sourceId
=source;
return
; }
63
65
inline
void
SetLatomeId
(
const
uint32_t source)
66
{
m_latomeId
=source;
return
; }
67
69
inline
void
SetL1Id
(
const
uint32_t source)
70
{
m_l1Id
=source;
return
; }
71
73
inline
void
SetROBFragSize
(
const
uint32_t robfragsize)
74
{
m_ROBFragSize
=robfragsize;
return
; }
75
77
inline
void
SetFWversion
(
const
uint32_t fwversion)
78
{
m_LATOMEFWVersion
=fwversion;
return
;}
79
80
81
private
:
82
84
uint32_t
m_sourceId
;
85
87
uint32_t
m_latomeId
;
88
90
uint16_t
m_nChannels
;
91
93
uint16_t
m_BCId
;
94
96
uint32_t
m_l1Id
;
97
99
uint32_t
m_ROBFragSize
;
100
102
uint32_t
m_LATOMEFWVersion
;
103
};
104
105
#endif
HWIdentifier.h
LArLATOMEHeader::m_l1Id
uint32_t m_l1Id
extended LVL1 Id
Definition
LArLATOMEHeader.h:96
LArLATOMEHeader::FWversion
uint32_t FWversion() const
get the FW version
Definition
LArLATOMEHeader.h:50
LArLATOMEHeader::L1Id
uint32_t L1Id() const
get the L1 Id
Definition
LArLATOMEHeader.h:44
LArLATOMEHeader::SetFWversion
void SetFWversion(const uint32_t fwversion)
set the FW version
Definition
LArLATOMEHeader.h:77
LArLATOMEHeader::SetROBFragSize
void SetROBFragSize(const uint32_t robfragsize)
set the ROB frag size
Definition
LArLATOMEHeader.h:73
LArLATOMEHeader::m_LATOMEFWVersion
uint32_t m_LATOMEFWVersion
FW version.
Definition
LArLATOMEHeader.h:102
LArLATOMEHeader::ROBFragSize
uint32_t ROBFragSize() const
get the ROB frag size
Definition
LArLATOMEHeader.h:47
LArLATOMEHeader::SetBCId
void SetBCId(const uint16_t bcid)
set the LATOME Bunch Crossing ID
Definition
LArLATOMEHeader.h:53
LArLATOMEHeader::SetL1Id
void SetL1Id(const uint32_t source)
set the latome Id
Definition
LArLATOMEHeader.h:69
LArLATOMEHeader::m_sourceId
uint32_t m_sourceId
LATOME sourceId.
Definition
LArLATOMEHeader.h:84
LArLATOMEHeader::SetLatomeId
void SetLatomeId(const uint32_t source)
set the latome Id
Definition
LArLATOMEHeader.h:65
LArLATOMEHeader::SetSourceId
void SetSourceId(const uint32_t source)
set the LATOME SourceId
Definition
LArLATOMEHeader.h:61
LArLATOMEHeader::LatomeId
uint32_t LatomeId() const
get the latome Id
Definition
LArLATOMEHeader.h:35
LArLATOMEHeader::m_ROBFragSize
uint32_t m_ROBFragSize
ROB frag size.
Definition
LArLATOMEHeader.h:99
LArLATOMEHeader::m_BCId
uint16_t m_BCId
LATOME BCId from TTC.
Definition
LArLATOMEHeader.h:93
LArLATOMEHeader::~LArLATOMEHeader
~LArLATOMEHeader()
Destructor.
Definition
LArLATOMEHeader.h:29
LArLATOMEHeader::BCId
uint16_t BCId() const
get the Bunch Crossing IDs
Definition
LArLATOMEHeader.h:41
LArLATOMEHeader::m_nChannels
uint16_t m_nChannels
LATOME channels.
Definition
LArLATOMEHeader.h:90
LArLATOMEHeader::NChans
uint16_t NChans() const
get the number of channels
Definition
LArLATOMEHeader.h:38
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:32
LArLATOMEHeader::SetNChan
void SetNChan(const uint16_t nchan)
set the LATOME Channel
Definition
LArLATOMEHeader.h:57
LArLATOMEHeader::m_latomeId
uint32_t m_latomeId
LATOME Id.
Definition
LArLATOMEHeader.h:87
Generated on
for ATLAS Offline Software by
1.14.0