ATLAS Offline Software
sTgcMeasurement_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_STGCMEASUREMENT_V1_H
5 #define XAODMUONPREPDATA_VERSION_STGCMEASUREMENT_V1_H
6 
11 
12 #include "Identifier/Identifier.h"
15 
16 namespace xAOD {
17 
18 
20 
21  public:
23  sTgcMeasurement_v1() = default;
25  virtual ~sTgcMeasurement_v1() = default;
26 
28  xAOD::UncalibMeasType type() const override final {
30  }
33  virtual sTgcChannelTypes channelType() const = 0;
35  unsigned int numDimensions() const override final {
36  return channelType() == sTgcChannelTypes::Pad ? 2 : 1;
37  }
40 
43  Author author() const;
44 
46  uint8_t gasGap() const;
49 
51  int charge() const;
53  short int time() const;
54 
59 
60 
70  void setTime(short int t);
72  void setCharge(int q);
73 
74  private:
75 #ifdef __CLING__
79 #else
81 #endif
82 };
83 
84 } // namespace xAOD
85 
88 #endif
xAOD::sTgcMeasurement_v1::setReadoutElement
void setReadoutElement(const MuonGMR4::sTgcReadoutElement *readoutEle)
set the pointer to the sTgcReadoutElement
xAOD::sTgcMeasurement_v1::author
Author author() const
sTgcIdHelper.h
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::sTgcMeasurement_v1::measurementHash
IdentifierHash measurementHash() const
Returns the hash of the measurement channel w.r.t ReadoutElement.
Definition: sTgcMeasurement_v1.cxx:28
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
sTgcIdHelper::sTgcChannelTypes
sTgcChannelTypes
Definition: sTgcIdHelper.h:179
xAOD::UncalibMeasType::sTgcStripType
@ sTgcStripType
CaloSwCorrections.gap
def gap(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:212
xAOD::sTgcMeasurement_v1::sTgcMeasurement_v1
sTgcMeasurement_v1()=default
Default constructor.
xAOD::sTgcMeasurement_v1::channelNumber
uint16_t channelNumber() const
Channel number of the Measurement.
sTgcPrepData.h
xAOD::sTgcMeasurement_v1::gasGap
uint8_t gasGap() const
In which gasGap is the Measurement.
GeoPrimitives.h
sTgcReadoutElement.h
UncalibratedMeasurement_v1.h
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::sTgcMeasurement_v1::channelType
virtual sTgcChannelTypes channelType() const =0
Returns the channel type of the measurement (Pad/Wire/Strip)
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
xAOD::sTgcMeasurement_v1::charge
int charge() const
: Collected charge on the wire
xAOD::sTgcMeasurement_v1::setAuthor
void setAuthor(Author a)
Set the author of the producing algorithm.
xAOD::sTgcMeasurement_v1::time
short int time() const
: Calibrated time of the wire measurement
CxxUtils::CachedValue< const MuonGMR4::sTgcReadoutElement * >
xAOD::sTgcMeasurement_v1::setChannelNumber
void setChannelNumber(uint16_t channel)
Set the channel number of the measurement.
xAOD::sTgcMeasurement_v1::~sTgcMeasurement_v1
virtual ~sTgcMeasurement_v1()=default
Virtual destructor.
IdentifierHash.h
xAOD::sTgcMeasurement_v1::readoutElement
const MuonGMR4::sTgcReadoutElement * readoutElement() const
Retrieve the associated sTgcReadoutElement.
xAOD::sTgcMeasurement_v1::numDimensions
unsigned int numDimensions() const override final
Pad measurements have 2 dimensions. Strips & Wires have only 1.
Definition: sTgcMeasurement_v1.h:35
MuonGMR4::sTgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h:19
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
a
TList * a
Definition: liststreamerinfos.cxx:10
Muon::sTgcPrepData::Author
Author
Definition: sTgcPrepData.h:100
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:24
xAOD::sTgcMeasurement_v1::setTime
void setTime(short int t)
: Set the calibrated time of the wire measurement
extractSporadic.q
list q
Definition: extractSporadic.py:98
xAOD::sTgcMeasurement_v1::m_readoutEle
CxxUtils::CachedValue< const MuonGMR4::sTgcReadoutElement * > m_readoutEle
Definition: sTgcMeasurement_v1.h:80
xAOD::sTgcMeasurement_v1::setCharge
void setCharge(int q)
: Set the collected charge on the wire
xAOD::sTgcMeasurement_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the Tgc strip as a simple enumeration.
Definition: sTgcMeasurement_v1.h:28
xAOD::sTgcMeasurement_v1::setGasGap
void setGasGap(uint8_t gap)
Set the associated gas gap of the measurement.
IdentifierHash
Definition: IdentifierHash.h:38
xAOD::sTgcMeasurement_v1
Definition: sTgcMeasurement_v1.h:19
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::sTgcMeasurement_v1, xAOD::UncalibratedMeasurement_v1)