![]() |
ATLAS Offline Software
|
CTP RoI output. More...
#include <CTPSLink.h>
Public Member Functions | |
| CTPSLink (const std::vector< uint32_t > &roiVec, unsigned int ctpVersionNumber) | |
| constructor initializing data content from given vector | |
| ~CTPSLink () | |
| empty default destructor | |
| CTPSLink (CTPSLink const &)=delete | |
| CTPSLink & | operator= (CTPSLink const &)=delete |
| unsigned int | getHeaderSize () const |
| number of words in header | |
| unsigned int | getTrailerSize () const |
| number of words in trailer | |
| unsigned int | getDataElementSize () const |
| number of words in data | |
| unsigned int | getSize () const |
| toal number of words in object | |
| unsigned int | getCTPVersionNumber () const |
| retrieve CTP version number | |
| const std::vector< uint32_t > | getHeader () const |
| get raw header content | |
| const std::vector< uint32_t > | getTrailer () const |
| get raw trailer content | |
| const std::vector< uint32_t > | getDataElements () const |
| get raw data content | |
| const std::vector< uint32_t > & | getCTPToRoIBWords () const |
| get full raw data content | |
| const std::vector< uint32_t > | getTBP () const |
| get trigger result before prescale | |
| const std::vector< uint32_t > | getTAP () const |
| get trigger result after prescale | |
| const std::vector< uint32_t > | getTAV () const |
| get trigger result after veto | |
| bool | getAcceptBP () const |
| get trigger accept before prescale | |
| bool | getAcceptAP () const |
| get trigger accept after prescale | |
| bool | getAcceptAV () const |
| get trigger accept after veto | |
| bool | getAccept () const |
| get standard trigger accept | |
| const std::string | dump () const |
| dump raw object content to string | |
| const std::string | print (const bool longFormat=false) const |
| print object content in a human readable form to string | |
| unsigned int | getNumWordsPerCTPSLink () const |
Private Member Functions | |
| const std::string | convert (const std::vector< uint32_t > &data, const bool longFormat=false) const |
| convert data contetn into string (used by dump and print) | |
Private Attributes | |
| const std::vector< uint32_t > | m_CTPSLinkVector |
| this vector contains the header, data elements and trailer | |
| unsigned int | m_ctpVersionNumber |
| CTPdataformatVersion * | m_ctpVersion |
| unsigned int | m_wordsPerHeader |
| number of words per header | |
| unsigned int | m_wordsPerDataElement |
| number of words per data element | |
| unsigned int | m_wordsPerTrailer |
| number of words per trailer | |
| unsigned int | m_wordsPerCTPSLink |
| number of words per CTPSLink | |
CTP RoI output.
Class used to send the RoI data from the CTP simulation to the RoIB simulation. It models the SLink connection. One vector is used to store the header, data elements and trailer. This class represents a cable connection between CTP and RoIBuilder and is only used in the simulation!
Definition at line 42 of file CTPSLink.h.
| LVL1CTP::CTPSLink::CTPSLink | ( | const std::vector< uint32_t > & | roiVec, |
| unsigned int | ctpVersionNumber ) |
constructor initializing data content from given vector
Definition at line 20 of file CTPSLink.cxx.
| LVL1CTP::CTPSLink::~CTPSLink | ( | ) |
empty default destructor
Definition at line 41 of file CTPSLink.cxx.
|
delete |
|
private |
convert data contetn into string (used by dump and print)
Definition at line 215 of file CTPSLink.cxx.
| const std::string LVL1CTP::CTPSLink::dump | ( | ) | const |
dump raw object content to string
Definition at line 192 of file CTPSLink.cxx.
|
inline |
get standard trigger accept
Definition at line 97 of file CTPSLink.h.
| bool LVL1CTP::CTPSLink::getAcceptAP | ( | ) | const |
get trigger accept after prescale
Definition at line 169 of file CTPSLink.cxx.
| bool LVL1CTP::CTPSLink::getAcceptAV | ( | ) | const |
get trigger accept after veto
Definition at line 180 of file CTPSLink.cxx.
| bool LVL1CTP::CTPSLink::getAcceptBP | ( | ) | const |
get trigger accept before prescale
Definition at line 158 of file CTPSLink.cxx.
| const std::vector< uint32_t > & LVL1CTP::CTPSLink::getCTPToRoIBWords | ( | ) | const |
get full raw data content
Definition at line 95 of file CTPSLink.cxx.
|
inline |
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getDataElements | ( | ) | const |
get raw data content
Definition at line 101 of file CTPSLink.cxx.
| unsigned int LVL1CTP::CTPSLink::getDataElementSize | ( | ) | const |
number of words in data
Definition at line 57 of file CTPSLink.cxx.
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getHeader | ( | ) | const |
get raw header content
Definition at line 67 of file CTPSLink.cxx.
| unsigned int LVL1CTP::CTPSLink::getHeaderSize | ( | ) | const |
number of words in header
Definition at line 52 of file CTPSLink.cxx.
|
inline |
Definition at line 108 of file CTPSLink.h.
| unsigned int LVL1CTP::CTPSLink::getSize | ( | ) | const |
toal number of words in object
Definition at line 47 of file CTPSLink.cxx.
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getTAP | ( | ) | const |
get trigger result after prescale
Definition at line 130 of file CTPSLink.cxx.
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getTAV | ( | ) | const |
get trigger result after veto
Definition at line 144 of file CTPSLink.cxx.
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getTBP | ( | ) | const |
get trigger result before prescale
Definition at line 116 of file CTPSLink.cxx.
| const std::vector< uint32_t > LVL1CTP::CTPSLink::getTrailer | ( | ) | const |
get raw trailer content
Definition at line 81 of file CTPSLink.cxx.
| unsigned int LVL1CTP::CTPSLink::getTrailerSize | ( | ) | const |
number of words in trailer
Definition at line 62 of file CTPSLink.cxx.
| const std::string LVL1CTP::CTPSLink::print | ( | const bool | longFormat = false | ) | const |
print object content in a human readable form to string
Definition at line 204 of file CTPSLink.cxx.
|
private |
this vector contains the header, data elements and trailer
vector of words
Definition at line 113 of file CTPSLink.h.
|
private |
Definition at line 116 of file CTPSLink.h.
|
private |
Definition at line 115 of file CTPSLink.h.
|
private |
number of words per CTPSLink
Definition at line 121 of file CTPSLink.h.
|
private |
number of words per data element
Definition at line 119 of file CTPSLink.h.
|
private |
number of words per header
Definition at line 118 of file CTPSLink.h.
|
private |
number of words per trailer
Definition at line 120 of file CTPSLink.h.