icecube.DOMLauncher.utils module

icecube.DOMLauncher.utils.launch_splitter(frame, mapname='I3DOMLaunchSeriesMap')

A one-off moudule to split the output DOMLaunchSeriesMap from DOMLauncher into an InIce part, IceTop part and a BeaconLaunch part.

icecube.DOMLauncher.utils.merge_by_detector(frame, pulsemaps=('I3RecoPulseSeriesMapUpgrade', 'I3RecoPulseSeriesMapGen2'), output_name='I3RecoPulseSeriesMapExtensions', overwrite=True)
icecube.DOMLauncher.utils.sort_pulsemap(unsorted_map)
icecube.DOMLauncher.utils.split_by_detector(frame, pulsemap_name='I3RecoPulseSeriesMapExtensions', mapper=[('I3RecoPulseSeriesMapUpgrade', <function <lambda>>), ('I3RecoPulseSeriesMapGen2', <function <lambda>>)])
class icecube.DOMLauncher.utils.split_by_type(context)

Bases: I3ConditionalModule

A module that takes an input map (MCPE, MCPulse) and splits it into separate maps depending on the module types of each hit. This will be useful for the transitionally case of separate DOM simulation code for Gen2/Upgrade from Gen1’s DOMLauncher code. Note that you can set one of the output names in the map to match the input: in that case, the input hit map will be overwritten.

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

void Configure(PythonModule<I3ConditionalModule> {lvalue})

DAQ((I3ConditionalModule)arg1, (I3Frame)arg2) None :
C++ signature :

void DAQ(PythonModule<I3ConditionalModule> {lvalue},boost::shared_ptr<I3Frame>)

Geometry((I3ConditionalModule)arg1, (I3Frame)arg2) None :
C++ signature :

void Geometry(PythonModule<I3ConditionalModule> {lvalue},boost::shared_ptr<I3Frame>)

default_extensions_name = 'I3MCPulseSeriesMapExtensions'
default_gen1_name = 'I3MCPulseSeriesMap'
default_mapping = {icecube._dataclasses.OMType.IceCube: 'I3MCPulseSeriesMap', icecube._dataclasses.OMType.IceTop: 'I3MCPulseSeriesMap', icecube._dataclasses.OMType.PDOM: 'I3MCPulseSeriesMapExtensions', icecube._dataclasses.OMType.DEgg: 'I3MCPulseSeriesMapExtensions', icecube._dataclasses.OMType.mDOM: 'I3MCPulseSeriesMapExtensions', icecube._dataclasses.OMType.LOM: 'I3MCPulseSeriesMapExtensions', icecube._dataclasses.OMType.LOM16: 'I3MCPulseSeriesMapExtensions', icecube._dataclasses.OMType.LOM18: 'I3MCPulseSeriesMapExtensions'}
logger = <Logger DOMLauncher.utils.split_by_type (WARNING)>
omgeo = None