DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TAMakerChannelDistanceAlgorithm.hpp
Go to the documentation of this file.
1
9#ifndef TRIGGERALGS_CHANNELDISTANCE_TRIGGERACTIVITYMAKERCHANNELDISTANCE_HPP_
10#define TRIGGERALGS_CHANNELDISTANCE_TRIGGERACTIVITYMAKERCHANNELDISTANCE_HPP_
11
13#include <algorithm>
14
15namespace triggeralgs {
16
18 public:
19 void process(const TriggerPrimitive& input_tp, std::vector<TriggerActivity>& output_tas);
20 void configure(const nlohmann::json& config);
21 void set_ta_attributes();
22
23 private:
24 void set_new_ta(const TriggerPrimitive& input_tp);
27 uint64_t m_window_length = 8000;
28 uint16_t m_min_tps = 20; // AEO: Type is arbitrary. Surprised even asking for 2^8 TPs.
31};
32
33} // namespace triggeralgs
34
35#endif // TRIGGERALGS_CHANNELDISTANCE_TRIGGERACTIVITYMAKERCHANNELDISTANCE_HPP_
void process(const TriggerPrimitive &input_tp, std::vector< TriggerActivity > &output_tas)
TP processing function that creates & fills TAs.
A single energy deposition on a TPC or PDS channel.