#include <NSWCommonDecoder.h>
Definition at line 19 of file NSWCommonDecoder.h.
◆ NSWCommonDecoder()
Muon::nsw::NSWCommonDecoder::NSWCommonDecoder |
( |
const eformat::read::ROBFragment & |
rob | ) |
|
|
explicit |
Definition at line 12 of file NSWCommonDecoder.cxx.
15 static const uint32_t s_min_packet_size = 3;
20 const uint32_t *bs = robFrag.rod_data ();
25 ERS_DEBUG (1,
"NDATA FROM ROB HEADER: " << nw);
29 while (remaining >= s_min_packet_size)
38 const std::vector <Muon::nsw::VMMChannel *> vchan = elink->
get_channels ();
39 for (
auto i = vchan.begin ();
i != vchan.end (); ++
i)
42 wcount += elink->
nwords ();
43 current_data_pointer += elink->
nwords ();
45 ERS_DEBUG (1,
"NDATA: " << nw <<
" WORD COUNTER: " << wcount);
46 ERS_DEBUG (1,
"NPACKETS: " <<
m_elinks.size ());
48 remaining = nw - wcount;
51 catch (Muon::nsw::MuonNSWCommonDecoder::NSWElinkFelixHeaderException &
e)
54 ERS_DEBUG (1,
e.what());
61 ERS_DEBUG (1,
e.what());
65 wcount += s_min_packet_size;
66 current_data_pointer += s_min_packet_size;
67 remaining = nw - wcount;
◆ ~NSWCommonDecoder()
Muon::nsw::NSWCommonDecoder::~NSWCommonDecoder |
( |
| ) |
|
|
virtual |
◆ get_channels()
◆ get_elinks()
◆ has_error()
bool Muon::nsw::NSWCommonDecoder::has_error |
( |
| ) |
|
|
inline |
◆ m_channels
◆ m_elinks
◆ m_has_error
bool Muon::nsw::NSWCommonDecoder::m_has_error |
|
private |
The documentation for this class was generated from the following files: