|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Functions | |
| dict[str, Any] | parse () |
| None | plot_all_event_displays (list[NDArray] tc_data, list[NDArray] tc_data_tas, list[NDArray] ta_data, list[NDArray] ta_data_tps, int run_id, int file_index, bool batch) |
| main () | |
Plot the trigger candidates, with their trigger activities & trigger primitives for a given tpstream file
| plot_emulated_triggers.main | ( | ) |
Definition at line 122 of file plot_emulated_triggers.py.
| dict[str, Any] plot_emulated_triggers.parse | ( | ) |
Parses CLI input arguments.
Returns:
(dict[str, Any]): A dictionary of argument names vs argument values
Definition at line 21 of file plot_emulated_triggers.py.
| None plot_emulated_triggers.plot_all_event_displays | ( | list[NDArray] | tc_data, |
| list[NDArray] | tc_data_tas, | ||
| list[NDArray] | ta_data, | ||
| list[NDArray] | ta_data_tps, | ||
| int | run_id, | ||
| int | file_index, | ||
| bool | batch ) |
Plots all the event displays, one per TC.
Each event display will contain TriggerActivities (red boxes), and
TriggerPrimitives (black points) for each TriggerActivity.
Args:
tc_data (list[NDArray]): A list of TriggerCandidates
tc_data_tas (list[NDArray]): A list of TriggerActivityData per TriggerCandidate
ta_data (list[NDArray]): A full list of TriggerActivities
ta_data_tps (list[NDArray]): A list of TriggerPrimitives per TriggerActivity
run_id (int): Run ID number
file_index (int): File index
Definition at line 62 of file plot_emulated_triggers.py.