ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigL1Muon
xAODTrigL1Muon
versions
L1NSWCandData_v1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef XAODTRIGL1MUON_VERSION_L1NSWCANDDATA_V1_H
5
#define XAODTRIGL1MUON_VERSION_L1NSWCANDDATA_V1_H
6
7
// System include(s):
8
#include <cstdint>
9
#include <vector>
10
#include <algorithm>
11
#include <iostream>
12
13
#include "
AthContainers/AuxElement.h
"
14
15
namespace
xAOD
{
16
19
20
class
L1NSWCandData_v1
:
public
SG::AuxElement
{
21
22
public
:
23
24
L1NSWCandData_v1
() =
default
;
25
~L1NSWCandData_v1
() =
default
;
26
28
33
uint16_t
l1Bcid
()
const
;
// 12 bits, bit order [11:0]
34
39
uint8_t
l1NSegments
()
const
;
// 3 bits, bit order [14:12], range [0:4]
40
45
bool
l1Overflow
()
const
;
// 1 bit, bit order [15]
46
51
uint16_t
fiberID
()
const
;
// 4 bits, bit order [19:16]
52
57
uint16_t
boardID
()
const
;
// 7 bits, bit order [26:20]
58
60
64
uint32_t
l1SegmentWord
()
const
;
65
69
uint16_t
segEtaIndex
()
const
;
70
74
uint16_t
segPhiIndex
()
const
;
75
79
uint8_t
segDeltaThetaIndex
()
const
;
80
84
uint8_t
segQuality
()
const
;
85
90
float
segEta
()
const
;
91
96
float
segPhi
()
const
;
97
99
104
void
setL1Bcid
(
uint16_t
bcid
);
105
110
void
setL1NSegments
(
uint8_t
nseg);
111
116
void
setL1Overflow
(
bool
ovf);
117
122
void
setFiberID
(
uint16_t
fiber);
123
128
void
setBoardID
(
uint16_t
board);
129
134
void
setL1SegmentWord
(
uint32_t
word);
135
143
void
setSegment
(
uint16_t
etaIndex,
uint16_t
phiIndex,
uint8_t
deltaThetaIndex,
uint8_t
quality);
144
149
friend
std::ostream&
operator<<
(std::ostream& os,
const
L1NSWCandData_v1
& obj);
150
151
};
152
153
}
// namespace xAOD
154
155
#include "
xAODCore/BaseInfo.h
"
156
SG_BASE
(
xAOD::L1NSWCandData_v1
,
SG::AuxElement
);
157
158
#endif
// XAODTRIGL1MUON_VERSION_L1NSWCANDDATA_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:250
BaseInfo.h
xAOD::L1NSWCandData_v1
Data class describing the L0 muon candidates from NSW-TP to TGC SL.
Definition
L1NSWCandData_v1.h:20
xAOD::L1NSWCandData_v1::fiberID
uint16_t fiberID() const
Retrieve the fiber id.
xAOD::L1NSWCandData_v1::L1NSWCandData_v1
L1NSWCandData_v1()=default
xAOD::L1NSWCandData_v1::segQuality
uint8_t segQuality() const
Retrieve the quality flag of the segment.
Definition
L1NSWCandData_v1.cxx:44
xAOD::L1NSWCandData_v1::l1SegmentWord
uint32_t l1SegmentWord() const
Segment.
xAOD::L1NSWCandData_v1::segEtaIndex
uint16_t segEtaIndex() const
Retrieve the eta index of the segment.
Definition
L1NSWCandData_v1.cxx:32
xAOD::L1NSWCandData_v1::l1Bcid
uint16_t l1Bcid() const
Getters.
xAOD::L1NSWCandData_v1::setFiberID
void setFiberID(uint16_t fiber)
Set the fiber id.
xAOD::L1NSWCandData_v1::setL1NSegments
void setL1NSegments(uint8_t nseg)
Set the total number of segments sent from NSW-TP to Sector Logic.
xAOD::L1NSWCandData_v1::boardID
uint16_t boardID() const
Retrieve the board id.
xAOD::L1NSWCandData_v1::l1NSegments
uint8_t l1NSegments() const
Retrieve the number of segments sent from NSW-TP to Sector Logic.
xAOD::L1NSWCandData_v1::segPhi
float segPhi() const
Retrieve the decoded physical phi coordinate of the segment.
Definition
L1NSWCandData_v1.cxx:53
xAOD::L1NSWCandData_v1::segEta
float segEta() const
Retrieve the decoded physical eta coordinate of the segment.
Definition
L1NSWCandData_v1.cxx:48
xAOD::L1NSWCandData_v1::~L1NSWCandData_v1
~L1NSWCandData_v1()=default
xAOD::L1NSWCandData_v1::setL1Overflow
void setL1Overflow(bool ovf)
Set the segment total capacity overflow state flag.
Definition
L1NSWCandData_v1.cxx:27
xAOD::L1NSWCandData_v1::l1Overflow
bool l1Overflow() const
Check if the segment candidate limit has been exceeded.
Definition
L1NSWCandData_v1.cxx:22
xAOD::L1NSWCandData_v1::setSegment
void setSegment(uint16_t etaIndex, uint16_t phiIndex, uint8_t deltaThetaIndex, uint8_t quality)
Pack and set the segment from its decoded fields.
Definition
L1NSWCandData_v1.cxx:57
xAOD::L1NSWCandData_v1::operator<<
friend std::ostream & operator<<(std::ostream &os, const L1NSWCandData_v1 &obj)
Produce a formatted string representation of the candidates.
Definition
L1NSWCandData_v1.cxx:69
xAOD::L1NSWCandData_v1::setL1SegmentWord
void setL1SegmentWord(uint32_t word)
Set the raw packed segment word.
xAOD::L1NSWCandData_v1::segDeltaThetaIndex
uint8_t segDeltaThetaIndex() const
Retrieve the delta theta index of the segment.
Definition
L1NSWCandData_v1.cxx:40
xAOD::L1NSWCandData_v1::setBoardID
void setBoardID(uint16_t board)
Set the board id.
xAOD::L1NSWCandData_v1::segPhiIndex
uint16_t segPhiIndex() const
Retrieve the phi index of the segment.
Definition
L1NSWCandData_v1.cxx:36
xAOD::L1NSWCandData_v1::setL1Bcid
void setL1Bcid(uint16_t bcid)
Setters.
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::uint8_t
uint8_t
Definition
Muon_v1.cxx:500
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition
EventInfo_v1.cxx:133
xAOD::uint16_t
setWord1 uint16_t
Definition
eFexEMRoI_v1.cxx:93
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
Generated on
for ATLAS Offline Software by
1.17.0