|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    8 #include "Identifier/Identifier.h" 
   15         m_idHelperSvc{idHelperSvc},
 
   16         m_granularity{granularity} {
 
   28         msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for " 
   34         msg<<MSG::ERROR <<__FILE__<<
":"<<__LINE__<<
" Failed to look up a proper detector element hash for " 
   38     return std::make_optional<unsigned int>(
static_cast<unsigned int>(
hash));
 
   48     if (!
index) 
return nullptr;
 
   53     msg<<MSG::WARNING<<__FILE__<<
":"<<__LINE__<<
" No Mdt calibration data is stored for " 
   60     if (!
index) 
return false;
 
   62         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No correction functional set parsed for multilayer " 
   70         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer " 
   77          msg << 
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt corrections for " 
   85     if (!
index) 
return false;
 
   87         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No rt relation parsed for multilayer " 
   95         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a rt relation object for multilayer " 
  102          msg << 
MSG::DEBUG<<__FILE__<<
":"<<__LINE__<<
" Added successfully the rt relations for " 
  110     if (!
index) 
return false;
 
  111     if (!tubeContainer) {
 
  112         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" No tube ontainer parsed for multilayer " 
  121         msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" There already exist a tube calibration container for multilayer " 
  126          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)