#include <TriggerBoardSpec.h>
Public Member Functions | |
void | add (const LinkConnSpec &lc) |
attach connection to TB More... | |
int | dccInputChannelNum () const |
input channel number to DCC More... | |
std::vector< const LinkConnSpec * > | enabledLinkConns () const |
not masked links belonging to this TB More... | |
const LinkConnSpec * | linkConn (int tbInputNumber) const |
link attached to this TB with given input number More... | |
const std::vector< LinkConnSpec > | linkConns () const |
all links kept by this TB More... | |
std::string | print (int depth=0) const |
debud printaout, call its components with depth dectreased by one More... | |
void | setMaskedLinks (uint32_t aMask) |
set mask links More... | |
TriggerBoardSpec (int num=-1, uint32_t aMask=0) | |
ctor with ID only More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< LinkConnSpec > | theLinks |
uint32_t | theMaskedLinks |
int | theNum |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
RPC Trigger Board specification for readout decoding
Definition at line 14 of file TriggerBoardSpec.h.
TriggerBoardSpec::TriggerBoardSpec | ( | int | num = -1 , |
uint32_t | aMask = 0 |
||
) |
void TriggerBoardSpec::add | ( | const LinkConnSpec & | lc | ) |
attach connection to TB
Definition at line 41 of file TriggerBoardSpec.cc.
References theLinks.
Referenced by RPCEMap::convert(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
inline |
input channel number to DCC
Definition at line 20 of file TriggerBoardSpec.h.
References theNum.
Referenced by RPCReadOutMappingWithFastSearch::init(), print(), and RPCReadOutMapping::rawDataFrame().
std::vector< const LinkConnSpec * > TriggerBoardSpec::enabledLinkConns | ( | ) | const |
not masked links belonging to this TB
Definition at line 18 of file TriggerBoardSpec.cc.
References mps_fire::result, and theLinks.
Referenced by RPCReadOutMappingWithFastSearch::init(), and RPCReadOutMapping::rawDataFrame().
const LinkConnSpec * TriggerBoardSpec::linkConn | ( | int | tbInputNumber | ) | const |
link attached to this TB with given input number
Definition at line 9 of file TriggerBoardSpec.cc.
References theLinks.
Referenced by RPCReadOutMapping::location().
|
inline |
std::string TriggerBoardSpec::print | ( | int | depth = 0 | ) | const |
debud printaout, call its components with depth dectreased by one
Definition at line 30 of file TriggerBoardSpec.cc.
References dccInputChannelNum(), str, and theLinks.
|
private |
|
inline |
|
friend |
Definition at line 45 of file TriggerBoardSpec.h.
|
friend |
Definition at line 45 of file TriggerBoardSpec.h.
|
private |
Definition at line 43 of file TriggerBoardSpec.h.
Referenced by add(), enabledLinkConns(), linkConn(), linkConns(), and print().
|
private |
Definition at line 42 of file TriggerBoardSpec.h.
Referenced by setMaskedLinks().
|
private |
Definition at line 41 of file TriggerBoardSpec.h.
Referenced by dccInputChannelNum().