NuRadioReco.modules.io.eventReader module
- class NuRadioReco.modules.io.eventReader.eventReader[source]
Bases:
object
read events from file
Methods
begin
(filename[, read_detector, log_level])Setup function for the eventReader module
If read_detector was set True in the begin() function, this function return the detector description (assuming there is one in the files).
returns the header information of all events, useful to get a quick overview of all events without looping through all events
end
run
- begin(filename, read_detector=False, log_level=0)[source]
Setup function for the eventReader module
- Parameters:
- filename: array if strings
names of the input files
- read_detector: boolean
- If True, the eventReader will parse the detector description and event event headers
in the event files. This is necessary to use the get_detector functions
- log_level: logging enum