ATLAS Offline Software
|
This class defines the Ex/Ey/ET data transferred from the EnergySum CMX to the L1Topo processors. More...
#include <EnergyTopoData.h>
Public Types | |
enum | SumTypes { Normal = 0, Restricted = 1 } |
Public Member Functions | |
EnergyTopoData (unsigned int word0, unsigned int word1, unsigned int word2) | |
constructor More... | |
EnergyTopoData () | |
~EnergyTopoData () | |
destructor More... | |
void | addEx (unsigned int Ex, unsigned int overflow, int type) |
add data. More... | |
void | addEy (unsigned int Ey, unsigned int overflow, int type) |
void | addEt (unsigned int Et, unsigned int overflow, int type) |
void | addRoI (uint32_t roiWord) |
add data using RoI word More... | |
void | addRoIs (const std::vector< uint32_t > &roiWords) |
unsigned int | word0 () const |
return word 0 More... | |
unsigned int | word1 () const |
return word 1 More... | |
unsigned int | word2 () const |
return word 2 More... | |
int | Ex (SumTypes type=LVL1::EnergyTopoData::Normal) const |
return Ex, Ey, ET values More... | |
int | Ey (SumTypes type=LVL1::EnergyTopoData::Normal) const |
Ey (signed) More... | |
int | Et (SumTypes type=LVL1::EnergyTopoData::Normal) const |
ET Sum. More... | |
int | ExTC (SumTypes type=LVL1::EnergyTopoData::Normal) const |
return twos-complement Ex, Ey values More... | |
int | EyTC (SumTypes type=LVL1::EnergyTopoData::Normal) const |
Ey (twos complement) More... | |
unsigned int | ExOverflow (SumTypes type=LVL1::EnergyTopoData::Normal) const |
return overflow flags More... | |
unsigned int | EyOverflow (SumTypes type=LVL1::EnergyTopoData::Normal) const |
unsigned int | EtOverflow (SumTypes type=LVL1::EnergyTopoData::Normal) const |
Private Member Functions | |
int | decodeTC (unsigned int word) const |
Decode 15-bit twos-complement values. More... | |
Private Attributes | |
unsigned int | m_word0 |
unsigned int | m_word1 |
unsigned int | m_word2 |
This class defines the Ex/Ey/ET data transferred from the EnergySum CMX to the L1Topo processors.
Definition at line 31 of file EnergyTopoData.h.
Enumerator | |
---|---|
Normal | |
Restricted |
Definition at line 39 of file EnergyTopoData.h.
LVL1::EnergyTopoData::EnergyTopoData | ( | unsigned int | word0, |
unsigned int | word1, | ||
unsigned int | word2 | ||
) |
LVL1::EnergyTopoData::EnergyTopoData | ( | ) |
Definition at line 10 of file EnergyTopoData.cxx.
|
inline |
void LVL1::EnergyTopoData::addEt | ( | unsigned int | Et, |
unsigned int | overflow, | ||
int | type | ||
) |
Definition at line 42 of file EnergyTopoData.cxx.
void LVL1::EnergyTopoData::addEx | ( | unsigned int | Ex, |
unsigned int | overflow, | ||
int | type | ||
) |
add data.
Adding to or modifying data.
Ex/Ey values should be in 15 bit twos-complement format
Definition at line 24 of file EnergyTopoData.cxx.
void LVL1::EnergyTopoData::addEy | ( | unsigned int | Ey, |
unsigned int | overflow, | ||
int | type | ||
) |
Definition at line 33 of file EnergyTopoData.cxx.
void LVL1::EnergyTopoData::addRoI | ( | uint32_t | roiWord | ) |
void LVL1::EnergyTopoData::addRoIs | ( | const std::vector< uint32_t > & | roiWords | ) |
|
private |
Decode 15-bit twos-complement values.
Should be redundant
Definition at line 152 of file EnergyTopoData.cxx.
int LVL1::EnergyTopoData::Et | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
unsigned int LVL1::EnergyTopoData::EtOverflow | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
Definition at line 144 of file EnergyTopoData.cxx.
int LVL1::EnergyTopoData::Ex | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
return Ex, Ey, ET values
Data access methods.
Ex (signed)
Definition at line 79 of file EnergyTopoData.cxx.
unsigned int LVL1::EnergyTopoData::ExOverflow | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
int LVL1::EnergyTopoData::ExTC | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
return twos-complement Ex, Ey values
Ex (twos complement)
Definition at line 109 of file EnergyTopoData.cxx.
int LVL1::EnergyTopoData::Ey | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
Ey (signed)
Definition at line 89 of file EnergyTopoData.cxx.
unsigned int LVL1::EnergyTopoData::EyOverflow | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
Definition at line 137 of file EnergyTopoData.cxx.
int LVL1::EnergyTopoData::EyTC | ( | SumTypes | type = LVL1::EnergyTopoData::Normal | ) | const |
|
inline |
return word 0
Definition at line 59 of file EnergyTopoData.h.
|
inline |
return word 1
Definition at line 61 of file EnergyTopoData.h.
|
inline |
return word 2
Definition at line 63 of file EnergyTopoData.h.
|
private |
Definition at line 78 of file EnergyTopoData.h.
|
private |
Definition at line 79 of file EnergyTopoData.h.
|
private |
Definition at line 80 of file EnergyTopoData.h.