ATLAS Offline Software
|
CPM RoI data. More...
#include <CPMRoI.h>
Public Member Functions | |
CPMRoI () | |
CPMRoI (uint32_t roiWord) | |
CPMRoI (int crate, int cpm, int chip, int location, int hits, int error) | |
~CPMRoI () | |
int | crate () const |
Return crate number (0-1) More... | |
int | cpm () const |
Return CPM number (1-14) More... | |
int | chip () const |
Return CP chip number (0-7) More... | |
int | location () const |
Return location (RoI local coords) (0-7) More... | |
int | hits () const |
Return hit thresholds map. 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 int | s_wordIdVal = 0x0 |
RoI word ID. More... | |
static const int | s_wordIdBit = 30 |
static const int | s_crateBit = 28 |
static const int | s_cpmBit = 24 |
static const int | s_chipBit = 21 |
static const int | s_locationBit = 18 |
static const int | s_parityBit = 17 |
static const int | s_saturationBit = 16 |
static const int | s_hitsBit = 0 |
static const int | s_wordIdMask = 0x3 |
static const int | s_crateMask = 0x3 |
static const int | s_cpmMask = 0xf |
static const int | s_chipMask = 0x7 |
static const int | s_locationMask = 0x7 |
static const int | s_parityMask = 0x1 |
static const int | s_saturationMask = 0x1 |
static const int | s_hitsMask = 0xffff |
CPM RoI data.
Contains a Cluster Processor Module RoI word. Used in analysis of RoI readout.
Definition at line 20 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
LVL1::CPMRoI::CPMRoI | ( | ) |
Definition at line 31 of file CPMRoI.cxx.
LVL1::CPMRoI::CPMRoI | ( | uint32_t | roiWord | ) |
Definition at line 35 of file CPMRoI.cxx.
LVL1::CPMRoI::CPMRoI | ( | int | crate, |
int | cpm, | ||
int | chip, | ||
int | location, | ||
int | hits, | ||
int | error | ||
) |
Definition at line 39 of file CPMRoI.cxx.
LVL1::CPMRoI::~CPMRoI | ( | ) |
Definition at line 51 of file CPMRoI.cxx.
|
inline |
Return CP chip number (0-7)
Definition at line 91 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return CPM number (1-14)
Definition at line 86 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return crate number (0-1)
Definition at line 81 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return error flags (bit 0 Saturation, bit 1 Parity)
Definition at line 106 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return hit thresholds map.
Definition at line 101 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return location (RoI local coords) (0-7)
Definition at line 96 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inlineprivate |
Return parity error flag (0/1)
Definition at line 116 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inline |
Return packed RoI word.
Definition at line 111 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
inlineprivate |
Return saturation flag (0/1)
Definition at line 121 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
bool LVL1::CPMRoI::setRoiWord | ( | uint32_t | roiWord | ) |
|
private |
RoI word.
Definition at line 77 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 56 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 65 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 55 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 64 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 54 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 63 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 60 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 57 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 66 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 58 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 59 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 53 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
Definition at line 62 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.
|
staticprivate |
RoI word ID.
Definition at line 51 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMRoI.h.