km3pipe.utils.tohdf5

Convert ROOT and EVT files to HDF5.

Usage:
tohdf5 [options] FILE… tohdf5 (-h | –help) tohdf5 –version
Options:

-h –help Show this screen. –verbose Print more output. –debug Print everything. -n EVENTS Number of events/runs. -o OUTFILE Output file (only if one file is converted). -j –jppy (Jpp): Use jppy (not aanet) for Jpp readout. –ignore-hits Don’t read the hits. -e –expected-rows NROWS Approximate number of events. Providing a

rough estimate for this (100, 1000000, …) will greatly improve reading/writing speed and memory usage. Strongly recommended if the table/array size is >= 100 MB. [default: 10000]
-t –conv-times-to-jte Converts all MC times in the file to JTE
times.

Module Contents

Functions

tohdf5(input_files, output_file, n_events, conv_times_to_jte, **kwargs) Convert Any file to HDF5 file
main()
km3pipe.utils.tohdf5.log[source]
km3pipe.utils.tohdf5.cprint[source]
km3pipe.utils.tohdf5.io_log[source]
km3pipe.utils.tohdf5.tohdf5(input_files, output_file, n_events, conv_times_to_jte, **kwargs)[source]

Convert Any file to HDF5 file

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