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 virtual void print( std::stringstream& ss )
const;
149 virtual void terse( std::stringstream& ss )
const;
200 #endif // DataFormats_SiStripCommon_SiStripFedKey_H
static const uint16_t feChanMask_
bool isConsistent(const SiStripKey &) const
virtual void print(std::stringstream &ss) const
static const uint16_t feUnitOffset_
A container class for generic run and event-related info, information required by the commissioning a...
static const uint16_t fedSlotMask_
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
virtual void terse(std::stringstream &ss) const
Constants and enumerated type for sistrip::Granularity.
bool isEqual(const SiStripKey &) const
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_
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
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_