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"
11 
12 namespace MuonGMR4{
13  class RpcReadoutElement;
14 }
15 namespace xAOD {
16 
22 
23  public:
25  RpcMeasurement_v1() = default;
27  virtual ~RpcMeasurement_v1() = default;
28 
30  xAOD::UncalibMeasType type() const override final {
32  }
35  const Identifier& identify() const;
38 
42  uint8_t gasGap() const;
44  virtual uint8_t measuresPhi() const = 0;
47 
49  float time() const;
51  float timeCovariance() const;
52 
55 
61 
63  float timeOverThreshold() const;
67  IdentifierHash layerHash() const;
68 
73 
75  void setTime(float time);
77  void setTriggerInfo(uint32_t triggerinfo);
81  void setTimeOverThreshold(float timeoverthreshold);
83  void setDoubletPhi(uint8_t doubPhi);
87  void setStripNumber(uint16_t strip);
91  void setTimeCovariance(float timeCov);
92  private:
93 #ifdef __CLING__
98 #else
101 #endif
102 
103 };
104 
105 } // namespace xAOD
106 
107 
108 #endif
xAOD::RpcMeasurement_v1::timeCovariance
float timeCovariance() const
Returns the uncertainty squared on the time measurement.
xAOD::RpcMeasurement_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::RpcReadoutElement * > m_readoutEle
Definition: RpcMeasurement_v1.h:99
xAOD::RpcMeasurement_v1
RpcMeasurement_v1: Class storing the geneic.
Definition: RpcMeasurement_v1.h:21
xAOD::RpcMeasurement_v1::readoutElement
const MuonGMR4::RpcReadoutElement * readoutElement() const
Retrieve the associated RpcReadoutElement.
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
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:30
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:560
MuonGMR4::RpcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:17
CaloSwCorrections.gap
def gap(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:212
xAOD::RpcMeasurement_v1::localMeasurementPos
Amg::Vector3D localMeasurementPos() const
Returns the local position of the measurement.
Definition: RpcMeasurement_v1.cxx:46
GeoPrimitives.h
UncalibratedMeasurement_v1.h
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::RpcMeasurement_v1::RpcMeasurement_v1
RpcMeasurement_v1()=default
Default constructor.
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::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:37
xAOD::RpcMeasurement_v1::setTimeCovariance
void setTimeCovariance(float timeCov)
Set the time covariance of the Measurement.
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::m_identifier
CxxUtils::CachedValue< Identifier > m_identifier
Definition: RpcMeasurement_v1.h:100
xAOD::RpcMeasurement_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel.
Definition: RpcMeasurement_v1.cxx:31
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
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::RpcMeasurement_v1::setTime
void setTime(float time)
Sets the the triger time of the hit.
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.
xAOD::RpcMeasurement_v1::identify
const Identifier & identify() const
: Returns the Athena identifier of the measurement It's constructed from the measurementHash which is...
Definition: RpcMeasurement_v1.cxx:40
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::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.
Identifier
Definition: IdentifierFieldParser.cxx:14