|
ATLAS Offline Software
|
Go to the documentation of this file.
8 : m_bcId(0), m_l1Id(0),
9 m_sswId(999), m_slbId(999),
25 : m_bcId(
bcId), m_l1Id(l1Id),
26 m_sswId(sswId), m_slbId(slbId),
47 return ((m_l1Id == l1Id) && (m_sswId == sswId) && (m_slbId == slbId));
52 const bool* bitArray =
nullptr;
56 bitArray = m_bitArray_C;
59 bitArray = m_bitArray_P;
62 bitArray = m_bitArray_N;
65 bitArray = m_bitArray_C;
77 bool* bitArray =
nullptr;
81 bitArray = m_bitArray_C;
84 bitArray = m_bitArray_P;
87 bitArray = m_bitArray_N;
90 bitArray = m_bitArray_C;
104 if(cellAddr == PADDING_WORD)
return;
107 bool *bitArray = getBitArray(
bcTag);
110 int indexMap = BITMAP_SIZE -
CELL_SIZE*(cellAddr+1);
111 if(indexMap<0)
return;
113 for(
int iBit=0; iBit<
CELL_SIZE; ++iBit) {
115 if(indexMap+iBit >= BITMAP_SIZE)
break;
118 *(bitArray+indexMap+iBit)=
true;
128 if(iBit >= BITMAP_SIZE)
return;
131 bool *bitArray = getBitArray(
bcTag);
132 *(bitArray+iBit)=
true;
147 return (
m_type != SLB_HIT);
152 return ((
m_type >= SLB_LPT_D_W)&&(
m_type<=SLB_LPT_I_S));
167 return ((
m_type == SLB_LPT_I_W)||(
m_type==SLB_LPT_I_S));
uint16_t getSbLoc() const
Get sbLoc.
uint16_t getSswId() const
Get sswId.
bool isInner(void) const
Check if the SLB type is inner LowPt.
bool isSL(void) const
Check if the SLB type is SL.
constexpr uint32_t CELL_SIZE
void setType(int vType)
Set SLB type.
void setL1Id(uint32_t l1Id)
Set l1Id.
uint16_t getBcId() const
Get bcId.
bool m_bitArray_P[BITMAP_SIZE]
Bit array at previous bunch.
bool isHighPt(void) const
Check if the SLB type is HighPt.
uint16_t getError() const
Get error.
void setBitmap(const uint16_t bcTag, const uint32_t cellAddr, const uint32_t cellData)
Store bitmap.
bool isLowPt(void) const
Check if the SLB type is LowPt.
bool equal(uint16_t bcId, uint32_t l1Id, uint16_t sswId, uint16_t slbId) const
Check input IDs and held IDs are equal or not.
uint32_t getL1Id() const
Get l1Id.
void setSswId(uint16_t sswId)
Set sswId.
void setSlbId(uint16_t slbId)
Set slbId.
void setBit(const uint16_t bcTag, uint32_t iBit)
Set a bit.
void setBcId(uint16_t bcId)
Set bcId.
bool isCoincidence(void) const
Check if the SLB type is coincidence.
uint16_t bcId(uint32_t data)
uint16_t getSlbId() const
Get slbId.
virtual ~TgcSlbData(void)
Destructor.
void setSbLoc(uint16_t sbLoc)
Set sbLoc.
int getType() const
Get SLB type.
unsigned bcTag(unsigned bcBitMap)
void setError(uint16_t error)
Set Error.
TgcSlbData(void)
Costructor.
bool m_bitArray_N[BITMAP_SIZE]
Bit array at next bunch.
bool m_bitArray_C[BITMAP_SIZE]
Bit array at central bunch.
const bool * getBitArray(const uint16_t bcTag) const
Get bitArray for a BC tag.