|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TAMakerProtoDUNEBSMWindowAlgorithm.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) |
| ~TAMakerProtoDUNEBSMWindowAlgorithm () override | |
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 Member Functions | |
| bool | compute_treelite_classification () |
| TriggerActivity | construct_ta () const |
Private Attributes | |
| ProtoDUNEBSMWindow | m_current_window |
| timestamp_t | m_last_pred_time |
| uint64_t | m_primitive_count = 0 |
| const int | nbatch = 1 |
| std::vector< float > | flat_batched_inputs |
| std::vector< Entry > | flat_batched_Entries |
| uint32_t | m_adc_threshold = 200000 |
| float | m_ratio_threshold = 0.65 |
| float | m_bdt_threshold = 0.99 |
| timestamp_t | m_window_length = 20000 |
| std::string | m_channel_map_name = "PD2VDTPCChannelMap" |
| timestamp_t | m_bin_length = 4000 |
| int | m_num_timebins = 5 |
| channel_t | m_chan_bin_length = 100 |
| int | m_num_chanbins = 5 |
| std::shared_ptr< dunedaq::detchannelmaps::TPCChannelMap > | channelMap |
| DetectorPlaneMap | m_det_plane_map |
| std::unique_ptr< PDVDEffectiveChannelMap > | m_pdvd_eff_channel_mapper = nullptr |
| bool | m_pdvd_map = true |
| channel_t | m_first_channel |
| channel_t | m_last_channel |
| std::unique_ptr< CompiledModelInterface > | m_compiled_model_interface |
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 24 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
override |
Definition at line 148 of file TAMakerProtoDUNEBSMWindowAlgorithm.cpp.
|
private |
Definition at line 177 of file TAMakerProtoDUNEBSMWindowAlgorithm.cpp.
|
virtual |
Reimplemented from triggeralgs::TriggerActivityMaker.
Definition at line 93 of file TAMakerProtoDUNEBSMWindowAlgorithm.cpp.
|
private |
Definition at line 153 of file TAMakerProtoDUNEBSMWindowAlgorithm.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 24 of file TAMakerProtoDUNEBSMWindowAlgorithm.cpp.
|
private |
Definition at line 70 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 52 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 50 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 55 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 57 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 63 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 66 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 59 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 86 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 41 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 74 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 82 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 83 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 43 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 67 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 64 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 78 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 80 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 44 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 56 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 58 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.
|
private |
Definition at line 48 of file TAMakerProtoDUNEBSMWindowAlgorithm.hpp.