Go to the documentation of this file.
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 fedIdMask_
bool isEqual(const SiStripKey &) const override
bool isValid() const override
static const uint16_t fedSlotMask_
static const uint16_t fedCrateOffset_
static const uint16_t feChanMask_
static const uint16_t feUnitMask_
A container class for generic run and event-related info, information required by the commissioning a...
static const uint16_t fedIdOffset_
static const uint16_t fedApvOffset_
Constants and enumerated type for sistrip::Granularity.
static const uint16_t fedCrateMask_
void initFromPath() override
bool isInvalid() const override
void initGranularity() override
void terse(std::stringstream &ss) const override
void initFromKey() override
const uint16_t & fedApv() const
const uint16_t & feUnit() const
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
std::ostream & operator<<(std::ostream &, const SiStripFedKey &)
static const uint16_t feUnitOffset_
bool isConsistent(const SiStripKey &) const override
static const uint16_t fedApvMask_
static uint16_t fedCh(const uint16_t &fe_unit, const uint16_t &fe_chan)
void print(std::stringstream &ss) const override
uint16_t fedChannel() const
void initFromValue() override
static const uint16_t feChanOffset_
static const uint16_t fedSlotOffset_
Base utility class that identifies a position within a logical structure of the strip tracker.
const uint16_t & fedId() const
const uint16_t & feChan() const