5#ifndef MUONCALIB_MDTTUBECALIBCONTAINER_H
6#define MUONCALIB_MDTTUBECALIBCONTAINER_H
37 if (idx >=
m_data.size())
return nullptr;
67 std::vector<SingleTubeCalib>
m_data{};
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
std::vector< SingleTubeCalib > m_data
unsigned int numLayers() const
const SingleTubeCalib * getCalib(const Identifier &tubeId) const
return calibration constants of a single tube
const Identifier & identify() const
return container name and dimensions
const MdtIdHelper & m_idHelper
uint8_t m_nTubes
number of tubes
GeoModel::TransientConstSharedPtr< SingleTubeCalib > SingleTubeCalibPtr
unsigned int numMultilayers() const
bool setCalib(SingleTubeCalib val, const Identifier &tubeId, MsgStream &msg)
set the calibration constants of a single tube
const Identifier m_moduleID
uint8_t m_nLayers
number of layer
MdtTubeCalibContainer(const Muon::IMuonIdHelperSvc *idHelperSvc, const Identifier &moduleID)
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tu...
uint8_t m_nMl
number of multilayers in chamber
const Muon::IMuonIdHelperSvc * idHelperSvc() const
unsigned int size() const
const Muon::IMuonIdHelperSvc * m_idHelperSvc
unsigned int numTubes() const
unsigned int vectorIndex(const Identifier &measID) const
calculate postion of tube in vector
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
float adcCal
quality flag for the SingleTubeCalib constants: 0 all ok, 1 no hits found, 2 too few hits,...
float t0
< relative t0 in chamber (ns)
SingleTubeCalib()=default