![]() |
ATLAS Offline Software
|
This is the trigger result for each item before prescale, after prescale and after veto. More...
#include <CTPResult_v1.h>
Classes | |
| struct | CTPBunchCrossing |
| This is the trigger result for each item before prescale, after prescale and after veto for a single bunch crossing. More... | |
Public Member Functions | |
| uint32_t | ctpVersionNumber () const |
| Get the CTP version number. | |
| void | setCtpVersionNumber (const uint32_t ctpNumber) |
| Set the CTP version number. | |
| uint32_t | headerMarker () const |
| Retrieve the header marker word. | |
| uint32_t | headerSize () const |
| Retrieve the number of words in the header. | |
| uint32_t | headerFormatVersion () const |
| Retrieve the format version of the header. | |
| uint32_t | sourceID () const |
| Retrieve the sub-detector source ID. | |
| uint32_t | runNumber () const |
| Retrieve the run number. | |
| uint32_t | L1ID () const |
| Retrieve the extended LVL1 ID. | |
| uint32_t | BCID () const |
| Retrieve the bunch crossing ID. | |
| uint32_t | triggerType () const |
| Retrieve the LVL1 trigger type. | |
| uint32_t | eventType () const |
| Retrieve the LVL1 event type. | |
| void | setHeaderMarker (const uint32_t word) |
| Set the header marker word. | |
| void | setHeaderSize (const uint32_t word) |
| Set the number of words in the header. | |
| void | setHeaderFormatVersion (const uint32_t word) |
| Set the format version of the header. | |
| void | setSourceID (const uint32_t word) |
| Set the sub-detector source ID. | |
| void | setRunNumber (const uint32_t word) |
| Set the run number. | |
| void | setL1ID (const uint32_t word) |
| Set the extended LVL1 ID. | |
| void | setBCID (const uint32_t word) |
| Set the bunch crossing ID. | |
| void | setTriggerType (const uint32_t word) |
| Set the LVL1 trigger type. | |
| void | setEventType (const uint32_t word) |
| Set the LVL1 event type. | |
| const CTPResult_v1::CTPBunchCrossing | getBC (const int bunch=-1) const |
| Get the CTPBunchCrossing object for a specific bunch in the readout window. | |
| const std::vector< uint32_t > | header () const |
| Get the header words. | |
| void | setHeader (const uint32_t marker, const uint32_t version, const uint32_t sourceid, const uint32_t l1id=0, const uint32_t runNum=0, const uint32_t bcid=0, const uint32_t trigType=0, const uint32_t evtType=0) |
| Set the header words. | |
| const std::vector< uint32_t > | trailer () const |
| Get the trailer words. | |
| void | setTrailer (const uint32_t numData, const uint32_t errStat=0, const uint32_t infoStat=0, const uint32_t numStat=2, const uint32_t statPos=1) |
| Set the trailer words. | |
| uint32_t | numberOfBunches () const |
| Get the number of bunch crossings. | |
| void | setNumberOfBunches (const uint32_t nBCs) |
| Set the number of bunch crossings. | |
| uint32_t | l1AcceptBunchPosition () const |
| Get the L1 accept bunch position. | |
| void | setL1AcceptBunchPosition (uint32_t pos) |
| Set the L1Accept bunch position. | |
| const std::vector< std::vector< uint32_t > > & | tipWords () const |
| Get the TIP words for all bunch crossings. | |
| void | setTIPWords (const std::vector< std::vector< uint32_t > > &words) |
| Set the TIP words for all bunch crossings. | |
| const std::vector< std::vector< uint32_t > > & | tbpWords () const |
| Get the TBP words for all bunch crossings. | |
| void | setTBPWords (const std::vector< std::vector< uint32_t > > &words) |
| Set the TBP words for all bunch crossings. | |
| const std::vector< std::vector< uint32_t > > & | tapWords () const |
| Get the TAP words for all bunch crossings. | |
| void | setTAPWords (const std::vector< std::vector< uint32_t > > &words) |
| Set the TAP words for all bunch crossings. | |
| const std::vector< std::vector< uint32_t > > & | tavWords () const |
| Get the TAV words for all bunch crossings. | |
| void | setTAVWords (const std::vector< std::vector< uint32_t > > &words) |
| Set the TAV words for all bunch crossings. | |
| uint32_t | timeSec () const |
| Get the time in seconds. | |
| void | setTimeSec (const uint32_t sec) |
| Set the time in seconds. | |
| uint32_t | timeNanoSec () const |
| Get the time in nanoseconds. | |
| void | setTimeNanoSec (const uint32_t nano) |
| Set the time in nanoseconds. | |
| uint32_t | numberOfAdditionalWords () const |
| Get the number of additional data words. | |
| void | setNumberOfAdditionalWords (const uint32_t nExtraWords) |
| Set the number of additional data words. | |
| const std::vector< uint32_t > & | additionalWords () const |
| Get the additional data words. | |
| void | setAdditionalWords (const std::vector< uint32_t > &words) |
| Set the additional data words. | |
| uint32_t | turnCounter () const |
| Get the turn counter. | |
| void | setTurnCounter (const uint32_t val) |
| Set the turn counter. | |
| std::vector< uint32_t > | getTIPWords (const int bunchPosition=-1) const |
| Get the TIP (Trigger Inputs to the CTP) words (in Run3 512 items). | |
| std::vector< uint32_t > | getTBPWords (const int bunchPosition=-1) const |
| Get the TBP (Trigger Before Prescale) words. | |
| std::vector< uint32_t > | getTAPWords (const int bunchPosition=-1) const |
| Get the TAP (Trigger After Prescale) words. | |
| std::vector< uint32_t > | getTAVWords (const int bunchPosition=-1) const |
| Get the TAV (Trigger After Veto) words. | |
| uint32_t | errorStatus () const |
| Retrieve the error status word. | |
| uint32_t | infoStatus () const |
| Retrieve the info status word. | |
| uint32_t | numStatusWords () const |
| Retrieve the number of status words in the trailer. | |
| uint32_t | numDataWords () const |
| Retrieve the number of data words. | |
| uint32_t | statusPosition () const |
| Retrieve the position of status information in the ROD. | |
| void | setErrorStatus (const uint32_t word) |
| Set the error status word. | |
| void | setInfoStatus (const uint32_t word) |
| Set the info status word. | |
| void | setNumStatusWords (const uint32_t word) |
| Set the number of status words in the trailer. | |
| void | setStatusPosition (const uint32_t word) |
| Set the position of status information in the ROD. | |
| void | setNumDataWords (const uint32_t num) |
| Set the number of data words. | |
This is the trigger result for each item before prescale, after prescale and after veto.
Utility functions for xAOD::CTPResult objects are defined in TrigT1Interfacts/CTPResultUtils.h that depend on tdaq-common code.
Definition at line 23 of file CTPResult_v1.h.
Get the additional data words.
| uint32_t xAOD::CTPResult_v1::BCID | ( | ) | const |
Retrieve the bunch crossing ID.
| uint32_t xAOD::CTPResult_v1::ctpVersionNumber | ( | ) | const |
Get the CTP version number.
| uint32_t xAOD::CTPResult_v1::errorStatus | ( | ) | const |
Retrieve the error status word.
| uint32_t xAOD::CTPResult_v1::eventType | ( | ) | const |
| const CTPResult_v1::CTPBunchCrossing xAOD::CTPResult_v1::getBC | ( | const int | bunch = -1 | ) | const |
Get the CTPBunchCrossing object for a specific bunch in the readout window.
Definition at line 94 of file CTPResult_v1.cxx.
Get the TAP (Trigger After Prescale) words.
Definition at line 143 of file CTPResult_v1.cxx.
Get the TAV (Trigger After Veto) words.
Definition at line 148 of file CTPResult_v1.cxx.
Get the TBP (Trigger Before Prescale) words.
Definition at line 138 of file CTPResult_v1.cxx.
Get the TIP (Trigger Inputs to the CTP) words (in Run3 512 items).
Definition at line 133 of file CTPResult_v1.cxx.
Get the header words.
Definition at line 153 of file CTPResult_v1.cxx.
| uint32_t xAOD::CTPResult_v1::headerFormatVersion | ( | ) | const |
Retrieve the format version of the header.
| uint32_t xAOD::CTPResult_v1::headerMarker | ( | ) | const |
Retrieve the header marker word.
| uint32_t xAOD::CTPResult_v1::headerSize | ( | ) | const |
Retrieve the number of words in the header.
| uint32_t xAOD::CTPResult_v1::infoStatus | ( | ) | const |
Retrieve the info status word.
| uint32_t xAOD::CTPResult_v1::l1AcceptBunchPosition | ( | ) | const |
Get the L1 accept bunch position.
| uint32_t xAOD::CTPResult_v1::numberOfAdditionalWords | ( | ) | const |
Get the number of additional data words.
| uint32_t xAOD::CTPResult_v1::numberOfBunches | ( | ) | const |
Get the number of bunch crossings.
| uint32_t xAOD::CTPResult_v1::numDataWords | ( | ) | const |
Retrieve the number of data words.
| uint32_t xAOD::CTPResult_v1::numStatusWords | ( | ) | const |
Retrieve the number of status words in the trailer.
| uint32_t xAOD::CTPResult_v1::runNumber | ( | ) | const |
Retrieve the run number.
Set the additional data words.
| words | Vector of additional data words. |
Set the bunch crossing ID.
| word | BCID to set. |
Set the CTP version number.
| ctpNumber | Version number to set. |
Set the error status word.
| word | Error status to set. |
| void xAOD::CTPResult_v1::setHeader | ( | const uint32_t | marker, |
| const uint32_t | version, | ||
| const uint32_t | sourceid, | ||
| const uint32_t | l1id = 0, | ||
| const uint32_t | runNum = 0, | ||
| const uint32_t | bcid = 0, | ||
| const uint32_t | trigType = 0, | ||
| const uint32_t | evtType = 0 ) |
Set the header words.
| marker | Header maker. |
| version | Header format version. |
| sourceid | Sub detector source ID. |
| runNum | Run number. |
| l1id | Extended LVL1 ID. |
| bcid | Bunch crossing ID. |
| trigType | LVL1 trigger type. |
| evtType | LVL1 event type. |
Definition at line 168 of file CTPResult_v1.cxx.
Set the format version of the header.
| word | Format version to set. |
Set the header marker word.
| word | Header marker to set. |
Set the number of words in the header.
| word | Header size in words. |
Set the info status word.
| word | Info status to set. |
| void xAOD::CTPResult_v1::setL1AcceptBunchPosition | ( | uint32_t | pos | ) |
Set the L1Accept bunch position.
| pos | Bunch position. |
Definition at line 126 of file CTPResult_v1.cxx.
Set the number of additional data words.
| nExtraWords | Number of extra words. |
Set the number of bunch crossings.
| nBCs | Number of bunch crossings. |
Definition at line 110 of file CTPResult_v1.cxx.
Set the number of data words.
| num | Number of data words to set. |
Set the number of status words in the trailer.
| word | Number of status words to set. |
Set the run number.
| word | Run number to set. |
Set the sub-detector source ID.
| word | Source ID to set. |
Set the TAP words for all bunch crossings.
| words | Vector of vectors for all TAP words for all bunches. |
Set the TAV words for all bunch crossings.
| words | Vector of vectors for all TAV words for all bunches. |
Set the TBP words for all bunch crossings.
| words | Vector of vectors for all TBP words for all bunches. |
Set the time in nanoseconds.
| nano | Time in nanoseconds. |
Set the time in seconds.
| sec | Time in seconds. |
Set the TIP words for all bunch crossings.
| words | Vector of vectors for all TIP words for all bunches. |
| void xAOD::CTPResult_v1::setTrailer | ( | const uint32_t | numData, |
| const uint32_t | errStat = 0, | ||
| const uint32_t | infoStat = 0, | ||
| const uint32_t | numStat = 2, | ||
| const uint32_t | statPos = 1 ) |
Set the trailer words.
| errStat | Error status. |
| infoStat | Info status. |
| numStat | Number of status words. |
| numData | Number of data words. |
| statPos | Position of status information in ROD (LVL1 assumes 1). |
Definition at line 192 of file CTPResult_v1.cxx.
Set the turn counter.
| val | Turn counter value. |
| uint32_t xAOD::CTPResult_v1::sourceID | ( | ) | const |
Retrieve the sub-detector source ID.
| uint32_t xAOD::CTPResult_v1::statusPosition | ( | ) | const |
Retrieve the position of status information in the ROD.
LVL1 assumes this value is 1.
Get the TAP words for all bunch crossings.
Get the TAV words for all bunch crossings.
Get the TBP words for all bunch crossings.
| uint32_t xAOD::CTPResult_v1::timeNanoSec | ( | ) | const |
Get the time in nanoseconds.
| uint32_t xAOD::CTPResult_v1::timeSec | ( | ) | const |
Get the time in seconds.
Get the TIP words for all bunch crossings.
Get the trailer words.
Definition at line 181 of file CTPResult_v1.cxx.
| uint32_t xAOD::CTPResult_v1::triggerType | ( | ) | const |
Retrieve the LVL1 trigger type.
| uint32_t xAOD::CTPResult_v1::turnCounter | ( | ) | const |
Get the turn counter.