ATLAS Offline Software
|
Classes | |
class | Fibre |
Represents the L1Topo fibre word of the L1Topo DAQ header, with decoder and encoder. More... | |
class | Header |
Represents the L1Topo header word of the L1Topo DAQ data, with decoder and encoder. More... | |
class | L1TopoFPGA |
class | L1TopoResult |
class | L1TopoROD |
class | L1TopoTOB |
Represents the L1Topo TOB word of the L1Topo ROI data, with decode and encoder. More... | |
class | ModuleID |
Represents the L1Topo module ID, with decoder and encoder. More... | |
class | Status |
Represents the L1Topo status word of the L1Topo DAQ header, with decoder and encoder. More... | |
Enumerations | |
enum | BlockTypes { BlockTypes::HEADER =0xc, BlockTypes::FIBRE =0xd, BlockTypes::STATUS =0xe, BlockTypes::EM_TOB =0x0, BlockTypes::TAU_TOB =0x1, BlockTypes::MUON_TOB =0x2, BlockTypes::JET1_TOB =0x4, BlockTypes::JET2_TOB =0x5, BlockTypes::ENERGY_TOB =0x6, BlockTypes::L1TOPO_TOB =0x8 } |
L1Topo data block types and their 4-bit codes. More... | |
enum | Error { Error::ROB_ERROR =0, Error::ROD_ERROR, Error::SLINK_STATUS_ERROR } |
The different types of error that can be flagged in the L1TopoRDO. More... | |
Functions | |
L1Topo::BlockTypes | blockType (const uint32_t word, uint32_t offset=28, uint32_t size=0x0f) |
Function to return the block type of a data word from L1Topo More... | |
std::string | blockTypeString (L1Topo::BlockTypes type) |
std::ostream & | operator<< (std::ostream &, const Error) |
Helper to print errors as text rather than numbers. More... | |
std::ostream & | operator<< (std::ostream &, const std::vector< Error > &) |
Helper to print vectors of errors. More... | |
std::ostream & | operator<< (std::ostream &, const Fibre &) |
Helper for printing. More... | |
int | signedBCN (const uint32_t sign, uint32_t offset) |
helper function to return a relative bunch crossing as a signed integer, given the sign bit and offset that are encoded in the header More... | |
std::pair< uint32_t, uint32_t > | signAndOffsetBCN (const int bcn) |
reverse helper function to return the sign and offset bits given a relative bunch crossing number More... | |
std::ostream & | operator<< (std::ostream &, const Header &) |
Helper for printing. More... | |
uint32_t | decode (const uint32_t &word, const uint32_t &offset, const uint32_t &size) |
Helper function to decode word based on offset and size. More... | |
std::string | formatHex8 (uint32_t word) |
Helper function to format a 32-bit integer as an 8-digit hex number for printing. More... | |
std::string | formatHex4 (uint32_t word) |
Helper function to format a 32-bit integer as a 4-digit hex number for printing. More... | |
const std::string | formatVecHex8 (const std::vector< uint32_t > &vec) |
Helper function to format a vector of 32-bit integers as 8-digit hex numbers for printing. More... | |
unsigned int | triggerBitIndex (uint32_t moduleId, const L1Topo::L1TopoTOB &) |
OUT OF DATE DO NOT USE Helper to calculate the index needed to pack trigger bits into the full 128-bit decision. See 4-bit part of L1Topo TOB definition in https://twiki.cern.ch/twiki/pub/Atlas/L1CaloUpgrade/ROD_data_format_v1.0.4.xlsx. More... | |
unsigned int | triggerBitIndexNew (uint32_t moduleId, const L1Topo::L1TopoTOB &, unsigned int bitIdx) |
Helper to calculate the index needed to pack trigger bits into the full 128-bit decision. See 4-bit part of L1Topo TOB definition in https://twiki.cern.ch/twiki/pub/Atlas/L1CaloUpgrade/ROD_data_format_v1.0.4.xlsx ; same as TriggerLine::calcCounter()? More... | |
unsigned int | triggerBitIndexPhase1 (uint32_t topo, uint32_t fpga, size_t bitIdx) |
std::pair< std::bitset< 128 >, std::bitset< 128 > > | getDecisionAndOverflowBits (const L1TopoRDOCollection &) |
Get the trigger decision and overflow bits from the L1Topo ROI data block 'L1Topo TOB' and order them correctly in a bitset. Reference needed for layout. More... | |
std::ostream & | operator<< (std::ostream &, const L1TopoFPGA &) |
std::ostream & | operator<< (std::ostream &, const L1TopoROD &) |
std::ostream & | operator<< (std::ostream &, const L1TopoTOB &) |
Helper for printing. More... | |
bool | operator== (const L1TopoTOB &, const L1TopoTOB &) |
Comparison operators, based on word. More... | |
bool | operator!= (const L1TopoTOB &, const L1TopoTOB &) |
Comparison operators, based on word. More... | |
bool | operator< (const L1TopoTOB &, const L1TopoTOB &) |
Comparison operators, based on word. More... | |
bool | operator> (const L1TopoTOB &, const L1TopoTOB &) |
Comparison operators, based on word. More... | |
std::ostream & | operator<< (std::ostream &os, const ModuleID &) |
print helpers More... | |
std::ostream & | operator<< (std::ostream &, const Status &) |
|
strong |
L1Topo data block types and their 4-bit codes.
Enumerator | |
---|---|
HEADER | |
FIBRE | |
STATUS | |
EM_TOB | |
TAU_TOB | |
MUON_TOB | |
JET1_TOB | |
JET2_TOB | |
ENERGY_TOB | |
L1TOPO_TOB |
Definition at line 14 of file BlockTypes.h.
|
strong |
L1Topo::BlockTypes L1Topo::blockType | ( | const uint32_t | word, |
uint32_t | offset = 28 , |
||
uint32_t | size = 0x0f |
||
) |
Function to return the block type of a data word from L1Topo
Definition at line 9 of file BlockTypes.cxx.
std::string L1Topo::blockTypeString | ( | L1Topo::BlockTypes | type | ) |
Definition at line 14 of file BlockTypes.cxx.
Helper function to decode word based on offset and size.
Definition at line 107 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
std::string L1Topo::formatHex4 | ( | uint32_t | word | ) |
Helper function to format a 32-bit integer as a 4-digit hex number for printing.
Definition at line 117 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
std::string L1Topo::formatHex8 | ( | uint32_t | word | ) |
Helper function to format a 32-bit integer as an 8-digit hex number for printing.
Definition at line 111 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
Helper function to format a vector of 32-bit integers as 8-digit hex numbers for printing.
Definition at line 124 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
std::pair< std::bitset< 128 >, std::bitset< 128 > > L1Topo::getDecisionAndOverflowBits | ( | const L1TopoRDOCollection & | col | ) |
Get the trigger decision and overflow bits from the L1Topo ROI data block 'L1Topo TOB' and order them correctly in a bitset. Reference needed for layout.
Definition at line 169 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
bool L1Topo::operator!= | ( | const L1TopoTOB & | lhs, |
const L1TopoTOB & | rhs | ||
) |
Comparison operators, based on word.
Definition at line 30 of file L1TopoTOB.cxx.
Comparison operators, based on word.
Definition at line 33 of file L1TopoTOB.cxx.
std::ostream & L1Topo::operator<< | ( | std::ostream & | os, |
const L1TopoFPGA & | s | ||
) |
Definition at line 88 of file L1TopoFPGA.cxx.
Definition at line 93 of file L1TopoROD.cxx.
print helpers
Definition at line 57 of file ModuleID.cxx.
Comparison operators, based on word.
Definition at line 27 of file L1TopoTOB.cxx.
Comparison operators, based on word.
Definition at line 36 of file L1TopoTOB.cxx.
std::pair< uint32_t, uint32_t > L1Topo::signAndOffsetBCN | ( | const int | bcn | ) |
reverse helper function to return the sign and offset bits given a relative bunch crossing number
Definition at line 83 of file L1Topo/L1TopoRDO/src/Header.cxx.
int L1Topo::signedBCN | ( | const uint32_t | sign, |
uint32_t | offset | ||
) |
helper function to return a relative bunch crossing as a signed integer, given the sign bit and offset that are encoded in the header
Definition at line 79 of file L1Topo/L1TopoRDO/src/Header.cxx.
unsigned int L1Topo::triggerBitIndex | ( | uint32_t | moduleId, |
const L1Topo::L1TopoTOB & | c | ||
) |
OUT OF DATE DO NOT USE Helper to calculate the index needed to pack trigger bits into the full 128-bit decision. See 4-bit part of L1Topo TOB definition in https://twiki.cern.ch/twiki/pub/Atlas/L1CaloUpgrade/ROD_data_format_v1.0.4.xlsx.
Definition at line 137 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
unsigned int L1Topo::triggerBitIndexNew | ( | uint32_t | moduleId, |
const L1Topo::L1TopoTOB & | c, | ||
unsigned int | bitIdx | ||
) |
Helper to calculate the index needed to pack trigger bits into the full 128-bit decision. See 4-bit part of L1Topo TOB definition in https://twiki.cern.ch/twiki/pub/Atlas/L1CaloUpgrade/ROD_data_format_v1.0.4.xlsx ; same as TriggerLine::calcCounter()?
Definition at line 144 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.
unsigned int L1Topo::triggerBitIndexPhase1 | ( | uint32_t | topo, |
uint32_t | fpga, | ||
size_t | bitIdx | ||
) |