pyrex.Detector.triggered¶
-
Detector.
triggered
(*args, require_mc_truth=False, **kwargs)¶ Check if the detector is triggered based on its current state.
By default just checks whether any antenna in the detector is hit. This method may be overridden in subclasses.
- Parameters
- require_mc_truthboolean, optional
Whether or not the trigger should be based on the Monte-Carlo truth. If
True
, noise-only triggers are removed.
- Returns
- boolean
Whether or not the detector is triggered in its current state.
See also
pyrex.Antenna.trigger
Check if an antenna triggers on a given signal.
pyrex.AntennaSystem.trigger
Check if an antenna system triggers on a given signal.