|
ATLAS Offline Software
|
Go to the documentation of this file.
10 m_idHelperSvc{idHelperSvc},
11 m_granularity{granularity} {
20 msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for "
26 msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for "
30 return std::make_optional<unsigned int>(
static_cast<unsigned int>(
hash));
40 if (!
index)
return nullptr;
45 msg<<MSG::WARNING<<__FILE__<<
":"<<__LINE__<<
" No Mdt calibration data is stored for "
52 if (!
index)
return false;
57 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer "
64 msg <<
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt corrections for "
72 if (!
index)
return false;
77 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer "
84 msg <<
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt relations for "
92 if (!
index)
return false;
97 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a tube calibration container for multilayer "
102 msg <<
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the tube calibrations for "
int multilayer(const Identifier &id) const
Access to components of the ID.
const RegionGranularity m_granularity
char data[hepevt_bytes_allocation_ATLAS]
int numberOfMultilayers(const Identifier &id) const
bool storeData(const Identifier &mlID, CorrectionPtr corrFuncSet, MsgStream &msg)
size_type detectorElement_hash_max() const
std::vector< MdtFullCalibData > m_dataCache
class which holds the full set of calibration constants for a given tube
CorrectionPtr corrections
const Muon::IMuonIdHelperSvc * m_idHelperSvc
TubeContainerPtr tubeCalib
RegionGranularity granularity() const
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
const MdtFullCalibData * getCalibData(const Identifier &measId, MsgStream &msg) const
Returns the calibration data associated with this station
size_type module_hash_max() const
the maximum hash value
virtual std::string toString(const Identifier &id) const =0
print all fields to string
virtual int get_detectorElement_hash(const Identifier &id, IdentifierHash &hash_id) const override
std::optional< unsigned int > containerIndex(const Identifier &measId, MsgStream &msg) const
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Identifier multilayerID(const Identifier &channeldID) const
bool hasDataForChannel(const Identifier &measId, MsgStream &msg) const
Checks whether a calibration data object is already present.
virtual int get_module_hash(const Identifier &id, IdentifierHash &hash_id) const override
const MdtIdHelper & m_idHelper
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
MdtCalibDataContainer(const Muon::IMuonIdHelperSvc *idHelprSvc, const RegionGranularity granularity)