|
|
Go to the documentation of this file.
2 #ifndef DataFormats_SiStripCommon_SiStripFecKey_H
3 #define DataFormats_SiStripCommon_SiStripFecKey_H
51 const uint16_t& fec_slot = 0,
52 const uint16_t& fec_ring = 0,
53 const uint16_t& ccu_addr = 0,
54 const uint16_t& ccu_chan = 0,
55 const uint16_t& lld_chan = 0,
56 const uint16_t& i2c_addr = 0);
79 inline const uint16_t&
fecCrate()
const;
82 inline const uint16_t&
fecSlot()
const;
85 inline const uint16_t&
fecRing()
const;
88 inline const uint16_t&
ccuAddr()
const;
91 inline const uint16_t&
ccuChan()
const;
94 inline const uint16_t&
lldChan()
const;
97 inline const uint16_t&
i2cAddr()
const;
102 static uint16_t
hybridPos(
const uint16_t& i2c_addr);
105 static uint16_t
i2cAddr(
const uint16_t& hybrid_pos);
108 static uint16_t
lldChan(
const uint16_t& i2c_addr);
114 static uint16_t
i2cAddr(
const uint16_t& lld_chan,
const bool& first_apv_of_pair);
141 void print(std::stringstream&
ss)
const override;
144 void terse(std::stringstream&
ss)
const override;
235 bool operator()(
const uint32_t&,
const uint32_t&)
const;
242 #endif // DataFormats_SiStripCommon_SiStripFecKey_H
void initGranularity() override
static const uint16_t fecSlotMask_
static const uint16_t lldChanOffset_
static const uint16_t ccuAddrOffset_
void print(std::stringstream &ss) const override
void initFromValue() override
const uint16_t & lldChan() const
bool operator()(const uint32_t &, const uint32_t &) const
const uint16_t & fecCrate() const
static const uint16_t ccuAddrMask_
Constants and enumerated type for sistrip::Granularity.
static const uint16_t ccuChanOffset_
static const uint16_t fecRingMask_
void terse(std::stringstream &ss) const override
static const uint16_t fecCrateOffset_
const uint16_t & fecRing() const
Utility class that identifies a position within the strip tracker control structure,...
const uint16_t & ccuChan() const
bool isEqual(const SiStripKey &) const override
static const uint16_t fecCrateMask_
bool isConsistent(const SiStripKey &) const override
static const uint16_t i2cAddrMask_
static uint16_t hybridPos(const uint16_t &i2c_addr)
bool operator<(const SiStripFecKey &a, const SiStripFecKey &b)
const uint16_t & i2cAddr() const
static const uint16_t ccuChanMask_
const uint16_t & ccuAddr() const
static const uint16_t fecSlotOffset_
static const uint16_t fecRingOffset_
static bool firstApvOfPair(const uint16_t &i2c_addr)
void initFromPath() override
std::ostream & operator<<(std::ostream &, const SiStripFecKey &)
const uint16_t & fecSlot() const
Base utility class that identifies a position within a logical structure of the strip tracker.
static const uint16_t i2cAddrOffset_
static const uint16_t lldChanMask_
void initFromKey() override
bool isInvalid() const override
bool isValid() const override