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