![]() |
ATLAS Offline Software
|
#include <CTP_RDO.h>
Public Member Functions | |
| CTP_RDO ()=default | |
| Default constructor needed for pool converters. | |
| CTP_RDO (unsigned int ctpVersionNumber, const uint32_t nBCs=1, uint32_t nExtraWords=0) | |
| Constructor takes the number of BCs of the readout window as argument. | |
| CTP_RDO (unsigned int ctpVersionNumber, std::vector< uint32_t > &&data, uint32_t nExtraWords=0) | |
| Normal constructor taking the data words of one or several BCs as argument. | |
| ~CTP_RDO () | |
| empty default destructor | |
| const std::vector< uint32_t > & | getDataWords () const |
| void | setTimeSec (const uint32_t sec) |
| void | setTimeNanoSec (const uint32_t nano) |
| uint32_t | getTimeSec () const |
| uint32_t | getTimeNanoSec () const |
| uint32_t | getNumberOfBunches () const |
| uint32_t | getL1AcceptBunchPosition () const |
| uint32_t | getNumberOfAdditionalWords () const |
| uint32_t | getTimeSinceLastL1A () const |
| uint32_t | getTurnCounter () const |
| std::vector< uint32_t > | getTIPWords () const |
| std::vector< uint32_t > | getTBPWords () const |
| std::vector< uint32_t > | getTAPWords () const |
| std::vector< uint32_t > | getTAVWords () const |
| std::vector< uint32_t > | getEXTRAWords () const |
| const CTPdataformatVersion & | getCTPVersion () const |
| void | setCTPVersionNumber (unsigned int ctpVersion) |
| unsigned int | getCTPVersionNumber () const |
| void | setTIPWord (const unsigned int i, const uint32_t word) |
| void | setTBPWord (const unsigned int i, const uint32_t word) |
| void | setTAPWord (const unsigned int i, const uint32_t word) |
| void | setTAVWord (const unsigned int i, const uint32_t word) |
| void | selectBunch (const uint32_t iBC) |
| void | selectNextBunch () |
| void | setNumberOfBunches (const uint32_t nBCs) |
| void | setL1AcceptBunchPosition (const uint8_t) |
| void | setTurnCounter (const uint32_t) |
| void | setNumberOfAdditionalWords (const uint32_t nExtraWords) |
| const std::string | dump () const |
| dump raw object content to string | |
| const std::string | print (const bool longFormat=false) const |
| print object content in a human readable format to string | |
Static Public Attributes | |
| static constexpr unsigned int | SIZEOF_WORDS = 32 |
| number of bits in one data word (32) | |
Private Types | |
| enum | WordType { TIP , TBP , TAP , TAV , EXTRA } |
| typedef enum WordType | WordType |
Private Member Functions | |
| void | setWord (const unsigned int i, const uint32_t word) |
| std::vector< uint32_t > | getWords (WordType type) const |
Private Attributes | |
| unsigned int | m_ctpVersionNumber {0} |
| number of the CTP version to be used | |
| CTPdataformatVersion | m_ctpDataFormat {0} |
| CTP data format for a specified version. | |
| std::vector< uint32_t > | m_dataWords |
| raw data words | |
| uint8_t | m_l1AcceptPosition {0} |
| bunch position, from which the level1 accept was calculated | |
| uint32_t | m_turnCounter {0} |
| turn counter | |
| uint32_t | m_numberOfBunches {0} |
| number of bunches in raw data (transient) | |
| uint32_t | m_activeBunch {0} |
| active bunch, for book keepting (transient) | |
| uint32_t | m_numberOfAdditionalWords {0} |
| number of configurable extra words in the fragment | |
|
private |
|
private |
|
default |
Default constructor needed for pool converters.
| CTP_RDO::CTP_RDO | ( | unsigned int | ctpVersionNumber, |
| const uint32_t | nBCs = 1, | ||
| uint32_t | nExtraWords = 0 ) |
Constructor takes the number of BCs of the readout window as argument.
Definition at line 19 of file CTP_RDO.cxx.
| CTP_RDO::CTP_RDO | ( | unsigned int | ctpVersionNumber, |
| std::vector< uint32_t > && | data, | ||
| uint32_t | nExtraWords = 0 ) |
Normal constructor taking the data words of one or several BCs as argument.
Definition at line 30 of file CTP_RDO.cxx.
| CTP_RDO::~CTP_RDO | ( | ) |
| const std::string CTP_RDO::dump | ( | ) | const |
dump raw object content to string
Definition at line 293 of file CTP_RDO.cxx.
| const CTPdataformatVersion & CTP_RDO::getCTPVersion | ( | ) | const |
Definition at line 48 of file CTP_RDO.cxx.
|
inline |
| std::vector< uint32_t > CTP_RDO::getEXTRAWords | ( | ) | const |
Definition at line 221 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getL1AcceptBunchPosition | ( | ) | const |
Definition at line 94 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getNumberOfAdditionalWords | ( | ) | const |
Definition at line 113 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getNumberOfBunches | ( | ) | const |
Definition at line 89 of file CTP_RDO.cxx.
| std::vector< uint32_t > CTP_RDO::getTAPWords | ( | ) | const |
Definition at line 211 of file CTP_RDO.cxx.
| std::vector< uint32_t > CTP_RDO::getTAVWords | ( | ) | const |
Definition at line 216 of file CTP_RDO.cxx.
| std::vector< uint32_t > CTP_RDO::getTBPWords | ( | ) | const |
Definition at line 206 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getTimeNanoSec | ( | ) | const |
Definition at line 83 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getTimeSec | ( | ) | const |
Definition at line 77 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getTimeSinceLastL1A | ( | ) | const |
Definition at line 99 of file CTP_RDO.cxx.
| std::vector< uint32_t > CTP_RDO::getTIPWords | ( | ) | const |
Definition at line 201 of file CTP_RDO.cxx.
| uint32_t CTP_RDO::getTurnCounter | ( | ) | const |
Definition at line 106 of file CTP_RDO.cxx.
|
private |
Definition at line 238 of file CTP_RDO.cxx.
| const std::string CTP_RDO::print | ( | const bool | longFormat = false | ) | const |
print object content in a human readable format to string
Definition at line 302 of file CTP_RDO.cxx.
| void CTP_RDO::selectBunch | ( | const uint32_t | iBC | ) |
Definition at line 118 of file CTP_RDO.cxx.
| void CTP_RDO::selectNextBunch | ( | ) |
Definition at line 127 of file CTP_RDO.cxx.
| void CTP_RDO::setCTPVersionNumber | ( | unsigned int | ctpVersion | ) |
Definition at line 58 of file CTP_RDO.cxx.
| void CTP_RDO::setL1AcceptBunchPosition | ( | const uint8_t | pos | ) |
Definition at line 141 of file CTP_RDO.cxx.
| void CTP_RDO::setNumberOfAdditionalWords | ( | const uint32_t | nExtraWords | ) |
Definition at line 153 of file CTP_RDO.cxx.
| void CTP_RDO::setNumberOfBunches | ( | const uint32_t | nBCs | ) |
Definition at line 133 of file CTP_RDO.cxx.
| void CTP_RDO::setTAPWord | ( | const unsigned int | i, |
| const uint32_t | word ) |
Definition at line 181 of file CTP_RDO.cxx.
| void CTP_RDO::setTAVWord | ( | const unsigned int | i, |
| const uint32_t | word ) |
Definition at line 186 of file CTP_RDO.cxx.
| void CTP_RDO::setTBPWord | ( | const unsigned int | i, |
| const uint32_t | word ) |
Definition at line 176 of file CTP_RDO.cxx.
| void CTP_RDO::setTimeNanoSec | ( | const uint32_t | nano | ) |
Definition at line 69 of file CTP_RDO.cxx.
| void CTP_RDO::setTimeSec | ( | const uint32_t | sec | ) |
Definition at line 62 of file CTP_RDO.cxx.
| void CTP_RDO::setTIPWord | ( | const unsigned int | i, |
| const uint32_t | word ) |
Definition at line 171 of file CTP_RDO.cxx.
| void CTP_RDO::setTurnCounter | ( | const uint32_t | tc | ) |
Definition at line 148 of file CTP_RDO.cxx.
|
private |
Definition at line 226 of file CTP_RDO.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexpr |