Project
Loading...
Searching...
No Matches
o2::mid::ROBoardResponse Class Reference

#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< ROBoardgetRegionalResponse (const std::vector< ROBoard > &locs) const
 
std::vector< ROBoardgetTriggerResponse (uint8_t triggerWord) const
 

Detailed Description

Definition at line 27 of file ROBoardResponse.h.

Constructor & Destructor Documentation

◆ ROBoardResponse() [1/2]

o2::mid::ROBoardResponse::ROBoardResponse ( )
default

Default constructor.

◆ ROBoardResponse() [2/2]

o2::mid::ROBoardResponse::ROBoardResponse ( const std::vector< ROBoardConfig > &  configurations)

Constructor from list of local board configuration.

Definition at line 27 of file ROBoardResponse.cxx.

◆ ~ROBoardResponse()

o2::mid::ROBoardResponse::~ROBoardResponse ( )
default

Default destructor.

Member Function Documentation

◆ applyZeroSuppression()

bool o2::mid::ROBoardResponse::applyZeroSuppression ( std::vector< ROBoard > &  locs) const

Applies zero suppression

Parameters
locsVector of local boards to be checked: zero suppressed boards are removed
Returns
True if some board was removed

Definition at line 45 of file ROBoardResponse.cxx.

◆ getRegionalResponse()

std::vector< ROBoard > o2::mid::ROBoardResponse::getRegionalResponse ( const std::vector< ROBoard > &  locs) const

Returns the regional response

Parameters
locsLocal board of one GBT link
Returns
Vector with regional response

Definition at line 110 of file ROBoardResponse.cxx.

◆ getTriggerResponse()

std::vector< ROBoard > o2::mid::ROBoardResponse::getTriggerResponse ( uint8_t  triggerWord) const

Returns the trigger response

Parameters
triggerWordTrigger word
Returns
List of trigger boards

Write masks

Definition at line 59 of file ROBoardResponse.cxx.

◆ isZeroSuppressed()

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.

◆ set()

void o2::mid::ROBoardResponse::set ( const std::vector< ROBoardConfig > &  configurations)
inline

Sets from configuration

Parameters
configurationsVector of local board configurations

Definition at line 39 of file ROBoardResponse.h.


The documentation for this class was generated from the following files: