2 #ifndef DataFormats_SiStripCommon_SiStripFedKey_H
3 #define DataFormats_SiStripCommon_SiStripFedKey_H
62 const uint16_t& fe_unit = 0,
63 const uint16_t& fe_chan = 0,
64 const uint16_t& fed_apv = 0);
84 inline const uint16_t&
fedId()
const;
87 inline const uint16_t&
feUnit()
const;
90 inline const uint16_t&
feChan()
const;
93 inline const uint16_t&
fedApv()
const;
102 static uint16_t
fedCh(
const uint16_t& fe_unit,
const uint16_t& fe_chan);
106 static uint16_t
feUnit(
const uint16_t& fed_ch);
110 static uint16_t
feChan(
const uint16_t& fed_ch);
115 static uint32_t
fedIndex(
const uint16_t& fed_id,
const uint16_t& fed_ch);
142 void print(std::stringstream&
ss)
const override;
145 void terse(std::stringstream& ss)
const override;
194 #endif // DataFormats_SiStripCommon_SiStripFedKey_H
static const uint16_t feChanMask_
void print(std::stringstream &ss) const override
void initFromValue() override
static const uint16_t feUnitOffset_
void initFromPath() override
A container class for generic run and event-related info, information required by the commissioning a...
bool isInvalid() const override
void initFromKey() override
static const uint16_t fedSlotMask_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
void terse(std::stringstream &ss) const override
bool isConsistent(const SiStripKey &) const override
Constants and enumerated type for sistrip::Granularity.
static const uint16_t fedCrateOffset_
bool isEqual(const SiStripKey &) const override
Base utility class that identifies a position within a logical structure of the strip tracker...
static const uint16_t feUnitMask_
uint16_t fedChannel() const
static const uint16_t fedIdOffset_
void initGranularity() override
static const uint16_t feChanOffset_
static const uint16_t fedCrateMask_
const uint16_t & fedApv() const
const uint16_t & feUnit() const
static const uint16_t fedSlotOffset_
const uint16_t & feChan() const
static const uint16_t fedApvMask_
const uint16_t & fedId() const
static uint16_t fedCh(const uint16_t &fe_unit, const uint16_t &fe_chan)
static const uint16_t fedIdMask_
static const uint16_t fedApvOffset_
bool isValid() const override