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 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...
void initFromKey() override
bool isEqual(const SiStripKey &) const override
static const uint16_t fedSlotMask_
void terse(std::stringstream &ss) const override
void print(std::stringstream &ss) const override
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
Constants and enumerated type for sistrip::Granularity.
static const uint16_t fedCrateOffset_
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
std::ostream & operator<<(std::ostream &, const SiStripFedKey &)
const uint16_t & feUnit() const
bool isConsistent(const SiStripKey &) const override
static const uint16_t fedSlotOffset_
const uint16_t & feChan() const
bool isValid() const override
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_
bool isInvalid() const override
static const uint16_t fedApvOffset_