2 #ifndef DataFormats_SiStripCommon_SiStripFedKey_H 3 #define DataFormats_SiStripCommon_SiStripFedKey_H 64 const uint16_t& fe_unit = 0,
65 const uint16_t& fe_chan = 0,
66 const uint16_t& fed_apv = 0 );
86 inline const uint16_t&
fedId()
const;
89 inline const uint16_t&
feUnit()
const;
92 inline const uint16_t&
feChan()
const;
95 inline const uint16_t&
fedApv()
const;
104 static uint16_t
fedCh(
const uint16_t& fe_unit,
105 const uint16_t& fe_chan );
109 static uint16_t
feUnit(
const uint16_t& fed_ch );
113 static uint16_t
feChan(
const uint16_t& fed_ch );
118 static uint32_t
fedIndex(
const uint16_t& fed_id,
119 const uint16_t& fed_ch );
146 void print( std::stringstream& ss )
const override;
149 void terse( std::stringstream& ss )
const override;
200 #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_