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"
12 #include "CxxUtils/CachedValue.h"
13 
14 namespace xAOD {
15 
17 
18  public:
20  TgcStrip_v1() = default;
22  virtual ~TgcStrip_v1() = default;
23 
25  xAOD::UncalibMeasType type() const override final {
27  }
28  unsigned int numDimensions() const override final { return 1; }
29 
32  uint16_t bcBitMap() const;
33 
35 
38 
40 
44  uint8_t gasGap() const;
45 
46  void setGasGap(uint8_t gapNum);
47 
50 
51  void setMeasuresPhi(uint8_t measPhi);
52 
56  IdentifierHash layerHash() const;
57 
64 
65  private:
66 #ifdef __CLING__
70 #else
72 #endif
73 
74 
75 
76 };
77 
78 } // namespace xAOD
79 
82 #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:25
xAOD::TgcStrip_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel
Definition: TgcStrip_v1.cxx:26
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:575
xAOD::TgcStrip_v1
Definition: TgcStrip_v1.h:16
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:562
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:29
GeoPrimitives.h
UncalibratedMeasurement_v1.h
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
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)
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::TgcStrip_v1, xAOD::UncalibratedMeasurement_v1)
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
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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::numDimensions
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition: TgcStrip_v1.h:28
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:71
xAOD::TgcStrip_v1::measuresPhi
uint8_t measuresPhi() const
Does the object belong to an eta or a phi measurement (si /no)
IdentifierHash
Definition: IdentifierHash.h:38
xAOD::TgcStrip_v1::~TgcStrip_v1
virtual ~TgcStrip_v1()=default
Virtual destructor.
TgcReadoutElement.h
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:16