ATLAS Offline Software
Loading...
Searching...
No Matches
TgcStrip_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef XAODMUONPREPDATA_VERSION_TGCSTRIP_V1_H
5#define XAODMUONPREPDATA_VERSION_TGCSTRIP_V1_H
6
9
10namespace xAOD {
11
13
14 public:
16 TgcStrip_v1() = default;
18 virtual ~TgcStrip_v1() = default;
19
24 unsigned numDimensions() const override final { return 1; }
25
28 std::uint8_t bcBitMap() const;
30 void setBcBitMap(std::uint8_t bitMap);
31
33 std::uint16_t channelNumber() const;
35 void setChannelNumber(std::uint16_t chan);
36
39 std::uint8_t gasGap() const;
41 void setGasGap(uint8_t gapNum);
44
46 std::uint8_t measuresPhi() const override final;
48 void setMeasuresPhi(std::uint8_t measPhi);
49
51 IdentifierHash measurementHash() const override final;
53 IdentifierHash layerHash() const override final;
54
56 void setReadoutElement(const MuonGMR4::TgcReadoutElement* readoutEle);
60 const MuonGMR4::TgcReadoutElement* readoutElement() const override final;
61};
62
63} // namespace xAOD
64
65#endif
This is a "hash" representation of an Identifier.
MuonMeasurement_v1()=default
Default constructor.
void setReadoutElement(const MuonGMR4::TgcReadoutElement *readoutEle)
set the pointer to the TgcReadoutElement
Amg::Vector3D localMeasurementPos() const override final
Returns the local position of the measurement.
std::uint16_t channelNumber() const
Strip or wire group number of the Tgc strip measurement.
void setChannelNumber(std::uint16_t chan)
Set the strip or wire group number of the measurement.
void setMeasuresPhi(std::uint8_t measPhi)
Set the measures phi flag of the measurement to true /false.
TgcStrip_v1()=default
Default constructor.
void setGasGap(uint8_t gapNum)
Set the gas gap number of the measurement [1-N].
unsigned numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition TgcStrip_v1.h:24
virtual ~TgcStrip_v1()=default
Virtual destructor.
xAOD::UncalibMeasType type() const override final
Returns the type of the Tgc strip as a simple enumeration.
Definition TgcStrip_v1.h:21
IdentifierHash measurementHash() const override final
Returns the hash of the measurement channel.
IdentifierHash layerHash() const override final
Returns the hash of the associated layer (Needed for surface retrieval).
std::uint8_t bcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
std::uint8_t gasGap() const
Associated gas gap number of the Tgc strip measurement Ranges [1-N].
void setBcBitMap(std::uint8_t bitMap)
Set the bunch crossing-id map.
std::uint8_t measuresPhi() const override final
Does the object belong to an eta or a phi measurement (si /no).
const MuonGMR4::TgcReadoutElement * readoutElement() const override final
Retrieve the associated TgcReadoutElement.
Eigen::Matrix< double, 3, 1 > Vector3D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
UncalibMeasType
Define the type of the uncalibrated measurement.