#include <NSWTriggerCommonDecoder.h>
Definition at line 20 of file NSWTriggerCommonDecoder.h.
◆ NSWTriggerCommonDecoder()
Muon::nsw::NSWTriggerCommonDecoder::NSWTriggerCommonDecoder |
( |
const eformat::read::ROBFragment & |
rob, |
|
|
const std::string & |
triggerType |
|
) |
| |
|
explicit |
Definition at line 16 of file NSWTriggerCommonDecoder.cxx.
21 static const uint32_t min_packet_size = 2;
25 uint32_t nWords = robFrag.rod_ndata ();
26 const uint32_t *bs = robFrag.rod_data ();
30 while (remaining >= min_packet_size)
34 std::shared_ptr<Muon::nsw::NSWTriggerElink> elink;
37 std::shared_ptr<Muon::nsw::NSWTriggerMML1AElink> tmplink = std::make_shared<Muon::nsw::NSWTriggerMML1AElink>(pp, remaining);
40 std::shared_ptr<Muon::nsw::NSWTriggerMMMonElink> tmplink = std::make_shared<Muon::nsw::NSWTriggerMMMonElink>(pp, remaining);
43 std::shared_ptr<Muon::nsw::NSWPadTriggerL1a> tmplink = std::make_shared<Muon::nsw::NSWPadTriggerL1a>(pp, remaining);
46 std::shared_ptr<Muon::nsw::NSWTriggerSTGL1AElink> tmplink = std::make_shared<Muon::nsw::NSWTriggerSTGL1AElink>(pp, remaining);
49 std::shared_ptr<Muon::nsw::NSWTriggerElink> tmplink = std::make_shared<Muon::nsw::NSWTriggerElink>(pp, remaining);
55 remaining -= elink->
nwords();;
62 ERS_DEBUG(1,
"Following exception found");
63 ERS_DEBUG(1,
e.what());
70 ERS_DEBUG(1,
"Following exception found");
71 ERS_DEBUG(1,
e.what());
77 if ( remaining > 0 ) {
◆ ~NSWTriggerCommonDecoder()
virtual Muon::nsw::NSWTriggerCommonDecoder::~NSWTriggerCommonDecoder |
( |
| ) |
|
|
virtualdefault |
◆ error_id()
int Muon::nsw::NSWTriggerCommonDecoder::error_id |
( |
| ) |
const |
|
inline |
◆ get_elinks()
◆ has_error()
bool Muon::nsw::NSWTriggerCommonDecoder::has_error |
( |
| ) |
const |
|
inline |
◆ m_elinks
◆ m_error_id
int Muon::nsw::NSWTriggerCommonDecoder::m_error_id {} |
|
private |
◆ m_has_error
bool Muon::nsw::NSWTriggerCommonDecoder::m_has_error {} |
|
private |
◆ m_triggerType
std::string Muon::nsw::NSWTriggerCommonDecoder::m_triggerType |
|
private |
The documentation for this class was generated from the following files: