|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TDMakerSupernovaAlgorithm.hpp>
Public Member Functions | |
| void | operator() (const TriggerCandidate &, std::vector< TriggerDecision > &) |
| This decision maker just spits out the trigger candidates. | |
Public Member Functions inherited from triggeralgs::TriggerDecisionMaker | |
| virtual | ~TriggerDecisionMaker ()=default |
| virtual void | flush (std::vector< TriggerDecision > &) |
| virtual void | configure (const nlohmann::json &) |
Protected Member Functions | |
| void | FlushOldCandidate (dunedaq::trgdataformats::timestamp_t time_now) |
| this function gets rid of the old activities | |
Protected Attributes | |
| std::vector< TriggerCandidate > | m_candidate |
| std::atomic< dunedaq::trgdataformats::timestamp_t > | m_time_window = { 500'000'000 } |
| Sliding time window to count activities. | |
| std::atomic< uint16_t > | m_threshold = { 1 } |
| Minimum number of activities in the time window to issue a trigger. | |
| std::atomic< uint16_t > | m_hit_threshold = { 1 } |
| Minimum number of primities in an activity. | |
Definition at line 21 of file TDMakerSupernovaAlgorithm.hpp.
|
inlineprotected |
this function gets rid of the old activities
Definition at line 39 of file TDMakerSupernovaAlgorithm.hpp.
|
virtual |
This decision maker just spits out the trigger candidates.
The function that returns the final trigger decision (copy of a candidate for now)
Implements triggeralgs::TriggerDecisionMaker.
Definition at line 20 of file TDMakerSupernovaAlgorithm.cpp.
|
protected |
Definition at line 30 of file TDMakerSupernovaAlgorithm.hpp.
|
protected |
Minimum number of primities in an activity.
Definition at line 36 of file TDMakerSupernovaAlgorithm.hpp.
|
protected |
Minimum number of activities in the time window to issue a trigger.
Definition at line 34 of file TDMakerSupernovaAlgorithm.hpp.
|
protected |
Sliding time window to count activities.
Definition at line 32 of file TDMakerSupernovaAlgorithm.hpp.