km3pipe.utils.i3shower2hdf5

Convert a showerfit file to HDF5.

Usage:
i3shower2hdf5.py INFILE [OUTFILE] i3shower2hdf5.py -h | –help
Options:
-h –help Show this screen.

Module Contents

Classes

WriteScalars(context) DUmp all Scalars to disk.
KeepReconstructed(context) Discard all events which don’t have the full fit.
ReadEventMeta(context) Read Metadata (Event ID) for bookkeeping.
ReadLLHValues(context) Read the LLH values of a final fit.
ReadRecoParticle(context) Read the position, energy, … of a fit.
Readrlogl(context) Read the Logl of the final fits.
Compare(context) Compare prefit + final fit.
Distance(context) Spatial Distance between 2 vertices (prefit + final).
TimeDistance(context) Time Distance between 2 vertices (prefit + final).

Functions

i3extract(infile, outfile=None) Main event loop
main() Entry point when running as script from commandline.
class km3pipe.utils.i3shower2hdf5.WriteScalars(context)[source]

Bases:icecube.icetray.I3Module

DUmp all Scalars to disk.

Configure(self)[source]
Physics(self, frame)[source]
Finish(self)[source]
class km3pipe.utils.i3shower2hdf5.KeepReconstructed(context)[source]

Bases:icecube.icetray.I3Module

Discard all events which don’t have the full fit.

Configure(self)[source]
Physics(self, frame)[source]
class km3pipe.utils.i3shower2hdf5.ReadEventMeta(context)[source]

Bases:icecube.icetray.I3Module

Read Metadata (Event ID) for bookkeeping.

Configure(self)[source]
Physics(self, frame)[source]
class km3pipe.utils.i3shower2hdf5.ReadLLHValues(context)[source]

Bases:icecube.icetray.I3Module

Read the LLH values of a final fit.

Configure(self)[source]
Physics(self, frame)[source]
class km3pipe.utils.i3shower2hdf5.ReadRecoParticle(context)[source]

Bases:icecube.icetray.I3Module

Read the position, energy, … of a fit.

Configure(self)[source]
Physics(self, frame)[source]
class km3pipe.utils.i3shower2hdf5.Readrlogl(context)[source]

Bases:icecube.icetray.I3Module

Read the Logl of the final fits.

Configure(self)[source]
Physics(self, frame)[source]
Readrlogl(self, frame, FitParameters)[source]
class km3pipe.utils.i3shower2hdf5.Compare(context)[source]

Bases:icecube.icetray.I3Module

Compare prefit + final fit.

Configure(self)[source]
Physics(self, frame)[source]
Check(self, frame)[source]
CheckParticle(self, Particle, frame)[source]
GetParticles(self, frame)[source]
class km3pipe.utils.i3shower2hdf5.Distance(context)[source]

Bases:km3pipe.utils.i3shower2hdf5.Compare

Spatial Distance between 2 vertices (prefit + final).

Configure(self)[source]
Physics(self, frame)[source]
get_vertex(self)[source]
get_distance(self)[source]
class km3pipe.utils.i3shower2hdf5.TimeDistance(context)[source]

Bases:km3pipe.utils.i3shower2hdf5.Compare

Time Distance between 2 vertices (prefit + final).

Configure(self)[source]
Physics(self, frame)[source]
GetTime(self)[source]
GetTimeDifference(self)[source]
km3pipe.utils.i3shower2hdf5.i3extract(infile, outfile=None)[source]

Main event loop

km3pipe.utils.i3shower2hdf5.main()[source]

Entry point when running as script from commandline.