|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LArBadChanFEBHasher_H
6 #define LArBadChanFEBHasher_H
17 unsigned int febShift,
const LArOnlineID* onlineID) :
37 unsigned int hash(
unsigned int febHash,
unsigned int chan)
const {
unsigned int hash(const HWIdentifier &FEBid, int chan) const
unsigned int maxChannel() const
unsigned int maxFEBHash() const
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
value_type get_compact() const
Get the compact id.
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
LArBadChanFEBHasher(unsigned int firstFEB, unsigned int lastFEB, unsigned int febShift, const LArOnlineID *onlineID)
unsigned int hash(unsigned int febHash, unsigned int chan) const
unsigned int maxHash() const
const LArOnlineID * m_onlineID
unsigned int m_maxFEBHash
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
unsigned int hash(const HWIdentifier &onlineID) const
unsigned int m_firstFEBid
unsigned int hashFEB(const HWIdentifier &FEBid) const
unsigned int channelInFeb(const HWIdentifier &chanID) const
unsigned int febHashByChan(const HWIdentifier &chanID) const