![]() |
ATLAS Offline Software
|
#include <TgcSlbData.h>
Public Types | |
| enum | { BC_UNDEFINED =0, BC_PREVIOUS, BC_CENTRAL, BC_NEXT, N_BC, BITMAP_SIZE = 200 } |
| enum | SlbType { SLB_HIT =0, SLB_LPT_D_W, SLB_LPT_D_S, SLB_LPT_T_W, SLB_LPT_T_S, SLB_LPT_I_W, SLB_LPT_I_S, SLB_SL_F, SLB_SL_E, SLB_NONE } |
Public Member Functions | |
| TgcSlbData (uint16_t bcId, uint32_t l1Id, uint16_t sswId, uint16_t slbId) | |
| Costructor. More... | |
| virtual | ~TgcSlbData (void) |
| Destructor. More... | |
| 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. More... | |
| const bool * | getBitArray (const uint16_t bcTag) const |
| Get bitArray for a BC tag. More... | |
| void | setBitmap (const uint16_t bcTag, const uint32_t cellAddr, const uint32_t cellData) |
| Store bitmap. More... | |
| void | setBit (const uint16_t bcTag, uint32_t iBit) |
| Set a bit. More... | |
| int | getType () const |
| Get SLB type. More... | |
| void | setType (int vType) |
| Set SLB type. More... | |
| bool | isCoincidence (void) const |
| Check if the SLB type is coincidence. More... | |
| bool | isLowPt (void) const |
| Check if the SLB type is LowPt. More... | |
| bool | isHighPt (void) const |
| Check if the SLB type is HighPt. More... | |
| bool | isSL (void) const |
| Check if the SLB type is SL. More... | |
| bool | isInner (void) const |
| Check if the SLB type is inner LowPt. More... | |
| void | setBcId (uint16_t bcId) |
| Set bcId. More... | |
| void | setL1Id (uint32_t l1Id) |
| Set l1Id. More... | |
| void | setSswId (uint16_t sswId) |
| Set sswId. More... | |
| void | setSlbId (uint16_t slbId) |
| Set slbId. More... | |
| void | setSbLoc (uint16_t sbLoc) |
| Set sbLoc. More... | |
| void | setError (uint16_t error) |
| Set Error. More... | |
| uint16_t | getBcId () const |
| Get bcId. More... | |
| uint32_t | getL1Id () const |
| Get l1Id. More... | |
| uint16_t | getSswId () const |
| Get sswId. More... | |
| uint16_t | getSlbId () const |
| Get slbId. More... | |
| uint16_t | getSbLoc () const |
| Get sbLoc. More... | |
| uint16_t | getError () const |
| Get error. More... | |
Private Types | |
| enum | { CELL_SIZE = 8, PADDING_WORD = 0x1F } |
Private Member Functions | |
| TgcSlbData (void) | |
| Costructor. More... | |
| bool * | getBitArray (const uint16_t bcTag) |
| Get bitArray for a BC tag. More... | |
Private Attributes | |
| uint16_t | m_bcId |
| uint32_t | m_l1Id |
| uint16_t | m_sswId |
| uint16_t | m_slbId |
| uint16_t | m_sbLoc |
| uint16_t | m_error |
| bool | m_bitArray_C [BITMAP_SIZE] |
| Bit array at central bunch. More... | |
| bool | m_bitArray_P [BITMAP_SIZE] |
| Bit array at previous bunch. More... | |
| bool | m_bitArray_N [BITMAP_SIZE] |
| Bit array at next bunch. More... | |
| int | m_type |
| SLB type. More... | |
This is the SLB data class which represents an SLB block.
This class was developed by Tadashi Maeno.
Definition at line 21 of file TgcSlbData.h.
| anonymous enum |
| Enumerator | |
|---|---|
| BC_UNDEFINED | |
| BC_PREVIOUS | |
| BC_CENTRAL | |
| BC_NEXT | |
| N_BC | |
| BITMAP_SIZE | |
Definition at line 24 of file TgcSlbData.h.
|
private |
| Enumerator | |
|---|---|
| CELL_SIZE | |
| PADDING_WORD | |
Definition at line 119 of file TgcSlbData.h.
| Enumerator | |
|---|---|
| SLB_HIT | |
| SLB_LPT_D_W | |
| SLB_LPT_D_S | |
| SLB_LPT_T_W | |
| SLB_LPT_T_S | |
| SLB_LPT_I_W | |
| SLB_LPT_I_S | |
| SLB_SL_F | |
| SLB_SL_E | |
| SLB_NONE | |
Definition at line 34 of file TgcSlbData.h.
| Muon::TgcSlbData::TgcSlbData | ( | uint16_t | bcId, |
| uint32_t | l1Id, | ||
| uint16_t | sswId, | ||
| uint16_t | slbId | ||
| ) |
|
virtualdefault |
Destructor.
|
private |
| bool Muon::TgcSlbData::equal | ( | uint16_t | bcId, |
| uint32_t | l1Id, | ||
| uint16_t | sswId, | ||
| uint16_t | slbId | ||
| ) | const |
Check input IDs and held IDs are equal or not.
Definition at line 42 of file TgcSlbData.cxx.
| uint16_t Muon::TgcSlbData::getBcId | ( | ) | const |
|
private |
| uint16_t Muon::TgcSlbData::getError | ( | ) | const |
| uint32_t Muon::TgcSlbData::getL1Id | ( | ) | const |
| uint16_t Muon::TgcSlbData::getSbLoc | ( | ) | const |
| uint16_t Muon::TgcSlbData::getSlbId | ( | ) | const |
| uint16_t Muon::TgcSlbData::getSswId | ( | ) | const |
| int Muon::TgcSlbData::getType | ( | ) | const |
| bool Muon::TgcSlbData::isCoincidence | ( | void | ) | const |
Check if the SLB type is coincidence.
Definition at line 145 of file TgcSlbData.cxx.
| bool Muon::TgcSlbData::isHighPt | ( | void | ) | const |
| bool Muon::TgcSlbData::isInner | ( | void | ) | const |
Check if the SLB type is inner LowPt.
Definition at line 165 of file TgcSlbData.cxx.
| bool Muon::TgcSlbData::isLowPt | ( | void | ) | const |
Check if the SLB type is LowPt.
Definition at line 150 of file TgcSlbData.cxx.
| bool Muon::TgcSlbData::isSL | ( | void | ) | const |
| void Muon::TgcSlbData::setBcId | ( | uint16_t | bcId | ) |
| void Muon::TgcSlbData::setBit | ( | const uint16_t | bcTag, |
| uint32_t | iBit | ||
| ) |
| void Muon::TgcSlbData::setBitmap | ( | const uint16_t | bcTag, |
| const uint32_t | cellAddr, | ||
| const uint32_t | cellData | ||
| ) |
| void Muon::TgcSlbData::setError | ( | uint16_t | error | ) |
| void Muon::TgcSlbData::setL1Id | ( | uint32_t | l1Id | ) |
| void Muon::TgcSlbData::setSbLoc | ( | uint16_t | sbLoc | ) |
| void Muon::TgcSlbData::setSlbId | ( | uint16_t | slbId | ) |
| void Muon::TgcSlbData::setSswId | ( | uint16_t | sswId | ) |
| void Muon::TgcSlbData::setType | ( | int | vType | ) |
|
private |
Definition at line 131 of file TgcSlbData.h.
|
private |
Bit array at central bunch.
Definition at line 139 of file TgcSlbData.h.
|
private |
Bit array at next bunch.
Definition at line 143 of file TgcSlbData.h.
|
private |
Bit array at previous bunch.
Definition at line 141 of file TgcSlbData.h.
|
private |
Definition at line 136 of file TgcSlbData.h.
|
private |
Definition at line 132 of file TgcSlbData.h.
|
private |
Definition at line 135 of file TgcSlbData.h.
|
private |
Definition at line 134 of file TgcSlbData.h.
|
private |
Definition at line 133 of file TgcSlbData.h.
|
private |
SLB type.
Definition at line 146 of file TgcSlbData.h.
1.8.18