ATLAS Offline Software
|
#include <JetCMXTopoData.h>
Public Member Functions | |
JetCMXTopoData (int crate, bool overflow, const std::vector< uint32_t > &tobWords) | |
Constructor with Crate number, overflow flag and vector of TOB words. More... | |
JetCMXTopoData (int crate, bool overflow, const std::vector< JetTopoTOB > &tobs) | |
Constructor with Crate number, overflow flag and TOB vector. More... | |
JetCMXTopoData (int crate, const std::vector< uint32_t > &roiWords) | |
For HLT: Constructor with Crate number and vector of RoI words. More... | |
JetCMXTopoData (int crate) | |
Constructor with Crate number only. More... | |
JetCMXTopoData () | |
Default constructor. More... | |
~JetCMXTopoData () | |
Destructor. More... | |
int | crate () const |
Return crate number (0-1) More... | |
bool | overflow () const |
Return overflow flag. More... | |
void | tobs (std::vector< JetTopoTOB > &tobs) const |
Return vector of TOBs. More... | |
const std::vector< uint32_t > & | tobWords () const |
Return vector of TOB words. More... | |
void | addTOB (const JetTopoTOB tob) |
Add TOB to record. More... | |
void | addTOB (uint32_t tobWord) |
Add another TOB word to the collection. More... | |
void | addRoI (uint32_t roiWord) |
Add TOB from RoI word. More... | |
void | setOverflow (bool overflow) |
Set overflow flag. More... | |
JetCMXTopoData & | checkJemOverflow () |
count whether any transmission JEM -> CMX had too many TOBs More... | |
Private Attributes | |
int | m_crate |
Data members. More... | |
bool | m_overflow |
overflow on CMX -> L1Topo transmission More... | |
bool | m_jem_overflow |
overflow on JEM -> CMX transmission More... | |
std::vector< uint32_t > | m_tobWords |
Static Private Attributes | |
static const unsigned int | s_maxTOBsPerLink = 32 |
Static constants. More... | |
static const unsigned int | s_maxTOBsPerJem = 4 |
as specified in BackplaneFormats_v3.xlsx More... | |
Definition at line 22 of file JetCMXTopoData.h.
LVL1::JetCMXTopoData::JetCMXTopoData | ( | int | crate, |
bool | overflow, | ||
const std::vector< uint32_t > & | tobWords | ||
) |
Constructor with Crate number, overflow flag and vector of TOB words.
Constructors.
Definition at line 16 of file JetCMXTopoData.cxx.
LVL1::JetCMXTopoData::JetCMXTopoData | ( | int | crate, |
bool | overflow, | ||
const std::vector< JetTopoTOB > & | tobs | ||
) |
Constructor with Crate number, overflow flag and TOB vector.
Definition at line 30 of file JetCMXTopoData.cxx.
LVL1::JetCMXTopoData::JetCMXTopoData | ( | int | crate, |
const std::vector< uint32_t > & | roiWords | ||
) |
For HLT: Constructor with Crate number and vector of RoI words.
Definition at line 44 of file JetCMXTopoData.cxx.
LVL1::JetCMXTopoData::JetCMXTopoData | ( | int | crate | ) |
LVL1::JetCMXTopoData::JetCMXTopoData | ( | ) |
Default constructor.
Definition at line 68 of file JetCMXTopoData.cxx.
LVL1::JetCMXTopoData::~JetCMXTopoData | ( | ) |
void LVL1::JetCMXTopoData::addRoI | ( | uint32_t | roiWord | ) |
Add TOB from RoI word.
Add another TOB word to the collection.
Note: overflows ignored in this method
Definition at line 96 of file JetCMXTopoData.cxx.
void LVL1::JetCMXTopoData::addTOB | ( | const JetTopoTOB | tob | ) |
Add TOB to record.
Add another TOB to the collection.
Definition at line 82 of file JetCMXTopoData.cxx.
void LVL1::JetCMXTopoData::addTOB | ( | uint32_t | tobWord | ) |
JetCMXTopoData & LVL1::JetCMXTopoData::checkJemOverflow | ( | ) |
count whether any transmission JEM -> CMX had too many TOBs
In which case toggle m_jem_overflow
Definition at line 137 of file JetCMXTopoData.cxx.
int LVL1::JetCMXTopoData::crate | ( | ) | const |
bool LVL1::JetCMXTopoData::overflow | ( | ) | const |
void LVL1::JetCMXTopoData::setOverflow | ( | bool | overflow | ) |
Set overflow flag.
Definition at line 103 of file JetCMXTopoData.cxx.
void LVL1::JetCMXTopoData::tobs | ( | std::vector< JetTopoTOB > & | tobs | ) | const |
const std::vector< uint32_t > & LVL1::JetCMXTopoData::tobWords | ( | ) | const |
Return vector of TOB words.
Definition at line 122 of file JetCMXTopoData.cxx.
|
private |
Data members.
Definition at line 64 of file JetCMXTopoData.h.
|
private |
overflow on JEM -> CMX transmission
Definition at line 66 of file JetCMXTopoData.h.
|
private |
overflow on CMX -> L1Topo transmission
Definition at line 65 of file JetCMXTopoData.h.
|
private |
Definition at line 67 of file JetCMXTopoData.h.
|
staticprivate |
as specified in BackplaneFormats_v3.xlsx
Definition at line 70 of file JetCMXTopoData.h.
|
staticprivate |
Static constants.
Definition at line 69 of file JetCMXTopoData.h.