ATLAS Offline Software
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 
8 #include "Identifier/Identifier.h"
11 #include "CxxUtils/CachedValue.h"
12 
13 namespace MuonGMR4{
14  class TgcReadoutElement;
15 }
16 
17 namespace xAOD {
18 
20 
21  public:
23  TgcStrip_v1() = default;
25  virtual ~TgcStrip_v1() = default;
26 
28  xAOD::UncalibMeasType type() const override final {
30  }
31  unsigned int numDimensions() const override final { return 1; }
32 
35  const Identifier& identify() const;
38  uint16_t bcBitMap() const;
41 
46 
49  uint8_t gasGap() const;
51  void setGasGap(uint8_t gapNum);
54 
58  void setMeasuresPhi(uint8_t measPhi);
59 
63  IdentifierHash layerHash() const;
64 
71 
72  private:
75 };
76 
77 } // namespace xAOD
78 
79 #endif
xAOD::TgcStrip_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the Tgc strip as a simple enumeration.
Definition: TgcStrip_v1.h:28
xAOD::TgcStrip_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel
Definition: TgcStrip_v1.cxx:27
xAOD::TgcStrip_v1::setChannelNumber
void setChannelNumber(uint16_t chan)
Set the strip or wire group number of the measurement.
xAOD::TgcStrip_v1::setGasGap
void setGasGap(uint8_t gapNum)
Set the gas gap number of the measurement [1-N].
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:558
xAOD::TgcStrip_v1
Definition: TgcStrip_v1.h:19
xAOD::TgcStrip_v1::gasGap
uint8_t gasGap() const
Associated gas gap number of the Tgc strip measurement Ranges [1-N].
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
xAOD::TgcStrip_v1::m_identifier
CxxUtils::CachedValue< Identifier > m_identifier
Definition: TgcStrip_v1.h:74
xAOD::UncalibMeasType::TgcStripType
@ TgcStripType
xAOD::TgcStrip_v1::layerHash
IdentifierHash layerHash() const
Returns the hash of the associated layer (Needed for surface retrieval)
Definition: TgcStrip_v1.cxx:36
xAOD::TgcStrip_v1::localMeasurementPos
Amg::Vector3D localMeasurementPos() const
Returns the local position of the measurement.
Definition: TgcStrip_v1.cxx:39
GeoPrimitives.h
UncalibratedMeasurement_v1.h
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:19
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::TgcStrip_v1::channelNumber
uint16_t channelNumber() const
Strip or wire group number of the Tgc strip measurement.
ReadCellNoiseFromCool.chan
chan
Definition: ReadCellNoiseFromCool.py:52
xAOD::TgcStrip_v1::setBcBitMap
void setBcBitMap(uint16_t)
Set the bunch crossing-id map.
xAOD::TgcStrip_v1::TgcStrip_v1
TgcStrip_v1()=default
Default constructor.
CxxUtils::CachedValue< const MuonGMR4::TgcReadoutElement * >
xAOD::TgcStrip_v1::setMeasuresPhi
void setMeasuresPhi(uint8_t measPhi)
Set the measures phi flag of the measurement to true /false.
xAOD::TgcStrip_v1::readoutElement
const MuonGMR4::TgcReadoutElement * readoutElement() const
Retrieve the associated TgcReadoutElement.
CachedValue.h
Cached value with atomic update.
xAOD::TgcStrip_v1::setReadoutElement
void setReadoutElement(const MuonGMR4::TgcReadoutElement *readoutEle)
set the pointer to the TgcReadoutElement
IdentifierHash.h
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::TgcStrip_v1::bcBitMap
uint16_t bcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
xAOD::TgcStrip_v1::identify
const Identifier & identify() const
: Returns the Athena identifier of the measurement It's constructed from the measurementHash & passed...
Definition: TgcStrip_v1.cxx:30
xAOD::TgcStrip_v1::numDimensions
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition: TgcStrip_v1.h:31
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:25
xAOD::TgcStrip_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::TgcReadoutElement * > m_readoutEle
Definition: TgcStrip_v1.h:73
xAOD::TgcStrip_v1::measuresPhi
uint8_t measuresPhi() const
Does the object belong to an eta or a phi measurement (si /no)
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
xAOD::TgcStrip_v1::~TgcStrip_v1
virtual ~TgcStrip_v1()=default
Virtual destructor.
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:19
Identifier
Definition: IdentifierFieldParser.cxx:14