3 #ifndef DataFormats_SiStripCommon_SiStripFecKey_H
4 #define DataFormats_SiStripCommon_SiStripFecKey_H
54 const uint16_t& fec_slot = 0,
55 const uint16_t& fec_ring = 0,
56 const uint16_t& ccu_addr = 0,
57 const uint16_t& ccu_chan = 0,
58 const uint16_t& lld_chan = 0,
59 const uint16_t& i2c_addr = 0 );
83 inline const uint16_t&
fecCrate()
const;
86 inline const uint16_t&
fecSlot()
const;
89 inline const uint16_t&
fecRing()
const;
92 inline const uint16_t&
ccuAddr()
const;
95 inline const uint16_t&
ccuChan()
const;
98 inline const uint16_t&
lldChan()
const;
101 inline const uint16_t&
i2cAddr()
const;
106 static uint16_t
hybridPos(
const uint16_t& i2c_addr );
109 static uint16_t
i2cAddr(
const uint16_t& hybrid_pos );
112 static uint16_t
lldChan(
const uint16_t& i2c_addr );
118 static uint16_t
i2cAddr(
const uint16_t& lld_chan,
119 const bool& first_apv_of_pair );
146 virtual void print( std::stringstream& ss )
const;
149 virtual void terse( std::stringstream& ss )
const;
242 bool operator() (
const uint32_t&,
const uint32_t& )
const;
248 #endif // DataFormats_SiStripCommon_SiStripFecKey_H
static const uint16_t ccuChanOffset_
static const uint16_t ccuChanMask_
static const uint16_t i2cAddrOffset_
const uint16_t & fecRing() const
static const uint16_t fecSlotMask_
static const uint16_t fecRingOffset_
virtual void print(std::stringstream &ss) const
const uint16_t & lldChan() const
const uint16_t & fecSlot() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const uint16_t & i2cAddr() const
static const uint16_t fecCrateMask_
const uint32_t & key() const
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
static bool firstApvOfPair(const uint16_t &i2c_addr)
static const uint16_t lldChanOffset_
static uint16_t hybridPos(const uint16_t &i2c_addr)
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
Constants and enumerated type for sistrip::Granularity.
Base utility class that identifies a position within a logical structure of the strip tracker...
const uint16_t & fecCrate() const
static const uint16_t lldChanMask_
bool isEqual(const SiStripKey &) const
static const uint16_t fecSlotOffset_
const uint16_t & ccuAddr() const
bool operator()(const uint32_t &, const uint32_t &) const
static const uint16_t ccuAddrMask_
static const uint16_t i2cAddrMask_
const uint16_t & ccuChan() const
static const uint16_t fecRingMask_
static const uint16_t fecCrateOffset_
bool isConsistent(const SiStripKey &) const
static const uint16_t ccuAddrOffset_
virtual void terse(std::stringstream &ss) const