![]() |
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 | |
| CTPResult (unsigned int ctpVersion, Header &&, Trailer &&, std::vector< CTPRoI > &&) | |
| full constructor with CTP version, header, trailer and vector of data | |
| CTPResult (unsigned int ctpVersion, Header &&, Trailer &&, const std::vector< uint32_t > &) | |
| full constructor with CTP version, header, trailer and vector of data | |
| bool | isValid () const |
| returns true if header and trailer exist, data can be empty | |
| bool | isComplete () const |
| returns true if object isValid() and data has the expected length | |
| const Header & | header () const |
| return header | |
| const Trailer & | trailer () const |
| return trailer | |
| const std::vector< CTPRoI > & | roIVec () const |
| return the RoI vector */ | |
| const std::vector< CTPRoI > | TBP () const |
| get trigger result before prescale | |
| const std::vector< CTPRoI > | TAP () const |
| get trigger result after prescale | |
| const std::vector< CTPRoI > | TAV () const |
| get trigger result after veto | |
| bool | acceptBP () const |
| get trigger accept before prescale | |
| bool | acceptAP () const |
| get trigger accept after prescale | |
| bool | acceptAV () const |
| get trigger accept after veto | |
| bool | accept () 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 format to string | |
| void | dumpData () const |
| print object content to default message stream | |
| void | dumpData (MsgStream &) const |
| print object content to given message stream | |
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) | |
Private Attributes | |
| Header | m_CTPResultHeader |
| header fragment in LVL1 eformat | |
| Trailer | m_CTPResultTrailer |
| trailer fragment in LVL1 eformat | |
| std::vector< CTPRoI > | m_CTPResultRoIVec |
| raw data content (RoIs) | |
| 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 Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
inline |
default constructor: empty object
Definition at line 56 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/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 |
get standard trigger accept
Definition at line 102 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
| 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 |
print object content to default message stream
Definition at line 156 of file CTPResult.cxx.
| void ROIB::CTPResult::dumpData | ( | MsgStream & | log | ) | const |
print object content to given message stream
Definition at line 166 of file CTPResult.cxx.
| const Header & ROIB::CTPResult::header | ( | ) | const |
return header
| 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
| const std::string ROIB::CTPResult::print | ( | const bool | longFormat = false | ) | const |
print object content in a human readable format to string
Definition at line 71 of file CTPResult.cxx.
| const std::vector< CTPRoI > & ROIB::CTPResult::roIVec | ( | ) | const |
return the RoI vector */
| const std::vector< CTPRoI > ROIB::CTPResult::TAP | ( | ) | const |
get trigger result after prescale
| const std::vector< CTPRoI > ROIB::CTPResult::TAV | ( | ) | const |
get trigger result after veto
| const std::vector< CTPRoI > ROIB::CTPResult::TBP | ( | ) | const |
get trigger result before prescale
| const Trailer & ROIB::CTPResult::trailer | ( | ) | const |
return trailer
|
private |
Definition at line 126 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
private |
header fragment in LVL1 eformat
Definition at line 120 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
private |
raw data content (RoIs)
Definition at line 122 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
private |
trailer fragment in LVL1 eformat
Definition at line 121 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
private |
Definition at line 135 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.
|
private |
Definition at line 132 of file Trigger/TrigT1/TrigT1Result/TrigT1Result/CTPResult.h.