![]() |
ATLAS Offline Software
|
#include <NSWTriggerSTGL1AElink.h>
Classes | |
| struct | DataHeader |
| Helper struct to hold information of the header for each data chunk. More... | |
Public Member Functions | |
| NSWTriggerSTGL1AElink (const std::uint32_t *bs, std::uint32_t remaining) | |
| virtual | ~NSWTriggerSTGL1AElink ()=default |
| std::uint32_t | head_fragID () const |
| std::uint32_t | head_sectID () const |
| std::uint32_t | head_EC () const |
| std::uint32_t | head_flags () const |
| std::uint32_t | head_BCID () const |
| std::uint32_t | head_orbit () const |
| std::uint32_t | head_spare () const |
| std::uint32_t | L1ID () const |
| std::uint32_t | l1a_versionID () const |
| std::uint32_t | l1a_local_req_BCID () const |
| std::uint32_t | l1a_local_rel_BCID () const |
| std::uint32_t | l1a_open_BCID () const |
| std::uint32_t | l1a_req_BCID () const |
| std::uint32_t | l1a_close_BCID () const |
| std::uint32_t | l1a_timeout () const |
| std::uint32_t | head_overflowCount () const |
| std::uint32_t | l1a_open_BCID_offset () const |
| std::uint32_t | l1a_req_BCID_offset () const |
| std::uint32_t | l1a_close_BCID_offset () const |
| std::uint32_t | l1a_timeout_config () const |
| std::uint32_t | l1a_busy_thr () const |
| std::uint32_t | l1a_engine_snapshot () const |
| std::uint32_t | l1a_link_const () const |
| std::uint32_t | l1a_padding () const |
| std::uint32_t | head_wdw_matching_engines_usage () const |
| const std::vector< std::uint32_t > & | stream_head_nbits () const |
| const std::vector< std::uint32_t > & | stream_head_nwords () const |
| const std::vector< std::uint32_t > & | stream_head_fifo_size () const |
| const std::vector< std::uint32_t > & | stream_head_streamID () const |
| const std::vector< std::vector< std::vector< std::uint32_t > > > & | stream_data () const |
| std::uint32_t | trailer_CRC () const |
| const std::vector< STGTPPadPacket > & | pad_packets () const |
| const std::vector< STGTPSegmentPacket > & | segment_packet () const |
| const std::vector< STGTPMMPacket > & | mm_packet () const |
| const std::vector< STGTPStripPacket > & | strip_packet () const |
| unsigned int | nwords () const |
| unsigned int | nwordsFlx () const |
| unsigned int | status () const |
| bool | suspect () const |
| uint32_t | elinkWord () const |
| const std::shared_ptr< Muon::nsw::NSWResourceId > & | elinkId () const |
Protected Attributes | |
| unsigned int | m_wordCount {} |
| unsigned int | m_wordCountFlx {} |
| unsigned int | m_packet_status {} |
| bool | m_packet_sus {} |
| uint32_t | m_elinkWord {} |
| std::shared_ptr< Muon::nsw::NSWResourceId > | m_elinkId |
Private Member Functions | |
| int | parse_version_workaround (std::size_t &readPointer) |
| parse version workaround | |
| void | decode_header (std::size_t &readPointer, int &version) |
| Decode the header. | |
| void | decode_header_v3 (std::size_t &readPointer, int &version) |
| void | decode_data (std::size_t &readPointer, int version) |
| Decode the pad and segment data. | |
| void | decode_data_v3 (std::size_t &readPointer, int version) |
| DataHeader | decode_data_header (std::size_t &readPointer, int version) |
| Decode the header of each data segment. | |
| DataHeader | decode_data_header_v3 (std::size_t &readPointer, int version) |
| std::vector< std::vector< std::uint32_t > > | decode_data_payload (std::size_t &readPointer, const DataHeader &header, int version) const |
| Decode the payload of each data segment. | |
| std::vector< std::vector< std::uint32_t > > | decode_data_payload_v3 (std::size_t &readPointer, const DataHeader &header, int version) const |
| void | analyze_data (int version) |
| Analyze data chunks and create decoded objects. | |
| void | analyze_data_v3 (int version) |
| void | decode_trailer (std::size_t &readPointer) |
| Decode the trailer. | |
| std::uint64_t | decode (std::size_t &readPointer, std::size_t size) const |
| Decode a value. | |
| std::uint64_t | decode_v3 (std::size_t &readPointer, std::size_t size) const |
Static Private Member Functions | |
| static std::uint64_t | correct_size_for_padding (std::uint64_t initial) |
Private Attributes | |
| std::span< const std::uint32_t > | m_data |
| std::uint32_t | m_head_fragID {} |
| std::uint32_t | m_head_sectID {} |
| std::uint32_t | m_head_EC {} |
| std::uint32_t | m_head_flags {} |
| std::uint32_t | m_head_BCID {} |
| std::uint32_t | m_head_orbit {} |
| std::uint32_t | m_head_spare {} |
| std::uint32_t | m_L1ID {} |
| std::uint32_t | m_l1a_versionID {} |
| std::uint32_t | m_l1a_local_req_BCID {} |
| std::uint32_t | m_l1a_local_rel_BCID {} |
| std::uint32_t | m_l1a_open_BCID {} |
| std::uint32_t | m_l1a_req_BCID {} |
| std::uint32_t | m_l1a_close_BCID {} |
| std::uint32_t | m_l1a_timeout {} |
| std::uint32_t | m_l1a_open_BCID_offset {} |
| std::uint32_t | m_l1a_req_BCID_offset {} |
| std::uint32_t | m_l1a_close_BCID_offset {} |
| std::uint32_t | m_l1a_timeout_config {} |
| std::uint32_t | m_l1a_busy_thr {} |
| std::uint32_t | m_l1a_engine_snapshot {} |
| std::uint32_t | m_l1a_link_const {} |
| std::uint32_t | m_l1a_padding {} |
| std::uint32_t | m_l1a_wdw_matching_engines_usage {} |
| std::vector< std::uint32_t > | m_stream_head_nbits |
| std::vector< std::uint32_t > | m_stream_head_nwords |
| std::vector< std::uint32_t > | m_stream_head_fifo_size |
| std::vector< std::uint32_t > | m_stream_head_streamID |
| std::vector< std::vector< std::vector< std::uint32_t > > > | m_stream_data |
| std::uint32_t | m_trailer_CRC {} |
| std::vector< STGTPPadPacket > | m_pad_packets |
| std::vector< STGTPSegmentPacket > | m_segment_packets |
| std::vector< STGTPMMPacket > | m_mm_packets |
| std::vector< STGTPStripPacket > | m_strip_packets |
| int | m_packet_version |
Static Private Attributes | |
| static constexpr auto | WORD_SIZE = sizeof(decltype(m_data)::element_type) * 8 |
| static constexpr auto | WORD_SIZE_DOUBLE = static_cast<double>(WORD_SIZE) |
Definition at line 14 of file NSWTriggerSTGL1AElink.h.
| Muon::nsw::NSWTriggerSTGL1AElink::NSWTriggerSTGL1AElink | ( | const std::uint32_t * | bs, |
| std::uint32_t | remaining ) |
Definition at line 16 of file NSWTriggerSTGL1AElink.cxx.
|
virtualdefault |
|
private |
Analyze data chunks and create decoded objects.
Definition at line 364 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Definition at line 330 of file NSWTriggerSTGL1AElink.cxx.
|
staticnodiscardprivate |
Definition at line 397 of file NSWTriggerSTGL1AElink.cxx.
|
nodiscardprivate |
Decode a value.
| readPointer | Current read pointer position (updated by function) |
| size | Size of the value to be decoded |
Definition at line 326 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Decode the pad and segment data.
| readPointer | Current read pointer position (updated by function) |
Definition at line 146 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Decode the header of each data segment.
Contains information about type, number of words and bits per word
| readPointer | Current read pointer position (updated by function) |
Definition at line 249 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Definition at line 179 of file NSWTriggerSTGL1AElink.cxx.
|
nodiscardprivate |
Decode the payload of each data segment.
Contains actual data from pad or segments
| readPointer | Current read pointer position (updated by function) |
| header | Information from data header |
Definition at line 303 of file NSWTriggerSTGL1AElink.cxx.
|
nodiscardprivate |
Definition at line 284 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Definition at line 116 of file NSWTriggerSTGL1AElink.cxx.
|
private |
Decode the header.
| readPointer | Current read pointer position (updated by function) |
Definition at line 30 of file NSWTriggerSTGL1AElink.cxx.
|
private |
|
private |
Decode the trailer.
| readPointer | Current read pointer position (updated by function) |
Definition at line 321 of file NSWTriggerSTGL1AElink.cxx.
|
nodiscardprivate |
|
inlineinherited |
Definition at line 63 of file NSWTriggerElink.h.
|
inlineinherited |
Definition at line 62 of file NSWTriggerElink.h.
|
inline |
Definition at line 23 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 21 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 22 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 19 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 24 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 35 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 20 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 25 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 45 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 40 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 33 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 38 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 41 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 42 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 30 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 29 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 31 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 36 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 43 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 32 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 37 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 34 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 39 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 28 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 26 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 56 of file NSWTriggerSTGL1AElink.h.
|
inlineinherited |
Definition at line 55 of file NSWTriggerElink.h.
|
inlineinherited |
Definition at line 56 of file NSWTriggerElink.h.
|
inline |
Definition at line 54 of file NSWTriggerSTGL1AElink.h.
|
private |
parse version workaround
| std::size_t& | readPointer |
Definition at line 103 of file NSWTriggerSTGL1AElink.cxx.
|
inline |
Definition at line 55 of file NSWTriggerSTGL1AElink.h.
|
inlineinherited |
Definition at line 57 of file NSWTriggerElink.h.
|
inline |
Definition at line 51 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 49 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 47 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 48 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 50 of file NSWTriggerSTGL1AElink.h.
|
inline |
Definition at line 57 of file NSWTriggerSTGL1AElink.h.
|
inlineinherited |
Definition at line 58 of file NSWTriggerElink.h.
|
inline |
Definition at line 52 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 145 of file NSWTriggerSTGL1AElink.h.
|
protectedinherited |
Definition at line 73 of file NSWTriggerElink.h.
|
protectedinherited |
Definition at line 72 of file NSWTriggerElink.h.
|
private |
Definition at line 153 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 151 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 152 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 149 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 154 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 150 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 155 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 171 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 165 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 169 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 172 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 173 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 162 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 161 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 163 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 167 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 174 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 164 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 168 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 166 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 170 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 160 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 176 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 157 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 190 of file NSWTriggerSTGL1AElink.h.
|
protectedinherited |
Definition at line 68 of file NSWTriggerElink.h.
|
protectedinherited |
Definition at line 69 of file NSWTriggerElink.h.
|
private |
Definition at line 193 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 188 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 189 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 182 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 180 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 178 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 179 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 181 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 191 of file NSWTriggerSTGL1AElink.h.
|
private |
Definition at line 186 of file NSWTriggerSTGL1AElink.h.
|
protectedinherited |
Definition at line 66 of file NSWTriggerElink.h.
|
protectedinherited |
Definition at line 67 of file NSWTriggerElink.h.
|
staticconstexprprivate |
Definition at line 146 of file NSWTriggerSTGL1AElink.h.
|
staticconstexprprivate |
Definition at line 147 of file NSWTriggerSTGL1AElink.h.