|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/ServiceHandle.h"
17 static const std::string preFixStr{
"sTgc"};
IMPLEMENT_SETTER_GETTER_WITH_CAST(sTgcMeasurement_v1, uint8_t, sTgcMeasurement_v1::Author, author, setAuthor)
IdentifierHash layerHash() const
Returns the hash of the associated gasGap layer.
const T * ptr() const
Return a pointer to the cached value.
IdentifierHash measurementHash() const
Returns the hash of the measurement channel w.r.t ReadoutElement.
bool isValid() const
Test to see if the value is valid.
const Identifier & identify() const
: Returns the Athena identifier of the measurement It's constructed from the measurementHash & passed...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define IMPLEMENT_READOUTELEMENT(CLASS_NAME, CACHED_VALUE, READOUT_ELEMENT_TYPE)
Macro to handle the readoutElement.
uint8_t gasGap() const
In which gasGap is the Measurement.
static IdentifierHash createHash(const unsigned int gasGap, const unsigned int channelType, const unsigned int channel, const unsigned int wireInGrp=0)
Create a measurement hash from the Identifier fields.
virtual sTgcChannelTypes channelType() const =0
Returns the channel type of the measurement (Pad/Wire/Strip)
CxxUtils::CachedValue< Identifier > m_identifier
const MuonGMR4::sTgcReadoutElement * readoutElement() const
Retrieve the associated sTgcReadoutElement.
void set(const T &val) const
Set the value, assuming it is currently invalid.
#define IMPLEMENT_SETTER_GETTER(DTYPE, GETTER, SETTER)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...