ATLAS Offline Software
|
JEM RoI data. More...
#include <JEMRoI.h>
Public Member Functions | |
JEMRoI () | |
JEMRoI (uint32_t roiWord) | |
JEMRoI (int crate, int jem, int frame, int location, int forward, int hits, int error) | |
~JEMRoI () | |
int | crate () const |
Return crate number (0-1) More... | |
int | jem () const |
Return JEM number (0-15) More... | |
int | frame () const |
Return RoI frame number (0-7) More... | |
int | location () const |
Return location (RoI local coords) (0-3) More... | |
int | forward () const |
Return forward jet flag (0/1) More... | |
int | hits () const |
Return Jet hit map (8 bits Main or 4 bits Forward) More... | |
int | error () const |
Return error flags (bit 0 Saturation, bit 1 Parity) More... | |
uint32_t | roiWord () const |
Return packed RoI word. More... | |
bool | setRoiWord (uint32_t roiWord) |
Set RoI word with ID check. More... | |
Private Member Functions | |
int | parity () const |
Return parity error flag (0/1) More... | |
int | saturation () const |
Return saturation flag (0/1) More... | |
Private Attributes | |
uint32_t | m_roiWord |
RoI word. More... | |
Static Private Attributes | |
static const unsigned int | s_wordIdVal = 0x4 |
RoI word ID. More... | |
static const int | s_wordIdBit = 29 |
static const int | s_crateBit = 28 |
static const int | s_jemBit = 24 |
static const int | s_frameBit = 21 |
static const int | s_locationBit = 19 |
static const int | s_forwardBit = 18 |
static const int | s_parityBit = 17 |
static const int | s_saturationBit = 16 |
static const int | s_forwardHitsBit = 8 |
static const int | s_mainHitsBit = 0 |
static const int | s_wordIdMask = 0x7 |
static const int | s_crateMask = 0x1 |
static const int | s_jemMask = 0xf |
static const int | s_frameMask = 0x7 |
static const int | s_locationMask = 0x3 |
static const int | s_forwardMask = 0x1 |
static const int | s_parityMask = 0x1 |
static const int | s_saturationMask = 0x1 |
static const int | s_forwardHitsMask = 0xf |
static const int | s_mainHitsMask = 0xff |
JEM RoI data.
Contains a Main Jet RoI word or a Forward Jet RoI word. Used in analysis of RoI readout.
Definition at line 19 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
LVL1::JEMRoI::JEMRoI | ( | ) |
Definition at line 35 of file JEMRoI.cxx.
LVL1::JEMRoI::JEMRoI | ( | uint32_t | roiWord | ) |
Definition at line 39 of file JEMRoI.cxx.
LVL1::JEMRoI::JEMRoI | ( | int | crate, |
int | jem, | ||
int | frame, | ||
int | location, | ||
int | forward, | ||
int | hits, | ||
int | error | ||
) |
Definition at line 43 of file JEMRoI.cxx.
LVL1::JEMRoI::~JEMRoI | ( | ) |
Definition at line 58 of file JEMRoI.cxx.
|
inline |
Return crate number (0-1)
Definition at line 87 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inline |
Return error flags (bit 0 Saturation, bit 1 Parity)
Definition at line 112 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inline |
Return forward jet flag (0/1)
Definition at line 107 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inline |
Return RoI frame number (0-7)
Definition at line 97 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
int LVL1::JEMRoI::hits | ( | ) | const |
|
inline |
Return JEM number (0-15)
Definition at line 92 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inline |
Return location (RoI local coords) (0-3)
Definition at line 102 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inlineprivate |
Return parity error flag (0/1)
Definition at line 122 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inline |
Return packed RoI word.
Definition at line 117 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
inlineprivate |
Return saturation flag (0/1)
Definition at line 127 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
bool LVL1::JEMRoI::setRoiWord | ( | uint32_t | roiWord | ) |
|
private |
RoI word.
Definition at line 83 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 56 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 60 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 63 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 74 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 58 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 57 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 59 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 64 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 75 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 61 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 72 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 62 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 73 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 55 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
Definition at line 66 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.
|
staticprivate |
RoI word ID.
Definition at line 53 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMRoI.h.