pyrex.detector.CombinedDetector¶
-
class
pyrex.detector.CombinedDetector(*detectors)¶ Class for detectors which have been added together.
Designed to allow addition of
DetectorandAntenna-like objects which can still build all antennas and trigger by smartly passing down keyword arguments to the subsets. Maintains all other properties of theDetectorobjects.- Raises
- ValueError
If
test_antenna_positionsisTrueand an antenna is found to be above the ice surface.
See also
pyrex.AntennaBase class for antennas.
AntennaSystemBase class for antenna system with front-end processing.
DetectorBase class for detectors for easily building up sets of antennas.
- Attributes
antenna_positionslistList of the positions of the antennas in the detector.
- subsetslist
List of the antenna or detector objects which make up the detector.
- test_antenna_positionsboolean
Class attribute for whether or not an error should be raised if antenna positions are found above the surface of the ice (where simulation behavior is ill-defined). Defaults to
True.
Methods
build_antennas(*args, **kwargs)Creates antenna objects at the set antenna positions.
clear([reset_noise])Reset the detector to an empty state.
set_positions(*args, **kwargs)Sets the positions of antennas in the detector.
triggered(*args[, require_mc_truth])Check if the detector is triggered based on its current state.
