km3pipe.io.online

Pump for the online file format (the file format formerly known as formerly as JPP)

Module Contents

Classes

EventPump

A pump for DAQ (triggered) events in online files.

TimeslicePump

A pump to read and extract timeslices. Currently only hits are read.

Attributes

log

km3pipe.io.online.log[source]
class km3pipe.io.online.EventPump(name=None, **parameters)[source]

A pump for DAQ (triggered) events in online files.

Parameters:
filename: str

Name of the file to open.

configure()[source]

Configure module, like instance variables etc.

blob_generator()[source]
extract_event(event_number)[source]
process(blob)[source]

Knead the blob and return it

class km3pipe.io.online.TimeslicePump(name=None, **parameters)[source]

A pump to read and extract timeslices. Currently only hits are read.

Parameters:
filename: str
stream: str (‘L0’, ‘L1’, ‘L2’, ‘SN’) default: ‘L1’
configure()[source]

Configure module, like instance variables etc.

create_timeslice_info()[source]
process(blob)[source]

Knead the blob and return it

timeslice_generator()[source]

Uses slice ID as iterator

get_blob(index)[source]

Index is slice ID

get_by_frame_index(frame_index)[source]