icecube.trigger_sim.modules.time_shifter module

class icecube.trigger_sim.modules.time_shifter.I3TimeShifter(context)

Bases: I3Module

This module shifts the time of everything time-like in the frame. The reference time is determined by the earliest time in the trigger hierarchy, in the case of triggered events, or the earliest I3MCPE(or IMCHit) time, for non-triggered events.

I3Doubles are not shifted by default. There is absolutely no way to know whether they’re time-like objects or not. Most of the time they won’t be, so the user has to explicitly state which one’s need to be shifted.

Configure((I3Module)arg1) None :
C++ signature :

void Configure(PythonModule<I3Module> {lvalue})

DAQ(frame)

Determine the time shift and apply to known frame objects with time members. Rules :

  1. The reference time is determined by either the earliest trigger time or, if there’s no trigger, the earliest MC PEh/hit time.

  2. Every object is put back in the frame with the same name.