ATLAS Offline Software
|
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word. More...
#include <CPRoIDecoder.h>
Public Member Functions | |
CPRoIDecoder () | |
virtual | ~CPRoIDecoder () |
TrigT1CaloDefs::RoIType | roiType (unsigned int word) const |
CP-RoI specific, but can distinguish Run 1/Run 2. More... | |
virtual CoordinateRange | coordinate (const unsigned int roiWord) const override |
RoI coordinate information. More... | |
unsigned int | crate (const unsigned int roiWord) const |
Decode crate number from RoI word. More... | |
unsigned int | module (const unsigned int roiWord) const |
Decode module number from RoI word. More... | |
unsigned int | chip (const unsigned int roiWord) const |
Decode CP chip number from RoI word. More... | |
unsigned int | localcoord (const unsigned int roiWord) const |
Decode local coordinate from RoI word. More... | |
const std::vector< unsigned int > | thresholdsPassed (const unsigned int word) const |
Thresholds passed (Run 1 RoIs) More... | |
unsigned int | et (const unsigned int roiWord) const |
ET and Isolation information (Run 2 RoIs) More... | |
unsigned int | isolationWord (const unsigned int roiWord) const |
Extract isolation results from Run 2 RoI word. More... | |
Protected Member Functions | |
unsigned int | extractBits (unsigned int word, const unsigned int start, const unsigned int length) const |
returns the value of bits in word between bit "start" and bit "start" + "length" More... | |
Protected Attributes | |
bool | m_DEBUG |
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
Definition at line 37 of file CPRoIDecoder.h.
LVL1::CPRoIDecoder::CPRoIDecoder | ( | ) |
Definition at line 21 of file CPRoIDecoder.cxx.
|
virtual |
Definition at line 25 of file CPRoIDecoder.cxx.
unsigned int LVL1::CPRoIDecoder::chip | ( | const unsigned int | roiWord | ) | const |
|
overridevirtual |
RoI coordinate information.
Return coordinate information for RoI.
Implements LVL1::RoIDecoder.
Definition at line 50 of file CPRoIDecoder.cxx.
unsigned int LVL1::CPRoIDecoder::crate | ( | const unsigned int | roiWord | ) | const |
unsigned int LVL1::CPRoIDecoder::et | ( | const unsigned int | roiWord | ) | const |
ET and Isolation information (Run 2 RoIs)
Extract cluster ET from Run 2 RoI word.
Definition at line 132 of file CPRoIDecoder.cxx.
|
protectedinherited |
returns the value of bits in word between bit "start" and bit "start" + "length"
Definition at line 34 of file RoIDecoder.cxx.
unsigned int LVL1::CPRoIDecoder::isolationWord | ( | const unsigned int | roiWord | ) | const |
unsigned int LVL1::CPRoIDecoder::localcoord | ( | const unsigned int | roiWord | ) | const |
unsigned int LVL1::CPRoIDecoder::module | ( | const unsigned int | roiWord | ) | const |
LVL1::TrigT1CaloDefs::RoIType LVL1::CPRoIDecoder::roiType | ( | unsigned int | word | ) | const |
CP-RoI specific, but can distinguish Run 1/Run 2.
Override base method - allows us to handle both Run 1 & Run 2 data for CP system.
Definition at line 31 of file CPRoIDecoder.cxx.
const std::vector< unsigned int > LVL1::CPRoIDecoder::thresholdsPassed | ( | const unsigned int | word | ) | const |
Thresholds passed (Run 1 RoIs)
Override default version by adding a check on Run 1/Run 2.
Definition at line 153 of file CPRoIDecoder.cxx.
|
protectedinherited |
Definition at line 63 of file RoIDecoder.h.