Class containning control, module, detector and connection information, at the level of a FED channel.
More...
#include <FedChannelConnection.h>
|
uint16_t | apvPairNumber () const |
|
const uint16_t & | ccuAddr () const |
|
const uint16_t & | ccuChan () const |
|
void | consistencyCheck () const |
|
const bool & | dcu () const |
|
const uint32_t & | dcuId () const |
|
const uint32_t & | detId () const |
|
const uint16_t & | fecCrate () const |
|
const uint16_t & | fecRing () const |
|
const uint16_t & | fecSlot () const |
|
const uint16_t & | fedCh () const |
|
void | fedCh (uint16_t &fed_ch) |
|
| FedChannelConnection (const uint16_t &fec_crate, const uint16_t &fec_slot, const uint16_t &fec_ring, const uint16_t &ccu_addr, const uint16_t &ccu_chan, const uint16_t &apv0=0, const uint16_t &apv1=0, const uint32_t &dcu_id=0, const uint32_t &det_id=0, const uint16_t &pairs=0, const uint16_t &fed_id=0, const uint16_t &fed_ch=0, const uint16_t &length=0, const bool &dcu=false, const bool &pll=false, const bool &mux=false, const bool &lld=false) |
|
| FedChannelConnection () |
|
const uint16_t & | fedCrate () const |
|
void | fedCrate (uint16_t &fed_crate) |
|
const uint16_t & | fedId () const |
|
void | fedId (uint16_t &fed_id) |
|
const uint16_t & | fedSlot () const |
|
void | fedSlot (uint16_t &fed_slot) |
|
const uint16_t & | fiberLength () const |
|
const uint16_t & | i2cAddr (const uint16_t &apv0_or_1) const |
|
bool | isConnected () const |
|
const bool & | lld () const |
|
uint16_t | lldChannel () const |
|
const bool & | mux () const |
|
const uint16_t & | nApvPairs () const |
|
uint16_t | nApvs () const |
|
uint16_t | nDetStrips () const |
|
const bool & | pll () const |
|
void | print (std::stringstream &) const |
|
void | terse (std::stringstream &) const |
|
| ~FedChannelConnection () |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Class containning control, module, detector and connection information, at the level of a FED channel.
- Author
- R.Bainbridge
Definition at line 26 of file FedChannelConnection.h.
FedChannelConnection::FedChannelConnection |
( |
const uint16_t & |
fec_crate, |
|
|
const uint16_t & |
fec_slot, |
|
|
const uint16_t & |
fec_ring, |
|
|
const uint16_t & |
ccu_addr, |
|
|
const uint16_t & |
ccu_chan, |
|
|
const uint16_t & |
apv0 = 0 , |
|
|
const uint16_t & |
apv1 = 0 , |
|
|
const uint32_t & |
dcu_id = 0 , |
|
|
const uint32_t & |
det_id = 0 , |
|
|
const uint16_t & |
pairs = 0 , |
|
|
const uint16_t & |
fed_id = 0 , |
|
|
const uint16_t & |
fed_ch = 0 , |
|
|
const uint16_t & |
length = 0 , |
|
|
const bool & |
dcu = false , |
|
|
const bool & |
pll = false , |
|
|
const bool & |
mux = false , |
|
|
const bool & |
lld = false |
|
) |
| |
Constructor requires at least information to uniquely identify a front-end module: ie, crate + FEC + ring + CCU + module.
Definition at line 11 of file FedChannelConnection.cc.
FedChannelConnection::FedChannelConnection |
( |
| ) |
|
FedChannelConnection::~FedChannelConnection |
( |
| ) |
|
|
inline |
uint16_t FedChannelConnection::apvPairNumber |
( |
| ) |
const |
const uint16_t & FedChannelConnection::ccuAddr |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::ccuChan |
( |
| ) |
const |
|
inline |
void FedChannelConnection::consistencyCheck |
( |
| ) |
const |
|
inline |
const bool & FedChannelConnection::dcu |
( |
| ) |
const |
|
inline |
const uint32_t & FedChannelConnection::dcuId |
( |
| ) |
const |
|
inline |
const uint32_t & FedChannelConnection::detId |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::fecCrate |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::fecRing |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::fecSlot |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::fedCh |
( |
| ) |
const |
|
inline |
void FedChannelConnection::fedCh |
( |
uint16_t & |
fed_ch | ) |
|
|
inline |
const uint16_t & FedChannelConnection::fedCrate |
( |
| ) |
const |
|
inline |
void FedChannelConnection::fedCrate |
( |
uint16_t & |
fed_crate | ) |
|
|
inline |
const uint16_t & FedChannelConnection::fedId |
( |
| ) |
const |
|
inline |
void FedChannelConnection::fedId |
( |
uint16_t & |
fed_id | ) |
|
|
inline |
const uint16_t & FedChannelConnection::fedSlot |
( |
| ) |
const |
|
inline |
void FedChannelConnection::fedSlot |
( |
uint16_t & |
fed_slot | ) |
|
|
inline |
const uint16_t & FedChannelConnection::fiberLength |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::i2cAddr |
( |
const uint16_t & |
apv0_or_1 | ) |
const |
Indicates whether APV0 or APV1 of the pair has been found: a non-zero value indicates the I2C address; a null value signifies a problematic APV.
Definition at line 83 of file FedChannelConnection.cc.
bool FedChannelConnection::isConnected |
( |
| ) |
const |
|
inline |
const bool & FedChannelConnection::lld |
( |
| ) |
const |
|
inline |
uint16_t FedChannelConnection::lldChannel |
( |
| ) |
const |
const bool & FedChannelConnection::mux |
( |
| ) |
const |
|
inline |
const uint16_t & FedChannelConnection::nApvPairs |
( |
| ) |
const |
|
inline |
uint16_t FedChannelConnection::nApvs |
( |
| ) |
const |
|
inline |
uint16_t FedChannelConnection::nDetStrips |
( |
| ) |
const |
|
inline |
const bool & FedChannelConnection::pll |
( |
| ) |
const |
|
inline |
void FedChannelConnection::print |
( |
std::stringstream & |
ss | ) |
const |
template<class Archive >
void FedChannelConnection::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
void FedChannelConnection::terse |
( |
std::stringstream & |
ss | ) |
const |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
uint16_t FedChannelConnection::apv0_ |
|
private |
uint16_t FedChannelConnection::apv1_ |
|
private |
uint16_t FedChannelConnection::ccuAddr_ |
|
private |
uint16_t FedChannelConnection::ccuChan_ |
|
private |
bool FedChannelConnection::dcu0x00_ |
|
private |
uint32_t FedChannelConnection::dcuId_ |
|
private |
uint32_t FedChannelConnection::detId_ |
|
private |
uint16_t FedChannelConnection::fecCrate_ |
|
private |
uint16_t FedChannelConnection::fecRing_ |
|
private |
uint16_t FedChannelConnection::fecSlot_ |
|
private |
uint16_t FedChannelConnection::fedCh_ |
|
private |
uint16_t FedChannelConnection::fedCrate_ |
|
private |
uint16_t FedChannelConnection::fedId_ |
|
private |
uint16_t FedChannelConnection::fedSlot_ |
|
private |
uint16_t FedChannelConnection::length_ |
|
private |
bool FedChannelConnection::lld0x60_ |
|
private |
bool FedChannelConnection::mux0x43_ |
|
private |
uint16_t FedChannelConnection::nApvPairs_ |
|
private |
bool FedChannelConnection::pll0x44_ |
|
private |