DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerPlaneCoincidenceAlgorithm.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) |
![]() | |
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 Member Functions | |
TriggerActivity | construct_ta (TPWindow m_current_window) const |
uint16_t | check_adjacency (TPWindow window) const |
int | check_sot (TPWindow m_current_window) const |
void | add_window_to_record (TPWindow window) |
void | dump_window_record () |
void | dump_tp (TriggerPrimitive const &input_tp) |
Private Attributes | |
TPWindow | m_current_window |
uint64_t | m_primitive_count = 0 |
TPWindow | m_collection_window |
TPWindow | m_induction1_window |
TPWindow | m_induction2_window |
std::string | m_channel_map_name = "VDColdboxTPCChannelMap" |
uint16_t | m_adjacency_threshold = 15 |
int | m_max_adjacency = 0 |
uint32_t | m_sot_threshold = 2000 |
uint32_t | m_adc_threshold = 300000 |
uint16_t | m_adj_tolerance = 5 |
int | index = 0 |
uint16_t | ta_adc = 0 |
uint16_t | ta_channels = 0 |
timestamp_t | m_window_length = 3000 |
std::shared_ptr< dunedaq::detchannelmaps::TPCChannelMap > | channelMap = dunedaq::detchannelmaps::make_tpc_map(m_channel_map_name) |
std::vector< TPWindow > | m_window_record |
Additional Inherited Members | |
![]() | |
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 26 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 204 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 142 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 259 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 100 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 118 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 240 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 212 of file TAMakerPlaneCoincidenceAlgorithm.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 19 of file TAMakerPlaneCoincidenceAlgorithm.cpp.
|
private |
Definition at line 59 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 53 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 51 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 52 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 48 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 47 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 42 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 36 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 43 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 44 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 49 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 37 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 50 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 56 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 65 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 54 of file TAMakerPlaneCoincidenceAlgorithm.hpp.
|
private |
Definition at line 55 of file TAMakerPlaneCoincidenceAlgorithm.hpp.