1 #ifndef CondFormats_SiStripObjects_FedChannelConnection_H
2 #define CondFormats_SiStripObjects_FedChannelConnection_H
7 #include <boost/cstdint.hpp>
35 const uint16_t& fec_slot,
36 const uint16_t& fec_ring,
37 const uint16_t& ccu_addr,
38 const uint16_t& ccu_chan,
39 const uint16_t& apv0 = 0,
40 const uint16_t& apv1 = 0,
41 const uint32_t& dcu_id = 0,
42 const uint32_t& det_id = 0,
43 const uint16_t& pairs = 0,
44 const uint16_t& fed_id = 0,
45 const uint16_t& fed_ch = 0,
46 const uint16_t& length = 0,
47 const bool&
dcu =
false,
48 const bool&
pll =
false,
49 const bool&
mux =
false,
50 const bool&
lld =
false );
67 void print( std::stringstream& )
const;
70 void terse( std::stringstream& )
const;
75 const uint32_t&
dcuId()
const;
78 const uint32_t&
detId()
const;
87 uint16_t
nApvs()
const;
102 const uint16_t&
fedSlot()
const;
105 const uint16_t&
fedId()
const;
108 const uint16_t&
fedCh()
const;
111 void fedCrate( uint16_t& fed_crate );
114 void fedSlot( uint16_t& fed_slot );
117 void fedId( uint16_t& fed_id );
120 void fedCh( uint16_t& fed_ch );
128 const uint16_t&
fecSlot()
const;
131 const uint16_t&
fecRing()
const;
134 const uint16_t&
ccuAddr()
const;
137 const uint16_t&
ccuChan()
const;
144 const uint16_t&
i2cAddr(
const uint16_t& apv0_or_1 )
const;
147 const bool&
dcu()
const;
150 const bool&
mux()
const;
153 const bool&
pll()
const;
156 const bool&
lld()
const;
234 #endif // CondFormats_SiStripObjects_FedChannelConnection_H
const uint16_t & fecSlot() const
const uint16_t & fecCrate() const
const uint16_t & fedCh() const
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
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
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
const uint16_t & ccuAddr() const
const uint32_t & dcuId() const
void consistencyCheck() const
const uint16_t & nApvPairs() const
static const uint16_t invalid_
const uint16_t & fedCrate() const
const uint16_t & fiberLength() const
uint16_t nDetStrips() const
const uint16_t & i2cAddr(const uint16_t &apv0_or_1) const