ATLAS Offline Software
MdtDriftCircle_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_MDTDRIFTCIRCLE_V1_H
5 #define XAODMUONPREPDATA_VERSION_MDTDRIFTCIRCLE_V1_H
6 
8 #include "Identifier/Identifier.h"
12 #include "CxxUtils/CachedValue.h"
14 
15 namespace xAOD {
17 
19 
20  public:
23  MdtDriftCircle_v1() = default;
25  virtual ~MdtDriftCircle_v1() = default;
26 
28  xAOD::UncalibMeasType type() const override final {
30  }
31  unsigned int numDimensions() const override final { return 1; }
33  int16_t tdc() const;
35  int16_t adc() const;
36 
40  uint8_t tubeLayer() const;
46  float driftRadius() const;
48  float driftRadiusCov() const;
50  float driftRadiusUncert() const;
51 
53 
59  void setTube(uint16_t tube_n);
61  void setLayer(uint8_t layer_n);
65  void setDriftRadius(float r);
67  void setDriftRadCov(float cov);
68 
75 
76  private:
77 #ifdef __CLING__
81 #else
83 #endif
84 
85 };
86 
87 } // namespace xAOD
88 
91 #endif
xAOD::MdtDriftCircle_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::MdtReadoutElement * > m_readoutEle
Definition: MdtDriftCircle_v1.h:82
beamspotman.r
def r
Definition: beamspotman.py:676
xAOD::MdtDriftCircle_v1::setTdc
void setTdc(int16_t tdc)
Setter methods.
xAOD::MdtDriftCircle_v1::tdc
int16_t tdc() const
Returns the TDC (typically range is 0 to 2500)
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::MdtDriftCircle_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel (tube (x) layer)
Definition: MdtDriftCircle_v1.cxx:28
plotBeamSpotVxVal.cov
cov
Definition: plotBeamSpotVxVal.py:201
Muon::MdtDriftCircleStatus
MdtDriftCircleStatus
Enum to represent the 'status' of Mdt measurements e.g.
Definition: MdtDriftCircleStatus.h:25
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::MdtDriftCircle_v1::driftTube
uint16_t driftTube() const
Returns the tube number of the measurement (1-120)
xAOD::MdtDriftCircle_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the Mdt drift circle as a simple enumeration.
Definition: MdtDriftCircle_v1.h:28
xAOD::MdtDriftCircle_v1::MdtDriftCircle_v1
MdtDriftCircle_v1()=default
Default constructor.
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
xAOD::int16_t
setScaleOne setStatusOne setSaturated int16_t
Definition: gFexGlobalRoI_v1.cxx:55
xAOD::MdtDriftCircle_v1::readoutElement
const MuonGMR4::MdtReadoutElement * readoutElement() const
Retrieve the associated MdtReadoutElement.
xAOD::MdtDriftCircle_v1::setStatus
void setStatus(MdtDriftCircleStatus st)
Sets the status of the drift circle.
xAOD::MdtDriftCircle_v1::driftRadius
float driftRadius() const
Returns the drift radius.
Definition: MdtDriftCircle_v1.cxx:32
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::MdtDriftCircle_v1::setAdc
void setAdc(int16_t adc)
Sets the ADC counts.
CxxUtils::CachedValue< const MuonGMR4::MdtReadoutElement * >
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::MdtDriftCircle_v1, xAOD::UncalibratedMeasurement_v1)
xAOD::MdtDriftCircle_v1::~MdtDriftCircle_v1
virtual ~MdtDriftCircle_v1()=default
Virtual destructor.
xAOD::MdtDriftCircle_v1::adc
int16_t adc() const
Returns the ADC (typically range is 0 to 250)
CachedValue.h
Cached value with atomic update.
MuonGMR4::MdtReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:15
IdentifierHash.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
xAOD::MdtDriftCircle_v1::setReadoutElement
void setReadoutElement(const MuonGMR4::MdtReadoutElement *readoutEle)
set the pointer to the MdtReadoutElement
MdtReadoutElement.h
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:24
xAOD::MdtDriftCircle_v1::setLayer
void setLayer(uint8_t layer_n)
Sets the layer number.
xAOD::MdtDriftCircle_v1::status
MdtDriftCircleStatus status() const
Returns the status of the measurement.
xAOD::MdtDriftCircle_v1::tubeLayer
uint8_t tubeLayer() const
Returns the layer number of the measurement (1-4)
xAOD::MdtDriftCircle_v1
https://gitlab.cern.ch/atlas/athena/-/blob/master/MuonSpectrometer/MuonReconstruction/MuonRecEvent/Mu...
Definition: MdtDriftCircle_v1.h:18
IdentifierHash
Definition: IdentifierHash.h:38
xAOD::MdtDriftCircle_v1::numDimensions
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition: MdtDriftCircle_v1.h:31
xAOD::MdtDriftCircle_v1::setDriftRadCov
void setDriftRadCov(float cov)
Sets the covariance on the drift circle.
Definition: MdtDriftCircle_v1.cxx:46
xAOD::UncalibMeasType::MdtDriftCircleType
@ MdtDriftCircleType
xAOD::MdtDriftCircle_v1::driftRadiusUncert
float driftRadiusUncert() const
Returns the uncertainty on the drift radius.
Definition: MdtDriftCircle_v1.cxx:40
xAOD::MdtDriftCircle_v1::setDriftRadius
void setDriftRadius(float r)
Sets the drift radius of the drift circle.
Definition: MdtDriftCircle_v1.cxx:43
xAOD::MdtDriftCircle_v1::setTube
void setTube(uint16_t tube_n)
Sets the tube number.
xAOD::MdtDriftCircle_v1::driftRadiusCov
float driftRadiusCov() const
Returns the covariance of the drift radius.
Definition: MdtDriftCircle_v1.cxx:36
MdtDriftCircleStatus.h