icecube.trigger_sim package¶
- icecube.trigger_sim.ExtensionsTriggers(tray, name)¶
Define domsets and triggers for both the Upgrade and Gen2. This acts as both an example tray segment for adding triggering information to the GCD file and as a temporary standard method for testing new triggers.
- Parameters:
tray – The I3Tray where we will add I3Modules
name – An arbitrary name for this segment. Will not be used, but is required.
- icecube.trigger_sim.TriggerSim(tray, name, run_id=None, prune=True, time_shift=True, time_shift_args=None, filter_mode=True, **kwargs)¶
Configure triggers according to the GCD file.
NB: This segment no longer supports the ULEE trigger, so now only IC59 and later configurations.
- Parameters:
tray – Standard for segments.
name – Standard for segments.
run_id – The run id.
prune – Whether to remove launches outside the readout windows. Nearly everyone will want to keep this set at True. It makes simulation look more like data.
time_shift – Whether to time shift time-like frame objects. Nearly everyone will want to keep this set at True. It makes simulation look more like data.
time_shift_args – dict that’s forwarded to the I3TimeShifter module.
filter_mode – Whether to filter frames that do not trigger.
This ignores AMANDA triggers and only supports the following modules:
SimpleMajorityTrigger
ClusterTrigger
CylinderTrigger
SlowMonopoleTrigger
This segment also includes the I3GlobalTriggerSim as well as the I3Pruner and I3TimeShifter. Its job is to make simulation look like data that the pole filters get.