![]() |
ATLAS Offline Software
|
#include <CTP_Decoder.h>
Public Member Functions | |
| CTP_Decoder () | |
| Helper class to decode the CTP data fragment. | |
| void | setRDO (const CTP_RDO *rdo) |
| Set RDO and fill internal variables from the data object. | |
| const CTP_RDO * | getRDO () const |
| Accessor function to retrieve pointer to RDO object. | |
| const std::vector< CTP_BC > & | getBunchCrossings () |
| Get vector reference of bunch-crossing data of the current event. | |
| const CTP_BC & | getBunchCrossing (unsigned int pos) |
| Get data of a single bunch-crossing. | |
| bool | checkTrigger (unsigned int itemNo, unsigned int bcPos) |
| Test the LVL1 trigger result for a certain trigger item. | |
| bool | checkTriggerAfterPrescale (unsigned int itemNo, unsigned int bcPos) |
| Test the LVL1 trigger result after pre-scale factors are applied, before the final trigger decision, which includes the trigger masks, is taken. | |
| std::vector< unsigned int > | getAllTriggers (unsigned int bcPos) |
| Function to obtain a vector with the numbers of the trigger items that fired for the current event. | |
| void | dumpData () const |
| Helper to dump data for debugging. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| const CTP_RDO * | m_rdo {nullptr} |
| The RDO member. | |
| std::vector< CTP_BC > | m_BCs |
| Vector of BCs for the current event. | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 141 of file CTP_Decoder.h.
| CTP_Decoder::CTP_Decoder | ( | ) |
Helper class to decode the CTP data fragment.
The CTP ROD data fragment contains the LVL1 trigger inputs (160 PITs), and the final trigger result in three stages, before pre-scale factors, after pre-scale factors, and after veto (dead-time, busy). All of these trigger bits can be stored for a number of bunch-crossings (BCs), up to 63, where the L1A can be almost anywhere within this window. In addition, the GPS time-stamp of the LVL1 trigger decision is stored as part of the data fragment.
Definition at line 15 of file CTP_Decoder.cxx.
| bool CTP_Decoder::checkTrigger | ( | unsigned int | itemNo, |
| unsigned int | bcPos ) |
Test the LVL1 trigger result for a certain trigger item.
| itemNo | The trigger item that shall be tested |
| bcPos | The bunch-crossing in the readout window that is to be checked |
Definition at line 143 of file CTP_Decoder.cxx.
| bool CTP_Decoder::checkTriggerAfterPrescale | ( | unsigned int | itemNo, |
| unsigned int | bcPos ) |
Test the LVL1 trigger result after pre-scale factors are applied, before the final trigger decision, which includes the trigger masks, is taken.
Here one sees all triggers of an event, irrespective of the trigger mask.
| itemNo | The trigger item that shall be tested |
| bcPos | The bunch-crossing in the readout window that is to be checked |
Definition at line 158 of file CTP_Decoder.cxx.
| void CTP_Decoder::dumpData | ( | ) | const |
Helper to dump data for debugging.
Definition at line 107 of file CTP_Decoder.cxx.
| std::vector< unsigned int > CTP_Decoder::getAllTriggers | ( | unsigned int | bcPos | ) |
Function to obtain a vector with the numbers of the trigger items that fired for the current event.
| bcPos | The bunch-crossing in the readout window that is to be used |
Definition at line 174 of file CTP_Decoder.cxx.
|
inline |
|
inline |
Get vector reference of bunch-crossing data of the current event.
Definition at line 180 of file CTP_Decoder.h.
|
inline |
Accessor function to retrieve pointer to RDO object.
Definition at line 176 of file CTP_Decoder.h.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
| void CTP_Decoder::setRDO | ( | const CTP_RDO * | rdo | ) |
Set RDO and fill internal variables from the data object.
Definition at line 20 of file CTP_Decoder.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Vector of BCs for the current event.
Definition at line 225 of file CTP_Decoder.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |