ATLAS Offline Software
|
#include <vector>
#include <bitset>
#include <utility>
#include <string>
#include <sstream>
#include <iostream>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
L1Topo | |
Functions | |
std::ostream & | operator<< (std::ostream &, const L1TopoRDO &) |
This file contains some static helper functions to help users of L1TopoRDO. More... | |
uint32_t | L1Topo::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 | L1Topo::formatHex8 (uint32_t word) |
Helper function to format a 32-bit integer as an 8-digit hex number for printing. More... | |
std::string | L1Topo::formatHex4 (uint32_t word) |
Helper function to format a 32-bit integer as a 4-digit hex number for printing. More... | |
const std::string | L1Topo::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 | L1Topo::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 | L1Topo::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 | L1Topo::triggerBitIndexPhase1 (uint32_t topo, uint32_t fpga, size_t bitIdx) |
std::pair< std::bitset< 128 >, std::bitset< 128 > > | L1Topo::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... | |
This file contains some static helper functions to help users of L1TopoRDO.
Print helper function for L1TopoRDO
Definition at line 24 of file Trigger/TrigT1/L1Topo/L1TopoRDO/src/Helpers.cxx.