|
|
Go to the documentation of this file.
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 & nApvPairs() const
uint16_t lldChannel() const
const uint16_t & fecCrate() const
static const uint32_t invalid32_
std::ostream & operator<<(std::ostream &os, const FedChannelConnection &conn)
const uint16_t & fedCh() const
uint16_t apvPairNumberDebug() const
const uint16_t & i2cAddr(const uint16_t &apv0_or_1) const
Log< level::Warning, false > LogWarning
const uint16_t & fecSlot() const
static const char ccuAddr_[]
static const char fecCrate_[]
static const char fecSlot_[]
Class containning control, module, detector and connection information, at the level of a FED channel...
static const char ccuChan_[]
const uint32_t & detId() const
const uint16_t & ccuAddr() const
static const char mlCabling_[]
const uint16_t & fedCrate() const
bool operator<(const FedChannelConnection &conn1, const FedChannelConnection &conn2)
const uint16_t & feUnit() const
void print(std::stringstream &) const
void terse(std::stringstream &) const
const uint16_t & fedSlot() const
static const uint16_t invalid_
const uint16_t & fedId() const
static const char fecRing_[]
uint16_t apvPairNumber() const
const uint32_t & dcuId() const
const uint16_t & ccuChan() const
const uint16_t & fecRing() const
const uint16_t & feChan() const