ATLAS Offline Software
Loading...
Searching...
No Matches
MMCluster_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef XAODMUONPREPDATA_VERSION_MMCluster_V1_H
5#define XAODMUONPREPDATA_VERSION_MMCluster_V1_H
6
10
11namespace xAOD {
12
14
15 public:
17 MMCluster_v1() = default;
19 virtual ~MMCluster_v1() = default;
20
25
27
28 std::uint8_t measuresPhi() const override final { return 0; }
29
30 unsigned numDimensions() const override final { return 1; }
31
33 std::uint8_t gasGap() const;
34
35 void setGasGap(std::uint8_t gap);
37 std::uint16_t channelNumber() const;
39 void setChannelNumber(std::uint16_t strip);
40
42 IdentifierHash measurementHash() const override final;
44 IdentifierHash layerHash() const override final;
45
50 void setTime(std::uint16_t value);
51
57 void setCharge(std::uint32_t value);
58
62 void setDriftDist(float value);
63
65 float angle() const;
67 void setAngle(float value);
68
72 void setChiSqProb(float value);
73
74 using Author = ::Muon::MMPrepData::Author;
77
78 using Quality = ::Muon::MMPrepData::Quality;
81
85
89
93
97
99 using DriftCov_t = PosAccessor<2>::element_type;
101
104
106 void setReadoutElement(const MuonGMR4::MmReadoutElement* readoutEle);
110 const MuonGMR4::MmReadoutElement* readoutElement() const override final;
111};
112
113} // namespace xAOD
114
115#endif
This is a "hash" representation of an Identifier.
void setDriftDist(float value)
Sets the drift distance.
Quality quality() const
void setStripDriftDist(const std::vector< float > &stripDriftDist)
const MuonGMR4::MmReadoutElement * readoutElement() const override final
Retrieve the associated MmReadoutElement.
void setReadoutElement(const MuonGMR4::MmReadoutElement *readoutEle)
set the pointer to the MmReadoutElement
void setStripDriftErrors(const std::vector< DriftCov_t > &stripDriftErrors)
float driftDist() const
Returns the Drift Distance.
PosAccessor< 2 >::element_type DriftCov_t
returns the list of drift distances
Author author() const
void setStripCharges(const std::vector< int > &stripCharges)
void setStripTimes(const std::vector< std::int16_t > &stripTimes)
void setAuthor(Author author)
const std::vector< std::int16_t > & stripTimes() const
returns the list of times
xAOD::UncalibMeasType type() const override final
Returns the type of the MM strip as a simple enumeration.
float angle() const
Returns the microTPC angle.
void setChannelNumber(std::uint16_t strip)
Set the channel number of the central strip.
void setChiSqProb(float value)
Sets the microTPC chisq probability.
std::uint8_t gasGap() const
Returns the gas gap number to which the clsuter.
MMCluster_v1()=default
Default constructor.
IdentifierHash layerHash() const override final
Returns the hash of the associated layer (Needed for surface retrieval).
std::uint16_t time() const
Returns the time (ns).
::Muon::MMPrepData::Author Author
virtual ~MMCluster_v1()=default
Virtual destructor.
void setTime(std::uint16_t value)
Sets the TDC counts.
void setAngle(float value)
Sets the microTPC angle.
::Muon::MMPrepData::Quality Quality
const std::vector< std::uint16_t > & stripNumbers() const
returns the list of strip numbers
void setQuality(Quality quality)
void setCharge(std::uint32_t value)
Sets the calibrated charge.
std::uint32_t charge() const
Returns the charge The charge is calibrated, i.e.
const std::vector< int > & stripCharges() const
returns the list of charges
IdentifierHash measurementHash() const override final
Returns the hash of the measurement channel.
void setGasGap(std::uint8_t gap)
float chiSqProb() const
Returns the microTPC chisq Prob.
const std::vector< float > & stripDriftDist() const
returns the list of drift distances
Amg::Vector3D localMeasurementPos() const override final
Returns the local measurement position as 3-vector.
const std::vector< DriftCov_t > & stripDriftErrors() const
unsigned numDimensions() const override final
Returns the number of dimensions of the measurement.
std::uint16_t channelNumber() const
returns the number of the central strip
std::uint8_t measuresPhi() const override final
Returns whether the phi coordinate is measured.
void setStripNumbers(const std::vector< std::uint16_t > &stripNumbers)
MuonMeasurement_v1()=default
Default constructor.
Eigen::Matrix< double, 3, 1 > Vector3D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
SG::AuxElement::Accessor< std::array< float, N > > PosAccessor
xAOD Accessor to the position
AmgVector(N) toEigen(const ConstVectorMap< N > &xAODvec)
setScaleOne setStatusOne setSaturated int16_t
UncalibMeasType
Define the type of the uncalibrated measurement.
setWord1 uint16_t
setEventNumber uint32_t