![]() |
Project
|
#include <ROBoardResponse.h>
Public Member Functions | |
ROBoardResponse ()=default | |
Default constructor. | |
ROBoardResponse (const std::vector< ROBoardConfig > &configurations) | |
Constructor from list of local board configuration. | |
~ROBoardResponse ()=default | |
Default destructor. | |
void | set (const std::vector< ROBoardConfig > &configurations) |
bool | isZeroSuppressed (const ROBoard &loc) const |
Returns true if the local board has no fired digits after zero suppression. | |
bool | applyZeroSuppression (std::vector< ROBoard > &locs) const |
std::vector< ROBoard > | getRegionalResponse (const std::vector< ROBoard > &locs) const |
std::vector< ROBoard > | getTriggerResponse (uint8_t triggerWord) const |
Definition at line 27 of file ROBoardResponse.h.
|
default |
Default constructor.
o2::mid::ROBoardResponse::ROBoardResponse | ( | const std::vector< ROBoardConfig > & | configurations | ) |
Constructor from list of local board configuration.
Definition at line 27 of file ROBoardResponse.cxx.
|
default |
Default destructor.
bool o2::mid::ROBoardResponse::applyZeroSuppression | ( | std::vector< ROBoard > & | locs | ) | const |
Applies zero suppression
locs | Vector of local boards to be checked: zero suppressed boards are removed |
Definition at line 45 of file ROBoardResponse.cxx.
std::vector< ROBoard > o2::mid::ROBoardResponse::getRegionalResponse | ( | const std::vector< ROBoard > & | locs | ) | const |
Returns the regional response
locs | Local board of one GBT link |
Definition at line 110 of file ROBoardResponse.cxx.
std::vector< ROBoard > o2::mid::ROBoardResponse::getTriggerResponse | ( | uint8_t | triggerWord | ) | const |
Returns the trigger response
triggerWord | Trigger word |
Write masks
Definition at line 59 of file ROBoardResponse.cxx.
bool o2::mid::ROBoardResponse::isZeroSuppressed | ( | const ROBoard & | loc | ) | const |
Returns true if the local board has no fired digits after zero suppression.
Definition at line 31 of file ROBoardResponse.cxx.
|
inline |
Sets from configuration
configurations | Vector of local board configurations |
Definition at line 39 of file ROBoardResponse.h.