icecube.icetray.traysegment module¶
- icecube.icetray.traysegment.module_altconfig(module, **altdefargs)¶
Register an alternate [sub]set of defaults for a module or segment. Any parameters not specified in module_altconfig will use the original module defaults.
Once added to a module’s pybindings, an instance of the module with the specified alternate defaults can then be added to a tray using I3Tray.AddSegment().
Usage: altconfig1 = icetray.module_altconfig(‘I3ExampleModule’, Par1=5)
- icecube.icetray.traysegment.timedtraysegment(original_traysegment)¶
Register a tray segment configuration function with icetray, but with an added timer put into the frame under name+”_SegmentTimer_seconds”. The segment can then be added to a tray using I3Tray.AddSegment().
Usage: @icetray.timedtraysegment def segment(tray, name, arg=stuff):
- icecube.icetray.traysegment.traysegment(function)¶
Register a tray segment configuration function with icetray. The segment can then be added to a tray using I3Tray.AddSegment().
Usage: @icetray.traysegment def segment(tray, name, arg=stuff):
- icecube.icetray.traysegment.traysegment_inherit(parent, defaultoverrides=None, removeopts=None)¶
Register a tray segment configuration function with icetray, inheriting icetray-inspect information from another module/service/segment. The segment can then be added to a tray using I3Tray.AddSegment().
Usage: @icetray.traysegment_inherit(‘I3ParentMod’) def segment(tray, name, arg=stuff):