icecube.genie_reader.I3GenieSystWeightTracReader module¶
- class icecube.genie_reader.I3GenieSystWeightTracReader.I3GenieSystWeightTracReader(context)¶
Bases:
I3Module
I3GenieSystWeightTracReader module.
- Parameters:
- Configure()¶
Configures I3GenieSystWeightTracReader:
sets frame index to zero, opens all input GENIE systematic weight files, sets number of events.
- DAQ(frame)¶
Gets systematic weight lists for all povided GENIE ReWeight files, stores them in dictionary and then writes it to a DAQ frame (I3GenieSystWeightDict).
- Finish()¶
Finish, check if number of processed frames matches to the number obtained from the files during configuration.
- get_systematic(syst_name, syst_iter, event_number)¶
Reads systematic weights array for systematic with of a given name for a specified event number.