7 using namespace sistrip;
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,
81 return (conn1.
fedCh() < conn2.
fedCh() ?
true :
false);
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 & fecSlot() const
const uint16_t & fecCrate() const
const uint16_t & fedCh() const
static const uint32_t invalid32_
uint16_t apvPairNumber() const
void terse(std::stringstream &) const
void print(std::stringstream &) const
uint16_t lldChannel() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const uint16_t & fedId() const
static const char fecSlot_[]
static const char ccuChan_[]
static const char ccuAddr_[]
static const char mlCabling_[]
const uint16_t & fecRing() const
const uint16_t & fedSlot() const
const uint32_t & detId() const
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & ccuChan() const
static const char fecCrate_[]
const uint16_t & ccuAddr() const
const uint32_t & dcuId() const
const uint16_t & feUnit() const
const uint16_t & nApvPairs() const
static const char fecRing_[]
static const uint16_t invalid_
const uint16_t & fedCrate() const
bool operator<(DTCELinkId const &lhs, DTCELinkId const &rhs)
uint16_t apvPairNumberDebug() const
const uint16_t & feChan() const
Log< level::Warning, false > LogWarning
const uint16_t & i2cAddr(const uint16_t &apv0_or_1) const