ATLAS Offline Software
|
#include <CTP_Decoder.h>
Public Member Functions | |
void | dumpData (MsgStream &) const |
Helper class to decode the CTP data for one bunch-crossing. More... | |
void | setCTPVersion (unsigned int ctpVersionNumber) |
Set the CTP data format version (needed before extracting any information) More... | |
std::bitset< 32 > | getBCIDBitSet () const |
Accessor to obtain std::bitset containing the bunch-crossing. More... | |
uint32_t | getBCID () const |
Get BCID as unsigned integer. More... | |
std::string | printBCID () const |
Return string with BCID in binary format. More... | |
std::bitset< 32 > | getRandomTrigBitSet () const |
Accessor to obtain random-trigger input bits. More... | |
uint32_t | getRandomTrig () const |
Random-trigger inputs as uint32_t. More... | |
std::string | printRandomTrig () const |
Return string with random trigger in binary format. More... | |
std::bitset< 32 > | getPrescaledClockBitSet () const |
Accessor to obtain prescaled-clock input bits. More... | |
uint32_t | getPrescaledClock () const |
Prescaled-clock inputs as uint32_t. More... | |
std::string | printPrescaledClock () const |
Return string with prescaled clock in binary format. More... | |
void | setPITWordAux (uint32_t word) |
Set auxiliary PIT word, which is the one containing the 12-bit BCID (bit. More... | |
const std::bitset< 32 > & | getPITWordAux () const |
Get PIT word 5 bitset. More... | |
std::string | printPITWordAux () const |
Get auxiliary PIT word as string in binary format. More... | |
void | setTIP (const std::vector< uint32_t > &words) |
Set TIP words. More... | |
const std::bitset< 512 > & | getTIP () const |
get bitset of TIP words More... | |
void | setTIPWord (uint32_t word, uint32_t pos=0) |
Set TIP word number 'pos'. More... | |
std::string | printTIP () const |
Obtain TIP bitpattern string (binary format) More... | |
void | setTBP (const std::vector< uint32_t > &words) |
Set TBP (Trigger Before Prescales) words. More... | |
const std::bitset< 512 > & | getTBP () const |
get bitset of TBP words More... | |
void | setTBPWord (uint32_t word, uint32_t pos=0) |
Set TBP word number 'pos'. More... | |
std::string | printTBP () const |
Obtain TBP bitpattern string (binary format) More... | |
void | setTAP (const std::vector< uint32_t > &words) |
Set TAP (Trigger After Prescales) words. More... | |
void | setTAPWord (uint32_t word, uint32_t pos=0) |
Set TAP word number 'pos'. More... | |
const std::bitset< 512 > & | getTAP () const |
get bitset of TAP words More... | |
std::string | printTAP () const |
Obtain TAP bitpattern string (binary format) More... | |
void | setTAV (const std::vector< uint32_t > &words) |
Set TAV (Trigger After Veto) words. More... | |
const std::bitset< 512 > & | getTAV () const |
get bitset of TAV words More... | |
void | setTAVWord (uint32_t word, uint32_t pos=0) |
Set TAV word number 'pos'. More... | |
std::string | printTAV () const |
Obtain TAV bitpattern string (binary format) More... | |
Private Attributes | |
std::bitset< 512 > | m_tip |
Bitsets containing bit-patterns of trigger inputs and trigger. More... | |
std::bitset< 512 > | m_tbp |
std::bitset< 512 > | m_tap |
std::bitset< 512 > | m_tav |
std::bitset< 32 > | m_pitAux |
Contains BCID, random trigger and prescaled clock. More... | |
CTPdataformatVersion | m_ctpVersion {0} |
Definition at line 17 of file CTP_Decoder.h.
void CTP_BC::dumpData | ( | MsgStream & | msglog | ) | const |
Helper class to decode the CTP data for one bunch-crossing.
class CTP BC
Definition at line 201 of file CTP_Decoder.cxx.
uint32_t CTP_BC::getBCID | ( | ) | const |
Get BCID as unsigned integer.
Definition at line 294 of file CTP_Decoder.cxx.
std::bitset< 32 > CTP_BC::getBCIDBitSet | ( | ) | const |
Accessor to obtain std::bitset containing the bunch-crossing.
Definition at line 279 of file CTP_Decoder.cxx.
|
inline |
uint32_t CTP_BC::getPrescaledClock | ( | ) | const |
Prescaled-clock inputs as uint32_t.
Definition at line 338 of file CTP_Decoder.cxx.
std::bitset< 32 > CTP_BC::getPrescaledClockBitSet | ( | ) | const |
uint32_t CTP_BC::getRandomTrig | ( | ) | const |
Random-trigger inputs as uint32_t.
Definition at line 313 of file CTP_Decoder.cxx.
std::bitset< 32 > CTP_BC::getRandomTrigBitSet | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
std::string CTP_BC::printBCID | ( | ) | const |
std::string CTP_BC::printPITWordAux | ( | ) | const |
Get auxiliary PIT word as string in binary format.
Definition at line 350 of file CTP_Decoder.cxx.
std::string CTP_BC::printPrescaledClock | ( | ) | const |
Return string with prescaled clock in binary format.
Definition at line 343 of file CTP_Decoder.cxx.
std::string CTP_BC::printRandomTrig | ( | ) | const |
std::string CTP_BC::printTAP | ( | ) | const |
Obtain TAP bitpattern string (binary format)
Definition at line 427 of file CTP_Decoder.cxx.
std::string CTP_BC::printTAV | ( | ) | const |
Obtain TAV bitpattern string (binary format)
Definition at line 451 of file CTP_Decoder.cxx.
std::string CTP_BC::printTBP | ( | ) | const |
Obtain TBP bitpattern string (binary format)
Definition at line 403 of file CTP_Decoder.cxx.
std::string CTP_BC::printTIP | ( | ) | const |
Obtain TIP bitpattern string (binary format)
Definition at line 377 of file CTP_Decoder.cxx.
|
inline |
Set the CTP data format version (needed before extracting any information)
Definition at line 39 of file CTP_Decoder.h.
|
inline |
Set auxiliary PIT word, which is the one containing the 12-bit BCID (bit.
Definition at line 69 of file CTP_Decoder.h.
void CTP_BC::setTAP | ( | const std::vector< uint32_t > & | words | ) |
void CTP_BC::setTAPWord | ( | uint32_t | word, |
uint32_t | pos = 0 |
||
) |
void CTP_BC::setTAV | ( | const std::vector< uint32_t > & | words | ) |
void CTP_BC::setTAVWord | ( | uint32_t | word, |
uint32_t | pos = 0 |
||
) |
void CTP_BC::setTBP | ( | const std::vector< uint32_t > & | words | ) |
void CTP_BC::setTBPWord | ( | uint32_t | word, |
uint32_t | pos = 0 |
||
) |
void CTP_BC::setTIP | ( | const std::vector< uint32_t > & | words | ) |
void CTP_BC::setTIPWord | ( | uint32_t | word, |
uint32_t | pos = 0 |
||
) |
|
private |
Definition at line 134 of file CTP_Decoder.h.
|
private |
Contains BCID, random trigger and prescaled clock.
Definition at line 132 of file CTP_Decoder.h.
|
private |
Definition at line 129 of file CTP_Decoder.h.
|
private |
Definition at line 130 of file CTP_Decoder.h.
|
private |
Definition at line 128 of file CTP_Decoder.h.
|
private |
Bitsets containing bit-patterns of trigger inputs and trigger.
Definition at line 127 of file CTP_Decoder.h.