![]() |
ATLAS Offline Software
|
#include "xAODTrigger/CTPResult.h"
Go to the source code of this file.
Namespaces | |
CTPResultUtils | |
Utility functions for xAOD::CTPResult objects that rely on tdaq-common. | |
Enumerations | |
enum | CTPResultUtils::WordType { CTPResultUtils::WordType::TIP, CTPResultUtils::WordType::TBP, CTPResultUtils::WordType::TAP, CTPResultUtils::WordType::TAV, CTPResultUtils::WordType::Extra } |
Enum describing the different word types in the CTP result. More... | |
Functions | |
void | CTPResultUtils::initialize (xAOD::CTPResult &ctpRes, uint32_t ctpVersionNumber, const uint32_t nBCs=1, uint32_t nExtraWords=0) |
Initialize with a number of bunch crossings of the readout window. More... | |
void | CTPResultUtils::initialize (xAOD::CTPResult &ctpRes, uint32_t ctpVersionNumber, const std::vector< uint32_t > &data, uint32_t nExtraWords=0) |
Initialize with raw data words from one or more bunch crossings. More... | |
uint32_t | CTPResultUtils::getTimeSec (const xAOD::CTPResult &ctpRes) |
Get the time in seconds. More... | |
void | CTPResultUtils::setTimeSec (xAOD::CTPResult &ctpRes, const uint32_t sec) |
Set the time in seconds. More... | |
uint32_t | CTPResultUtils::getTimeNanoSec (const xAOD::CTPResult &ctpRes) |
Get the time in nanoseconds. More... | |
void | CTPResultUtils::setTimeNanoSec (xAOD::CTPResult &ctpRes, const uint32_t nano) |
Set the time in nanoseconds. More... | |
uint32_t | CTPResultUtils::getTimeSinceLastL1A (const xAOD::CTPResult &ctpRes) |
Get the time since the last 1 accept. More... | |
void | CTPResultUtils::setNumberOfBunches (xAOD::CTPResult &ctpRes, const uint32_t nBCs) |
Set the number of bunch crossings. More... | |
void | CTPResultUtils::setNumberOfAdditionalWords (xAOD::CTPResult &ctpRes, const uint32_t nExtraWords) |
Set the number of additional data words. More... | |
std::vector< uint32_t > | CTPResultUtils::getTIPWords (const xAOD::CTPResult &ctpRes) |
Get the TIP (Trigger Inputs to the CTP) words (in Run3 512 items) More... | |
std::vector< uint32_t > | CTPResultUtils::getTBPWords (const xAOD::CTPResult &ctpRes) |
Get the TBP (Trigger Before Prescale) words. More... | |
std::vector< uint32_t > | CTPResultUtils::getTAPWords (const xAOD::CTPResult &ctpRes) |
Get the TAP (Trigger After Prescale) words. More... | |
std::vector< uint32_t > | CTPResultUtils::getTAVWords (const xAOD::CTPResult &ctpRes) |
Get the TAV (Trigger After Veto) words. More... | |
std::vector< uint32_t > | CTPResultUtils::getExtraWords (const xAOD::CTPResult &ctpRes) |
Get additional words. More... | |
std::vector< uint32_t > | CTPResultUtils::getWords (const xAOD::CTPResult &ctpRes, CTPResultUtils::WordType type) |
Helper to retrieve specific words. More... | |