DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TCMakerDBSCANAlgorithm.hpp
Go to the documentation of this file.
1
9#ifndef TRIGGERALGS_DBSCAN_TRIGGERCANDIDATEMAKERDBSCAN_HPP_
10#define TRIGGERALGS_DBSCAN_TRIGGERCANDIDATEMAKERDBSCAN_HPP_
11
14
15#include <memory>
16#include <vector>
17
18namespace triggeralgs {
20{
21
22public:
23 void process(const TriggerActivity& input_ta, std::vector<TriggerCandidate>& output_tc);
24 void configure(const nlohmann::json &config);
25
26private:
27 void set_new_tc(const TriggerActivity& input_ta);
28 void set_tc_attributes();
31 uint16_t m_max_tp_count = 1000; // Produce a TC when this count is exceeded. AEO: Arbitrary choice of 1000.
32};
33} // namespace triggeralgs
34
35#endif // TRIGGERALGS_DBSCAN_TRIGGERCANDIDATEMAKERPRESCALE_HPP_
void configure(const nlohmann::json &config)
void set_new_tc(const TriggerActivity &input_ta)
void process(const TriggerActivity &input_ta, std::vector< TriggerCandidate > &output_tc)
TA processing function that creates & fills TCs.