ATLAS Offline Software
|
Jet TOB data for L1Topo. More...
#include <JetTopoTOB.h>
Public Member Functions | |
JetTopoTOB () | |
JetTopoTOB (int crate, uint32_t tobWord) | |
JetTopoTOB (int crate, int jem, int frame, int localCoord, int etSmall, int etLarge) | |
JetTopoTOB (uint32_t roiWord) | |
~JetTopoTOB () | |
int | crate () const |
Return crate number (0-3) More... | |
int | jem () const |
Return JEM number (0-15) More... | |
int | frame () const |
Return JEM frame number (0-7) More... | |
unsigned int | localCoord () const |
Return local coordinate (RoI local coords) (0-) More... | |
unsigned int | etSmall () const |
Small cluster ET value. More... | |
unsigned int | etLarge () const |
Large cluster ET value. More... | |
int | etaIndex () const |
Extract eta index from the TOB data (0-31) More... | |
int | phiIndex () const |
Extract phi index from the TOB data (0-31) More... | |
int | ieta () const |
Extract eta coordinate from TOB data The index is an integer eta coordinate in multiples of 0.1 (TT eta granularity) More... | |
int | iphi () const |
Extract integer phi coordinate from TOB data. More... | |
int | iphiSigned () const |
Signed iphi (-30 -> 32) More... | |
float | eta () const |
float | phi () const |
uint32_t | tobWord () const |
Return packed TOB word. More... | |
uint32_t | roiWord () const |
Return corresponding RoI word (useful for Topo simulation) More... | |
Private Attributes | |
int | m_crate |
crate More... | |
uint32_t | m_tobWord |
RoI word. More... | |
Static Private Attributes | |
static const int | s_jemBit = 24 |
static const int | s_frameBit = 21 |
static const int | s_lcBit = 19 |
static const int | s_etSmallBit = 10 |
static const int | s_etLargeBit = 0 |
static const int | s_jemMask = 0xf |
static const int | s_frameMask = 0x7 |
static const int | s_lcMask = 0x3 |
static const int | s_etSmallMask = 0x1ff |
static const int | s_etLargeMask = 0x3ff |
static const int | s_framePhiWidth = 2 |
static const int | s_frameEtaWidth = 2 |
static const int | s_jemEtaWidth = 4 |
static const int | s_jemPhiWidth = 8 |
static const int | s_jemEtaOffset = 15 |
static const int | s_jemPhiOffset = 1 |
static const int | s_jemFJEta = 39 |
static const int | s_jemEC1Eta = 29 |
static const int | s_jemEC2Eta = 27 |
static const int | s_jemEC3Eta = 25 |
static const int | s_nJemPerQuadrant = 8 |
static const int | s_jetElementWidth = 2 |
Contains a Jet Processor TOB word and crate number. Plus functions to return individual data members
Definition at line 19 of file JetTopoTOB.h.
LVL1::JetTopoTOB::JetTopoTOB | ( | ) |
Definition at line 25 of file JetTopoTOB.cxx.
LVL1::JetTopoTOB::JetTopoTOB | ( | int | crate, |
uint32_t | tobWord | ||
) |
LVL1::JetTopoTOB::JetTopoTOB | ( | int | crate, |
int | jem, | ||
int | frame, | ||
int | localCoord, | ||
int | etSmall, | ||
int | etLarge | ||
) |
Definition at line 33 of file JetTopoTOB.cxx.
LVL1::JetTopoTOB::JetTopoTOB | ( | uint32_t | roiWord | ) |
LVL1::JetTopoTOB::~JetTopoTOB | ( | ) |
Definition at line 49 of file JetTopoTOB.cxx.
|
inline |
Return crate number (0-3)
Definition at line 99 of file JetTopoTOB.h.
float LVL1::JetTopoTOB::eta | ( | ) | const |
Definition at line 88 of file JetTopoTOB.cxx.
int LVL1::JetTopoTOB::etaIndex | ( | ) | const |
Extract eta index from the TOB data (0-31)
Definition at line 54 of file JetTopoTOB.cxx.
|
inline |
Large cluster ET value.
Definition at line 124 of file JetTopoTOB.h.
|
inline |
Small cluster ET value.
Definition at line 119 of file JetTopoTOB.h.
|
inline |
Return JEM frame number (0-7)
Definition at line 109 of file JetTopoTOB.h.
int LVL1::JetTopoTOB::ieta | ( | ) | const |
Extract eta coordinate from TOB data The index is an integer eta coordinate in multiples of 0.1 (TT eta granularity)
Definition at line 62 of file JetTopoTOB.cxx.
int LVL1::JetTopoTOB::iphi | ( | ) | const |
Extract integer phi coordinate from TOB data.
The coordinate has the range 0 -> 62 in steps of 2
Definition at line 127 of file JetTopoTOB.cxx.
int LVL1::JetTopoTOB::iphiSigned | ( | ) | const |
Signed iphi (-30 -> 32)
Definition at line 138 of file JetTopoTOB.cxx.
|
inline |
Return JEM number (0-15)
Definition at line 104 of file JetTopoTOB.h.
|
inline |
Return local coordinate (RoI local coords) (0-)
Definition at line 114 of file JetTopoTOB.h.
float LVL1::JetTopoTOB::phi | ( | ) | const |
Definition at line 149 of file JetTopoTOB.cxx.
int LVL1::JetTopoTOB::phiIndex | ( | ) | const |
uint32_t LVL1::JetTopoTOB::roiWord | ( | ) | const |
Return corresponding RoI word (useful for Topo simulation)
Definition at line 156 of file JetTopoTOB.cxx.
|
inline |
Return packed TOB word.
Definition at line 129 of file JetTopoTOB.h.
|
private |
crate
Definition at line 92 of file JetTopoTOB.h.
|
private |
RoI word.
Definition at line 95 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 70 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 76 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 69 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 75 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 67 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 79 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 73 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 78 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 66 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 85 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 86 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 87 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 82 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 80 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 84 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 72 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 83 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 81 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 89 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 68 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 74 of file JetTopoTOB.h.
|
staticprivate |
Definition at line 88 of file JetTopoTOB.h.