|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerDBSCANAlgorithm.hpp>
Public Member Functions | |
| void | process (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) |
| TP processing function that creates & fills TAs. | |
| void | configure (const nlohmann::json &config) |
Public Member Functions inherited from triggeralgs::TriggerActivityMaker | |
| virtual | ~TriggerActivityMaker ()=default |
| void | operator() (const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_ta) |
| virtual bool | preprocess (const TriggerPrimitive &input_tp) |
| TP pre-processing/filtering. | |
| virtual void | postprocess (std::vector< TriggerActivity > &output_ta) |
| Post-processing/filtering of the TAs, e.g. prescale. | |
| virtual void | flush (timestamp_t, std::vector< TriggerActivity > &) |
Private Attributes | |
| int | m_eps {10} |
| int | m_min_pts {3} |
| timestamp_t | m_first_timestamp {0} |
| timestamp_t | m_prev_timestamp {0} |
| std::vector< dbscan::Cluster > | m_dbscan_clusters |
| std::unique_ptr< dbscan::IncrementalDBSCAN > | m_dbscan |
Additional Inherited Members | |
Public Attributes inherited from triggeralgs::TriggerActivityMaker | |
| std::atomic< uint64_t > | m_data_vs_system_time = 0 |
| std::atomic< uint64_t > | m_initial_offset = 0 |
| uint64_t | m_prescale = 1 |
| Configurable prescale factor. | |
| uint64_t | m_ta_count = 0 |
| TA made count for prescaling. | |
| uint32_t | m_max_samples_over_threshold = std::numeric_limits<uint32_t>::max() |
| Time-over-threshold TP filtering. | |
Definition at line 19 of file TAMakerDBSCANAlgorithm.hpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 76 of file TAMakerDBSCANAlgorithm.cpp.
|
virtual |
TP processing function that creates & fills TAs.
| input_tp[in] | Input TP for the triggering algorithm |
| output_ta[out] | Output vector of TAs to fill by the algorithm |
Implements triggeralgs::TriggerActivityMaker.
Definition at line 25 of file TAMakerDBSCANAlgorithm.cpp.
|
private |
Definition at line 33 of file TAMakerDBSCANAlgorithm.hpp.
|
private |
Definition at line 32 of file TAMakerDBSCANAlgorithm.hpp.
|
private |
Definition at line 28 of file TAMakerDBSCANAlgorithm.hpp.
|
private |
Definition at line 30 of file TAMakerDBSCANAlgorithm.hpp.
|
private |
Definition at line 29 of file TAMakerDBSCANAlgorithm.hpp.
|
private |
Definition at line 31 of file TAMakerDBSCANAlgorithm.hpp.