|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCABLINGDATA_MDTMEZZANINECARD_H
6 #define MUONCABLINGDATA_MDTMEZZANINECARD_H
8 #include <GaudiKernel/MsgStream.h>
bool checkConsistency(MsgStream &msg) const
checks whether the tdc mapping is complete.
const Mapping & tdcToTubeMap() const
Returns the underlying TDC -> Tube conversion map.
uint8_t numTubesPerLayer() const
returns the number of tubes per layer;
uint8_t tdcChannel(uint8_t tubeLay, uint8_t tube, MsgStream &msg) const
returns the tdc channel number
std::array< uint8_t, 24 > Mapping
OfflineCh offlineTube(uint8_t tdc, MsgStream &msg) const
uint8_t numTubeLayers() const
returns the number of layers
Mapping m_tdcToTubes
Mapping of the tdc channels to the mezzanine tube number.
std::ostream & operator<<(std::ostream &ostr, const MdtMezzanineCard &map)
static constexpr uint8_t NOTSET
uint8_t id() const
returns mezzanine database identifier
uint8_t tubeNumber(uint8_t tubeLay, uint8_t tube) const
returns the tube number
MdtMezzanineCard - Helper struct to represent the structure of a mezzanine card in a consistent way E...
uint8_t m_nlay
Number of tube layers.
Helper struct to pipe the result from the tdc -> offline channel translation.
std::shared_ptr< const MdtMezzanineCard > MezzCardPtr
uint8_t m_mezzId
Mezzanine database identifier.
const Mapping & tubeToTdcMap() const
Returns the underlying Tube -> Tdc conversion map.
uint8_t m_nTubes
Number of tubes per layer.
Mapping m_tubesToTdc
Mapping of the mezzanine tube number to the tdc channel.
MdtMezzanineCard(const Mapping &tdcToTubeMap, uint8_t num_layers, uint8_t mezz_id)
Standard constructor of the mezzanine card.
num_layers
retrieve num layers and layer names (from new or ref hv input)