ATLAS Offline Software
Loading...
Searching...
No Matches
MDTCandData_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 XAODL0MUONCAND_VERSION_MDTCANDDATA_V1_H
5#define XAODL0MUONCAND_VERSION_MDTCANDDATA_V1_H
6
7// System include(s):
8#include <cstdint>
9
12
13namespace xAOD
14{
15
18
20 public:
21 // default constructor and destructor
22 MDTCandData_v1() = default;
23 ~MDTCandData_v1() = default;
24
32
34
38 uint8_t numSegments() const; // 2 bits, range [0:3]
43 uint8_t segmentQualityFlag() const; //3 bits, segment quality flags ( [0:1] per segment)
48 uint8_t slCharge() const; // 1 bit, range [0:1]
53 uint8_t slPtThreshold() const; // 4 bits, highest RPC/TGC pT threshold satisfied (15 levels)
58 uint16_t slPhiPosition() const; // 9 bits, range [0,2PI]
63 uint16_t slEtaPosition() const; // 14 bits, range [-2.7,2.7]
68 uint8_t tcIdentifier() const; // 3 bits, range [0:6]
73 uint8_t MDTCarge() const; // 1 bit, range [0:1]
78 uint8_t MDTPt() const; // 8 bits, [0,127Gev] (0.5 GeV binning)
83 uint16_t MDEta() const; // 14 bits, range [-2.7,2.7]
84
85
87
126 void setMDTCharge(uint8_t mdtCharge);
131 void setMDTPt(uint8_t mdtPt);
136 void setMDTEta(uint16_t mdtEta);
137
138 };
139
140} // namespace xAOD
141
142#include "xAODCore/BaseInfo.h"
144
145#endif // XAODL0MUONCAND_VERSION_MDTCANDDATA_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
ICandData_v1()=default
Default constructor.
Data class describing the L0 muon candidates from MDT-TP to TGC/RPC SL.
uint8_t numSegments() const
Retrieve the number of MDT segments asspcoate to the muon candidate.
uint16_t slEtaPosition() const
Retrieve the eta position in global coordinates from the sector logic.
uint8_t MDTPt() const
Retrieve the MDT pTfrom the MDT TP.
void setSlEtaPosition(uint16_t slEtaPosition)
Set the sector logic eta position.
~MDTCandData_v1()=default
uint16_t slPhiPosition() const
Retrieve the phi position in global coordinates from the sector logic.
void setTcIdentifier(uint8_t tcIdentifier)
Set the trigger candidate identifier.
void setMDTCharge(uint8_t mdtCharge)
Set the MDT charge value.
void setSlPtThreshold(uint8_t slPtThreshold)
Set the sector logic pT threshold.
uint16_t MDEta() const
Retrieve the MDT eta position from the MDT TP.
void setSegmentQualityFlag(uint8_t flags)
Set the segment quality flag.
void setMDTPt(uint8_t mdtPt)
Set the MDT pT value.
void setSlPhiPosition(uint16_t slPhiPosition)
Set the sector logic phi position.
void setNumSegments(uint8_t numSegments)
Set the number of segments.
uint8_t MDTCarge() const
Retrieve the MDT charge value from the MDT TP.
uint8_t segmentQualityFlag() const
Retrieve the segment quality flag for each segment.
void setMDTEta(uint16_t mdtEta)
Set the MDT eta position.
uint8_t tcIdentifier() const
Retrieve the trigger candidate identifier.
uint8_t slPtThreshold() const
Retrieve the highest RPC/TGC pT threshold satisfied in sector logic.
SegmentQuality
Quality flag for each segment.
uint8_t slCharge() const
Retrieve the charge value from the sector logic.
void setSlCharge(uint8_t slCharge)
Set the sector logic charge.
MDTCandData_v1()=default
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t