12 const uint16_t& fec_slot,
13 const uint16_t& fec_ring,
14 const uint16_t& ccu_addr,
15 const uint16_t& ccu_chan,
18 const uint32_t& dcu_id,
19 const uint32_t& det_id,
20 const uint16_t& pairs,
21 const uint16_t& fed_id,
22 const uint16_t& fed_ch,
23 const uint16_t& length,
92 }
else if (apv == 1) {
97 <<
" Unexpected APV I2C address!" << apv;
99 static const uint16_t i2c_addr = 0;
116 <<
" Unexpected APV I2C addresses!" 134 <<
" APV I2C addresses (" <<
apv0_ <<
"/" <<
apv1_ <<
") are incompatible with" 135 <<
" number of APV pairs (" <<
nApvPairs_ <<
") found for this module!";
148 <<
" APV I2C addresses (" <<
apv0_ <<
"/" <<
apv1_ <<
") are incompatible with" 149 <<
" number of APV pairs (" <<
nApvPairs_ <<
") found for this module!";
155 <<
" Unexpected number of APV pairs: " <<
nApvPairs_;
164 ss <<
" [FedChannelConnection::" << __func__ <<
"]" << std::endl
165 <<
" FedCrate/FedSlot/FedId/FeUnit/FeChan/FedCh : " <<
fedCrate() <<
"/" <<
fedSlot() <<
"/" <<
fedId() <<
"/" 167 <<
" FecCrate/FecSlot/FecRing/CcuAddr/CcuChan : " <<
fecCrate() <<
"/" <<
fecSlot() <<
"/" <<
fecRing() <<
"/" 169 <<
" DcuId/DetId : " << std::hex <<
"0x" << std::setfill(
'0') << std::setw(8)
171 <<
"0x" << std::setfill(
'0') << std::setw(8) <<
detId() << std::endl
176 <<
" DCU/MUX/PLL/LLD found : " << std::boolalpha <<
dcu() <<
"/" <<
mux() <<
"/" <<
pll()
177 <<
"/" <<
lld() << std::noboolalpha;
189 <<
" dcu/detid=" << std::hex <<
"0x" << std::setfill(
'0') << std::setw(8) <<
dcuId() <<
"/" 190 <<
"0x" << std::setfill(
'0') << std::setw(8) <<
detId() <<
std::dec;
196 std::stringstream
ss;
const uint16_t & fecCrate() const
const uint16_t & ccuAddr() const
uint16_t apvPairNumberDebug() const
const uint16_t & fedSlot() const
const uint16_t & feChan() const
const uint16_t & feUnit() const
static const uint32_t invalid32_
const uint32_t & dcuId() const
const uint16_t & i2cAddr(const uint16_t &apv0_or_1) const
const uint16_t & fecSlot() const
void print(std::stringstream &) const
static const char fecSlot_[]
std::ostream & operator<<(std::ostream &os, const FedChannelConnection &conn)
static const char ccuChan_[]
static const char ccuAddr_[]
static const char mlCabling_[]
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & ccuChan() const
const uint16_t & fedId() const
static const char fecCrate_[]
const uint16_t & fecRing() const
const uint32_t & detId() const
const uint16_t & fedCrate() const
const uint16_t & nApvPairs() const
static const char fecRing_[]
static const uint16_t invalid_
uint16_t apvPairNumber() const
uint16_t lldChannel() const
void terse(std::stringstream &) const
Log< level::Warning, false > LogWarning
bool operator<(const FedChannelConnection &conn1, const FedChannelConnection &conn2)
const uint16_t & fedCh() const