|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCONDDATA_NSWCALIBDBTIMECHARGEDATA_H
6 #define MUONCONDDATA_NSWCALIBDBTIMECHARGEDATA_H
66 std::vector<std::unique_ptr<CalibConstants>>
channels{};
75 std::map<MuonCond::CalibTechType, ZeroCalibMap>
m_zero{};
void setData(CalibDataType type, const Identifier &chnlId, CalibConstants constants)
virtual const sTgcIdHelper & stgcIdHelper() const =0
access to TgcIdHelper
Helper struct to cache all calibration constants in a common place of the memory.
Hold mappings of ranges to condition objects.
const size_t m_nMmElements
Segmentation of the elements is per NSW gasGap. Each wedge has 4 gasgaps.
size_type detectorElement_hash_max() const
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
const size_t m_nStgcElements
Additionally reserve space for the 3 channel types.
void setZero(CalibDataType type, MuonCond::CalibTechType tech, CalibConstants constants)
const CalibConstants * getZeroCalibChannel(const CalibDataType type, const MuonCond::CalibTechType tech) const
Returns the dummy calibration constant for the given technology type.
ChannelCalibMap m_tdo_data
Provide an interface for finding inheritance information at run time.
std::vector< std::unique_ptr< CalibConstants > > channels
Class to provide easy MsgStream access and capabilities.
NswCalibDbTimeChargeData(const Muon::IMuonIdHelperSvc *idHelperSvc)
std::map< MuonCond::CalibTechType, ZeroCalibMap > m_zero
std::vector< CalibModule > ChannelCalibMap
const Muon::IMuonIdHelperSvc * m_idHelperSvc
std::vector< Identifier > getChannelIds(const CalibDataType type, const std::string &tech, const std::string &side) const
virtual bool hasMM() const =0
returns whether the Mircomegas identifiers are loaded
Hold mapping of ranges to condition objects.
ChannelCalibMap m_pdo_data
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::map< CalibDataType, CalibConstants > ZeroCalibMap
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
std::ostream & operator<<(std::ostream &ostr, const NswCalibDbTimeChargeData::CalibConstants &obj)
int identToModuleIdx(const Identifier &chan_id) const
~NswCalibDbTimeChargeData()=default
const CalibConstants * getCalibForChannel(const CalibDataType type, const Identifier &channelId) const
Retrieves the calibration constant for a particular readout channel.
virtual bool hasSTGC() const =0
returns whether the sTGC identifiers are loaded