ATLAS Offline Software
|
Class holding the LVL1 CTP result used by the RoIBuilder. More...
#include <CTPResult.h>
Public Member Functions | |
CTPResult () | |
default constructor: empty object More... | |
CTPResult (unsigned int ctpVersion, Header &&, Trailer &&, std::vector< CTPRoI > &&) | |
full constructor with CTP version, header, trailer and vector of data More... | |
CTPResult (unsigned int ctpVersion, Header &&, Trailer &&, const std::vector< uint32_t > &) | |
full constructor with CTP version, header, trailer and vector of data More... | |
bool | isValid () const |
returns true if header and trailer exist, data can be empty More... | |
bool | isComplete () const |
returns true if object isValid() and data has the expected length More... | |
const Header & | header () const |
return header More... | |
const Trailer & | trailer () const |
return trailer More... | |
const std::vector< CTPRoI > & | roIVec () const |
return the RoI vector */ More... | |
const std::vector< CTPRoI > | TBP () const |
get trigger result before prescale More... | |
const std::vector< CTPRoI > | TAP () const |
get trigger result after prescale More... | |
const std::vector< CTPRoI > | TAV () const |
get trigger result after veto More... | |
bool | acceptBP () const |
get trigger accept before prescale More... | |
bool | acceptAP () const |
get trigger accept after prescale More... | |
bool | acceptAV () const |
get trigger accept after veto More... | |
bool | accept () const |
get standard trigger accept More... | |
const std::string | dump () const |
dump raw object content to string More... | |
const std::string | print (const bool longFormat=false) const |
print object content in a human readable format to string More... | |
void | dumpData () const |
print object content to default message stream More... | |
void | dumpData (MsgStream &) const |
print object content to given message stream More... | |
Private Member Functions | |
const std::string | convert (const std::vector< CTPRoI > &data, const bool longFormat=false) const |
convert data content into string (used by dump and print) More... | |
Private Attributes | |
Header | m_CTPResultHeader |
header fragment in LVL1 eformat More... | |
Trailer | m_CTPResultTrailer |
trailer fragment in LVL1 eformat More... | |
std::vector< CTPRoI > | m_CTPResultRoIVec |
raw data content (RoIs) More... | |
CTPdataformatVersion | m_ctpDataformat |
bool | m_useRoIB |
unsigned int | m_l1aBunch |
Class holding the LVL1 CTP result used by the RoIBuilder.
CTPResult holds the LVL1 CTP information (one bunch crossing only)send from the CTP hardware to the RoIBuilder. This is the trigger result for each item before prescale, after prescale and after veto. CTPResult is the CTP part of the L1 RDO (ROIB::RoIBResult).
Definition at line 52 of file CTPResult.h.
|
inline |
default constructor: empty object
Definition at line 56 of file CTPResult.h.
ROIB::CTPResult::CTPResult | ( | unsigned int | ctpVersion, |
Header && | head, | ||
Trailer && | trail, | ||
std::vector< CTPRoI > && | rois | ||
) |
full constructor with CTP version, header, trailer and vector of data
Definition at line 27 of file CTPResult.cxx.
ROIB::CTPResult::CTPResult | ( | unsigned int | ctpVersion, |
Header && | head, | ||
Trailer && | trail, | ||
const std::vector< uint32_t > & | v | ||
) |
full constructor with CTP version, header, trailer and vector of data
Definition at line 41 of file CTPResult.cxx.
|
inline |
bool ROIB::CTPResult::acceptAP | ( | ) | const |
get trigger accept after prescale
bool ROIB::CTPResult::acceptAV | ( | ) | const |
get trigger accept after veto
bool ROIB::CTPResult::acceptBP | ( | ) | const |
get trigger accept before prescale
|
private |
convert data content into string (used by dump and print)
Definition at line 84 of file CTPResult.cxx.
const std::string ROIB::CTPResult::dump | ( | ) | const |
dump raw object content to string
method used for read/write testing and T/P separation
Definition at line 56 of file CTPResult.cxx.
void ROIB::CTPResult::dumpData | ( | ) | const |
void ROIB::CTPResult::dumpData | ( | MsgStream & | log | ) | const |
bool ROIB::CTPResult::isComplete | ( | ) | const |
returns true if object isValid() and data has the expected length
bool ROIB::CTPResult::isValid | ( | ) | const |
returns true if header and trailer exist, data can be empty
print object content in a human readable format to string
Definition at line 71 of file CTPResult.cxx.
|
private |
Definition at line 126 of file CTPResult.h.
|
private |
header fragment in LVL1 eformat
Definition at line 120 of file CTPResult.h.
|
private |
raw data content (RoIs)
Definition at line 122 of file CTPResult.h.
|
private |
trailer fragment in LVL1 eformat
Definition at line 121 of file CTPResult.h.
|
private |
Definition at line 135 of file CTPResult.h.
|
private |
Definition at line 132 of file CTPResult.h.