ATLAS Offline Software
RpcMeasurement_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_RPCMEASUREMENT_V1_H
5 #define XAODMUONPREPDATA_VERSION_RPCMEASUREMENT_V1_H
6 
8 #include "Identifier/Identifier.h"
12 namespace xAOD {
13 
19 
20  public:
22  RpcMeasurement_v1() = default;
24  virtual ~RpcMeasurement_v1() = default;
25 
27  xAOD::UncalibMeasType type() const override final {
29  }
33  uint8_t gasGap() const;
35  virtual uint8_t measuresPhi() const = 0;
38 
40  float time() const;
41 
44 
50 
52  float timeOverThreshold() const;
53 
57  IdentifierHash layerHash() const;
59  void setTime(float time);
61  void setTriggerInfo(uint32_t triggerinfo);
65  void setTimeOverThreshold(float timeoverthreshold);
67  void setDoubletPhi(uint8_t doubPhi);
71  void setStripNumber(uint16_t strip);
78 
79  private:
80 #ifdef __CLING__
84 #else
86 #endif
87 
88 };
89 
90 } // namespace xAOD
91 
94 #endif
xAOD::RpcMeasurement_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::RpcReadoutElement * > m_readoutEle
Definition: RpcMeasurement_v1.h:85
xAOD::RpcMeasurement_v1
RpcMeasurement_v1: Class storing the geneic.
Definition: RpcMeasurement_v1.h:18
xAOD::RpcMeasurement_v1::readoutElement
const MuonGMR4::RpcReadoutElement * readoutElement() const
Retrieve the associated MdtReadoutElement.
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::RpcMeasurement_v1, xAOD::UncalibratedMeasurement_v1)
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::RpcMeasurement_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the Rpc strip as a simple enumeration.
Definition: RpcMeasurement_v1.h:27
xAOD::RpcMeasurement_v1::setStripNumber
void setStripNumber(uint16_t strip)
Sets the associated strip number identifier field.
xAOD::RpcMeasurement_v1::setTimeOverThreshold
void setTimeOverThreshold(float timeoverthreshold)
Sets the TDC counts.
xAOD::RpcMeasurement_v1::setDoubletPhi
void setDoubletPhi(uint8_t doubPhi)
Sets the doubletPhi identifier field.
xAOD::RpcMeasurement_v1::setAmbiguityFlag
void setAmbiguityFlag(uint8_t ambi)
Sets the ADC counts.
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
MuonGMR4::RpcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:18
CaloSwCorrections.gap
def gap(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:212
GeoPrimitives.h
UncalibratedMeasurement_v1.h
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::RpcMeasurement_v1::RpcMeasurement_v1
RpcMeasurement_v1()=default
Default constructor.
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
xAOD::RpcMeasurement_v1::measuresPhi
virtual uint8_t measuresPhi() const =0
returns whether the hit measures the phi coordinate
xAOD::RpcMeasurement_v1::layerHash
IdentifierHash layerHash() const
Returns the hash of the associated layer (Needed for surface retrieval)
Definition: RpcMeasurement_v1.cxx:34
xAOD::RpcMeasurement_v1::setGasGap
void setGasGap(uint8_t gap)
Sets the associated gasGap identifier field.
xAOD::RpcMeasurement_v1::setTriggerInfo
void setTriggerInfo(uint32_t triggerinfo)
Set the trigger info of the hit
CxxUtils::CachedValue< const MuonGMR4::RpcReadoutElement * >
xAOD::RpcMeasurement_v1::setReadoutElement
void setReadoutElement(const MuonGMR4::RpcReadoutElement *readoutEle)
set the pointer to the ReadoutElement
xAOD::RpcMeasurement_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel.
Definition: RpcMeasurement_v1.cxx:28
xAOD::RpcMeasurement_v1::stripNumber
uint16_t stripNumber() const
returns the associated strip number
IdentifierHash.h
xAOD::RpcMeasurement_v1::gasGap
uint8_t gasGap() const
returns the associated gas gap
xAOD::RpcMeasurement_v1::setTime
void setTime(float time)
Sets the the triger time of the hit.
RpcReadoutElement.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::RpcMeasurement_v1::ambiguityFlag
uint8_t ambiguityFlag() const
Returns the number of ambiguities associated with this RpcPrepData.
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:24
xAOD::RpcMeasurement_v1::~RpcMeasurement_v1
virtual ~RpcMeasurement_v1()=default
Virtual destructor.
xAOD::RpcMeasurement_v1::doubletPhi
uint8_t doubletPhi() const
doubletPhi identifier field of the measurement
xAOD::RpcMeasurement_v1::triggerInfo
uint32_t triggerInfo() const
Returns the trigger coincidence - usually false, unless ijk>5 or highpt&&ijk==0.
IdentifierHash
Definition: IdentifierHash.h:38
xAOD::RpcMeasurement_v1::timeOverThreshold
float timeOverThreshold() const
Returns the time over threshold.
xAOD::UncalibMeasType::RpcStripType
@ RpcStripType
xAOD::RpcMeasurement_v1::time
float time() const
Returns the time.