![]() |
ATLAS Offline Software
|
Header models the LVL1 ROD Header. More...
#include <Header.h>
Public Member Functions | |
| Header () | |
| default constructor: empty object More... | |
| Header (std::vector< uint32_t > &&v) | |
| constructor which fully specifies the initialiser values More... | |
| Header (Header &&) noexcept=default | |
| Header (const Header &)=default | |
| Header & | operator= (Header &&) noexcept=default |
| Header & | operator= (const Header &)=default |
| Header (const uint32_t, const uint32_t, const uint32_t) | |
| constructor specifying subdet ID, event ID and version More... | |
| Header (const uint32_t, const uint32_t) | |
| constructor specifying subdet ID, event ID More... | |
| Header (const uint32_t) | |
| constructor specifying subdet ID only More... | |
| ~Header ()=default | |
| empty default desctructor More... | |
| const std::vector< uint32_t > & | header () const |
| get full header More... | |
| int | size () const |
| get header(data) size More... | |
| uint32_t | headerMarker () const |
| get header marker word More... | |
| uint32_t | headerSize () const |
| get number of words in header More... | |
| uint32_t | formatVersion () const |
| get version of header format More... | |
| uint32_t | sourceID () const |
| get sub detector source ID More... | |
| uint32_t | runNumber () const |
| get run number More... | |
| uint32_t | L1ID () const |
| get extended LVL1 ID More... | |
| uint32_t | BCID () const |
| get bunch crossing ID More... | |
| uint32_t | triggerType () const |
| get LVL1 trigger type More... | |
| uint32_t | eventType () const |
| get LVL1 event type More... | |
| void | setRunNumber (const uint32_t) |
| set run number More... | |
| void | setL1ID (const uint32_t) |
| set extended LVL1 ID More... | |
| void | setBCID (const uint32_t i) |
| set bunch crossing ID More... | |
| void | setTriggerType (const uint32_t i) |
| set LVL1 trigger type More... | |
| void | setEventType (const uint32_t i) |
| set LVL1 event type More... | |
| const std::string | dump () const |
| dump raw object content to string More... | |
| const std::string | print (const bool longFormat=false) const |
| print object content in a human readable format to string More... | |
| void | dumpData () const |
| print object content to default message stream More... | |
| void | dumpData (MsgStream &) const |
| print object content to given message stream More... | |
Static Public Attributes | |
| static constexpr unsigned int | wordsPerHeader = 8 |
| a ROD header as used in the LVL1 has 8 words, not counting the one hardware word in the beginning More... | |
Private Attributes | |
| std::vector< uint32_t > | m_header |
| vector of unsigned ints - the only data member More... | |
Header models the LVL1 ROD Header.
Header is a class equivalent to the ROD header from the eformat lib, just much simpler and adapted to the LVL1 needs.
Definition at line 37 of file TrigT1Result/TrigT1Result/Header.h.
|
inline |
|
inline |
constructor which fully specifies the initialiser values
Definition at line 50 of file TrigT1Result/TrigT1Result/Header.h.
|
defaultnoexcept |
constructor specifying subdet ID, event ID and version
Definition at line 26 of file TrigT1Result/src/Header.cxx.
constructor specifying subdet ID, event ID
Definition at line 40 of file TrigT1Result/src/Header.cxx.
| ROIB::Header::Header | ( | const uint32_t | i | ) |
constructor specifying subdet ID only
Constructor specifying subdet ID only.
Definition at line 55 of file TrigT1Result/src/Header.cxx.
|
default |
empty default desctructor
| uint32_t ROIB::Header::BCID | ( | ) | const |
get bunch crossing ID
| const std::string ROIB::Header::dump | ( | ) | const |
| void ROIB::Header::dumpData | ( | ) | const |
| void ROIB::Header::dumpData | ( | MsgStream & | log | ) | const |
print object content to given message stream
Definition at line 113 of file TrigT1Result/src/Header.cxx.
| uint32_t ROIB::Header::eventType | ( | ) | const |
get LVL1 event type
| uint32_t ROIB::Header::formatVersion | ( | ) | const |
get version of header format
| const std::vector<uint32_t>& ROIB::Header::header | ( | ) | const |
get full header
| uint32_t ROIB::Header::headerMarker | ( | ) | const |
get header marker word
| uint32_t ROIB::Header::headerSize | ( | ) | const |
get number of words in header
| uint32_t ROIB::Header::L1ID | ( | ) | const |
get extended LVL1 ID
print object content in a human readable format to string
Definition at line 80 of file TrigT1Result/src/Header.cxx.
| uint32_t ROIB::Header::runNumber | ( | ) | const |
get run number
| void ROIB::Header::setBCID | ( | const uint32_t | i | ) |
set bunch crossing ID
| void ROIB::Header::setRunNumber | ( | const uint32_t | ) |
set run number
| int ROIB::Header::size | ( | ) | const |
get header(data) size
| uint32_t ROIB::Header::sourceID | ( | ) | const |
get sub detector source ID
| uint32_t ROIB::Header::triggerType | ( | ) | const |
get LVL1 trigger type
|
private |
vector of unsigned ints - the only data member
Definition at line 120 of file TrigT1Result/TrigT1Result/Header.h.
|
staticconstexpr |
a ROD header as used in the LVL1 has 8 words, not counting the one hardware word in the beginning
number of words in header (Ref: ATL-DA-ES-0029)
Definition at line 43 of file TrigT1Result/TrigT1Result/Header.h.
1.8.18