Holds single-tube calibration constants of one chamber.
More...
#include <MdtTubeCalibContainer.h>
Holds single-tube calibration constants of one chamber.
Definition at line 17 of file MdtTubeCalibContainer.h.
◆ SingleTubeCalibPtr
◆ MdtTubeCalibContainer()
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tubes in one layer
Definition at line 6 of file MdtTubeCalibContainer.cxx.
7 :
10
18}
std::vector< SingleTubeCalib > m_data
const MdtIdHelper & m_idHelper
uint8_t m_nTubes
number of tubes
const Identifier m_moduleID
uint8_t m_nLayers
number of layer
uint8_t m_nMl
number of multilayers in chamber
const Muon::IMuonIdHelperSvc * idHelperSvc() const
const Muon::IMuonIdHelperSvc * m_idHelperSvc
◆ getCalib()
return calibration constants of a single tube
Definition at line 35 of file MdtTubeCalibContainer.h.
35 {
37 if (idx >=
m_data.size())
return nullptr;
39 };
unsigned int vectorIndex(const Identifier &measID) const
calculate postion of tube in vector
◆ identify()
| const Identifier & MuonCalib::MdtTubeCalibContainer::identify |
( |
| ) |
const |
|
inline |
◆ idHelperSvc()
◆ numLayers()
| unsigned int MuonCalib::MdtTubeCalibContainer::numLayers |
( |
| ) |
const |
|
inline |
◆ numMultilayers()
| unsigned int MuonCalib::MdtTubeCalibContainer::numMultilayers |
( |
| ) |
const |
|
inline |
◆ numTubes()
| unsigned int MuonCalib::MdtTubeCalibContainer::numTubes |
( |
| ) |
const |
|
inline |
◆ setCalib()
set the calibration constants of a single tube
Make enough space for the calibration constants
Definition at line 19 of file MdtTubeCalibContainer.cxx.
19 {
23 msg << MSG::ERROR<<__FILE__<<
":"<<__LINE__<<
" The channel "<<
m_idHelperSvc->toString(tubeId)
25 return false;
26 }
27 if (index >=
m_data.size()) {
28 msg << MSG::WARNING<<__FILE__<<
":"<<__LINE__<<
" The channel "<<
m_idHelperSvc->toString(tubeId)
29 <<"does not seem to match the anticipated chamber sizes of "
32 }
34 if (
msg.level() <= MSG::VERBOSE) {
35 msg << MSG::VERBOSE<<
" Succesfully stored calibration data for channel "<<
m_idHelperSvc->toString(tubeId) <<
endmsg;
36 }
37 return true;
38}
◆ size()
| unsigned int MuonCalib::MdtTubeCalibContainer::size |
( |
| ) |
const |
|
inline |
◆ vectorIndex()
| unsigned int MuonCalib::MdtTubeCalibContainer::vectorIndex |
( |
const Identifier & | measID | ) |
const |
|
inlineprotected |
◆ m_data
◆ m_idHelper
◆ m_idHelperSvc
◆ m_moduleID
| const Identifier MuonCalib::MdtTubeCalibContainer::m_moduleID {} |
|
protected |
◆ m_nLayers
| uint8_t MuonCalib::MdtTubeCalibContainer::m_nLayers {0} |
|
protected |
◆ m_nMl
| uint8_t MuonCalib::MdtTubeCalibContainer::m_nMl {0} |
|
protected |
◆ m_nTubes
| uint8_t MuonCalib::MdtTubeCalibContainer::m_nTubes {0} |
|
protected |
The documentation for this class was generated from the following files: