|
ATLAS Offline Software
|
Go to the documentation of this file.
11 ostr <<
"flat-cable: " <<
static_cast<unsigned>(map.
id()) <<
", \n tdcs: ";
14 const unsigned int ch =
s[
p];
24 ostr <<
"\n strips: ";
42 log<<
MSG::VERBOSE<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": The channel "
43 <<
static_cast<unsigned>(strip)<<
" is unmapped."<<
endmsg;
48 log<<
MSG::VERBOSE<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": Map channel "
56 log<<MSG::WARNING<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": The parsed tdc "
62 log<<
MSG::VERBOSE<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": The parsed tdc "
73 log<<MSG::ERROR<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": The strip "<<
static_cast<unsigned>(strip)
78 log<<MSG::ERROR<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": The strip "<<
static_cast<unsigned>(strip)
86 log<<
MSG::VERBOSE<<
"RpcFlatCableTranslator::"<<__func__<<
"() - "<<__LINE__<<
": Map strip "<<
static_cast<unsigned>(strip)
87 <<
" to tdc "<<
static_cast<unsigned>(tdc)<<
endmsg;
static constexpr uint8_t readStrips
Number of channels covered by one chip.
bool mapChannels(uint8_t strip, uint8_t tdc, MsgStream &log)
Connect the strip with a tdc channel.
static constexpr uint8_t notSet
Default value indicating that the channel is not set.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
uint8_t connectedChannels() const
Number of connected channels.
static constexpr uint8_t firstTdc
Convention of the lowest tdc number.
std::optional< uint8_t > tdcChannel(uint8_t strip, MsgStream &log) const
Returns the connected tdc channel connected to a strip.
std::array< uint8_t, readStrips > Storage_t
Internal storage array.
uint8_t id() const
Identifier of the card layout.
RpcFlatCableTranslator(const uint8_t cardId)
Standard constructor taking the card ID as input.
std::ostream & operator<<(std::ostream &ostr, const Muon::HedgehogBoard &board)
static constexpr uint8_t firstStrip
Convention of the lowest strip number.
std::optional< uint8_t > stripChannel(uint8_t tdcChannel, MsgStream &log) const
Returns the strip channel connected to a strip.
const Storage_t & tdcMap() const
Returns the underlying tdc mapping storage.
const Storage_t & stripMap() const
Returns underlying strip mapping storage.
uint8_t m_nCh
Number of channels that are connected to the cable.