 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 m_idHelperSvc{idHelperSvc},
11 m_granularity{granularity} {
23 msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for "
29 msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for "
33 return std::make_optional<unsigned int>(
static_cast<unsigned int>(
hash));
43 if (!
index)
return nullptr;
48 msg<<MSG::WARNING<<__FILE__<<
":"<<__LINE__<<
" No Mdt calibration data is stored for "
55 if (!
index)
return false;
57 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No correction functional set parsed for multilayer "
65 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer "
72 msg <<
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt corrections for "
80 if (!
index)
return false;
82 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No rt relation parsed for multilayer "
90 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer "
97 msg <<
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt relations for "
105 if (!
index)
return false;
106 if (!tubeContainer) {
107 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No tube ontainer parsed for multilayer "
116 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a tube calibration container for multilayer "
121 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]
void setInversePropSpeed(const float speed)
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...
float inversePropSpeed() const
MdtCalibDataContainer(const Muon::IMuonIdHelperSvc *idHelprSvc, const RegionGranularity granularity)