ATLAS Offline Software
TgcStrip_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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;
39 
41 
44 
46 
50  uint8_t gasGap() const;
51 
52  void setGasGap(uint8_t gapNum);
53 
56 
57  void setMeasuresPhi(uint8_t measPhi);
58 
62  IdentifierHash layerHash() const;
63 
70 
71  private:
72 #ifdef __CLING__
77 #else
80 #endif
81 
82 };
83 
84 } // namespace xAOD
85 
86 #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)
xAOD::TgcStrip_v1::setGasGap
void setGasGap(uint8_t gapNum)
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
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:79
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
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:20
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)
xAOD::TgcStrip_v1::TgcStrip_v1
TgcStrip_v1()=default
Default constructor.
CxxUtils::CachedValue< const MuonGMR4::TgcReadoutElement * >
xAOD::TgcStrip_v1::setMeasuresPhi
void setMeasuresPhi(uint8_t measPhi)
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
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:24
xAOD::TgcStrip_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::TgcReadoutElement * > m_readoutEle
Definition: TgcStrip_v1.h:78
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