ATLAS Offline Software
Loading...
Searching...
No Matches
MdtTubeFullInfoContainer.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
5
6namespace MuonCalib {
13
15 unsigned int idx = vectorIndex(tubeId);
16 if (idx >= m_info.size()) return false;
17 m_info[idx] = std::move(val);
18 return true;
19}
23const std::string& MdtTubeFullInfoContainer::name() const {
24 return m_name;
25}
26const std::string& MdtTubeFullInfoContainer::implementation() const {
27 return m_implementation;
28}
30 unsigned int idx = vectorIndex(tubeId);
31 if (idx >= m_info.size()) return nullptr;
32 return &m_info[idx];
33}
34
35
36} // namespace MuonCalib
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...
const Muon::IMuonIdHelperSvc * idHelperSvc() const
unsigned int vectorIndex(const Identifier &measID) const
calculate postion of tube in vector
std::vector< SingleTubeFullInfo > m_info
const std::string & name() const
return the name of this class
const std::string & implementation() const
return the name of the implementation filling this class
MdtTubeFullInfoContainer(const Muon::IMuonIdHelperSvc *idHelperSvc, const Identifier &moduleID)
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tu...
bool setFullInfo(const Identifier &tubeId, SingleTubeFullInfo &&val)
set the calibration constants of a single tube
const SingleTubeFullInfo * getFullInfo(const Identifier &tubeId) const
return calibration constants of a single tube
void setImplementation(const std::string &impl)
set the name of the implementation used to fill this class
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.
MdtTubeFullInfoContainer::SingleTubeFullInfo SingleTubeFullInfo