ATLAS Offline Software
RpcMeasurement_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // EDM include(s):
7 // Local include(s):
10 #include "GaudiKernel/ServiceHandle.h"
12 #include "StoreGate/StoreGateSvc.h"
13 
14 namespace {
15  static const std::string preFixStr{"Rpc_"};
16 }
17 
18 namespace xAOD {
19  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, float, time, setTime)
20  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, uint32_t, triggerInfo, setTriggerInfo)
21  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, uint8_t, ambiguityFlag, setAmbiguityFlag)
22  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, float, timeOverThreshold, setTimeOverThreshold)
23  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, uint16_t, stripNumber, setStripNumber)
24  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, uint8_t, gasGap, setGasGap)
25  IMPLEMENT_SETTER_GETTER(RpcMeasurement_v1, uint8_t, doubletPhi, setDoubletPhi)
26  IMPLEMENT_READOUTELEMENT(RpcMeasurement_v1, m_readoutEle, RpcReadoutElement)
27 
28  IdentifierHash RpcMeasurement_v1::measurementHash() const {
29  return MuonGMR4::RpcReadoutElement::createHash(stripNumber(),
30  gasGap(),
31  doubletPhi(),
32  measuresPhi());
33  }
36  }
37 }
xAOD::RpcMeasurement_v1
RpcMeasurement_v1: Class storing the geneic.
Definition: RpcMeasurement_v1.h:18
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
IMPLEMENT_READOUTELEMENT
#define IMPLEMENT_READOUTELEMENT(CLASS_NAME, CACHED_VALUE, READOUT_ELEMENT_TYPE)
Macro to handle the readoutElement.
Definition: AccessorMacros.h:55
AccessorMacros.h
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
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:34
MuonDetectorManager.h
RpcMeasurement_v1.h
xAOD::RpcMeasurement_v1::gasGap
uint8_t gasGap() const
returns the associated gas gap
RpcReadoutElement.h
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
xAOD::RpcMeasurement_v1::doubletPhi
uint8_t doubletPhi() const
doubletPhi identifier field of the measurement
createCablingJSON.doubletPhi
int doubletPhi
Definition: createCablingJSON.py:11
IMPLEMENT_SETTER_GETTER
#define IMPLEMENT_SETTER_GETTER(DTYPE, GETTER, SETTER)
Definition: NRPCRDO_v1.cxx:13
timeOverThreshold
double timeOverThreshold(unsigned int m_word)
Definition: driftCircle.h:116
IdentifierHash
Definition: IdentifierHash.h:38
StoreGateSvc.h
MuonGMR4::RpcReadoutElement::createHash
static IdentifierHash createHash(const unsigned int strip, const unsigned int gasGap, const unsigned int doubPhi, const bool measPhi)
Constructs an Identifier hash from the Identifier fields controlled by this readout element