![]() |
ATLAS Offline Software
|
#include <MdtCalibDataContainer.h>
Public Member Functions | |
MdtCalibDataContainer (const Muon::IMuonIdHelperSvc *idHelprSvc, const RegionGranularity granularity) | |
~MdtCalibDataContainer ()=default | |
const MdtFullCalibData * | getCalibData (const Identifier &measId, MsgStream &msg) const |
Returns the calibration data associated with this station More... | |
bool | hasDataForChannel (const Identifier &measId, MsgStream &msg) const |
Checks whether a calibration data object is already present. More... | |
bool | storeData (const Identifier &mlID, CorrectionPtr corrFuncSet, MsgStream &msg) |
bool | storeData (const Identifier &mlID, RtRelationPtr rtRelation, MsgStream &msg) |
bool | storeData (const Identifier &mlID, TubeContainerPtr tubeContainer, MsgStream &msg) |
RegionGranularity | granularity () const |
void | setInversePropSpeed (const float speed) |
float | inversePropSpeed () const |
Private Member Functions | |
std::optional< unsigned int > | containerIndex (const Identifier &measId, MsgStream &msg) const |
Private Attributes | |
const Muon::IMuonIdHelperSvc * | m_idHelperSvc {nullptr} |
const RegionGranularity | m_granularity {RegionGranularity::OneRt} |
const MdtIdHelper & | m_idHelper {m_idHelperSvc->mdtIdHelper()} |
std::vector< MdtFullCalibData > | m_dataCache {} |
float | m_invPropSpeed {0.f} |
Definition at line 20 of file MdtCalibDataContainer.h.
Definition at line 22 of file MdtCalibDataContainer.h.
Definition at line 23 of file MdtCalibDataContainer.h.
Definition at line 24 of file MdtCalibDataContainer.h.
Enumerator | |
---|---|
OneRt | |
OnePerChamber | |
OnePerMultiLayer |
Definition at line 26 of file MdtCalibDataContainer.h.
MuonCalib::MdtCalibDataContainer::MdtCalibDataContainer | ( | const Muon::IMuonIdHelperSvc * | idHelprSvc, |
const RegionGranularity | granularity | ||
) |
Definition at line 8 of file MdtCalibDataContainer.cxx.
|
default |
|
inlineprivate |
Definition at line 17 of file MdtCalibDataContainer.cxx.
const MdtFullCalibData * MuonCalib::MdtCalibDataContainer::getCalibData | ( | const Identifier & | measId, |
MsgStream & | msg | ||
) | const |
Returns the calibration data associated with this station
Definition at line 41 of file MdtCalibDataContainer.cxx.
MdtCalibDataContainer::RegionGranularity MuonCalib::MdtCalibDataContainer::granularity | ( | ) | const |
Definition at line 16 of file MdtCalibDataContainer.cxx.
bool MuonCalib::MdtCalibDataContainer::hasDataForChannel | ( | const Identifier & | measId, |
MsgStream & | msg | ||
) | const |
Checks whether a calibration data object is already present.
Definition at line 36 of file MdtCalibDataContainer.cxx.
float MuonCalib::MdtCalibDataContainer::inversePropSpeed | ( | ) | const |
Definition at line 14 of file MdtCalibDataContainer.cxx.
void MuonCalib::MdtCalibDataContainer::setInversePropSpeed | ( | const float | speed | ) |
Definition at line 13 of file MdtCalibDataContainer.cxx.
bool MuonCalib::MdtCalibDataContainer::storeData | ( | const Identifier & | mlID, |
CorrectionPtr | corrFuncSet, | ||
MsgStream & | msg | ||
) |
Check for a valid index
Resize the container if neccessary
Definition at line 52 of file MdtCalibDataContainer.cxx.
bool MuonCalib::MdtCalibDataContainer::storeData | ( | const Identifier & | mlID, |
RtRelationPtr | rtRelation, | ||
MsgStream & | msg | ||
) |
Check for a valid index
Resize the container if neccessary
Definition at line 77 of file MdtCalibDataContainer.cxx.
bool MuonCalib::MdtCalibDataContainer::storeData | ( | const Identifier & | mlID, |
TubeContainerPtr | tubeContainer, | ||
MsgStream & | msg | ||
) |
Check for a valid index
Resize the container if neccessary
Definition at line 102 of file MdtCalibDataContainer.cxx.
|
private |
Definition at line 53 of file MdtCalibDataContainer.h.
|
private |
Definition at line 51 of file MdtCalibDataContainer.h.
|
private |
Definition at line 52 of file MdtCalibDataContainer.h.
|
private |
Definition at line 50 of file MdtCalibDataContainer.h.
|
private |
Definition at line 54 of file MdtCalibDataContainer.h.