4#ifndef XAODMUONPREPDATA_VERSION_STGCMEASUREMENT_V1_H
5#define XAODMUONPREPDATA_VERSION_STGCMEASUREMENT_V1_H
11#include "Identifier/Identifier.h"
38 return channelType() == sTgcChannelTypes::Pad ? 2 : 1;
Cached value with atomic update.
This is a "hash" representation of an Identifier.
UncalibratedMeasurement_v1()=default
Default constructor.
xAOD::UncalibMeasType type() const override final
Returns the type of the Tgc strip as a simple enumeration.
CxxUtils::CachedValue< Identifier > m_identifier
void setTime(short int t)
: Set the calibrated time of the wire measurement
IdentifierHash measurementHash() const
Returns the hash of the measurement channel w.r.t ReadoutElement.
void setAuthor(Author a)
Set the author of the producing algorithm.
void setCharge(int q)
: Set the collected charge on the wire
const Identifier & identify() const
: Returns the Athena identifier of the measurement It's constructed from the measurementHash & passed...
void setChannelNumber(uint16_t channel)
Set the channel number of the measurement.
uint16_t channelNumber() const
Channel number of the Measurement.
sTgcIdHelper::sTgcChannelTypes sTgcChannelTypes
Amg::Vector3D localMeasurementPos() const
Returns the local measurement position as 3-vector.
CxxUtils::CachedValue< const MuonGMR4::sTgcReadoutElement * > m_readoutEle
void setReadoutElement(const MuonGMR4::sTgcReadoutElement *readoutEle)
set the pointer to the sTgcReadoutElement
virtual ~sTgcMeasurement_v1()=default
Virtual destructor.
short int time() const
: Calibrated time of the wire measurement
uint8_t gasGap() const
In which gasGap is the Measurement.
int charge() const
: Collected charge on the wire
IdentifierHash layerHash() const
Returns the hash of the associated gasGap layer.
::Muon::sTgcPrepData::Author Author
Which algorithm produced the Measurement object.
void setGasGap(uint8_t gap)
Set the associated gas gap of the measurement.
sTgcMeasurement_v1()=default
Default constructor.
const MuonGMR4::sTgcReadoutElement * readoutElement() const
Retrieve the associated sTgcReadoutElement.
virtual sTgcChannelTypes channelType() const =0
Returns the channel type of the measurement (Pad/Wire/Strip)
unsigned int numDimensions() const override final
Pad measurements have 2 dimensions. Strips & Wires have only 1.
Eigen::Matrix< double, 3, 1 > Vector3D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
UncalibMeasType
Define the type of the uncalibrated measurement.