CORSIKAReader

CorsikaReader Module

I3CorsikaReader provides a module to read output binary files from the CORSIKA air-shower simulation package. Each simulated shower is emitted as a single DAQ frame containing an I3MCTree with the shower particles, as well as an object containing weight information and a header with the shower number.

Arguments

  1. FilenameList (default: [])

    Array of paths to CORSIKA DAT files to read. Will be emitted in order. Each CORSIKA run (from the CORSIKA run configuration) will be emitted with a separate run ID in the frames.

  2. Prefix (default: None)

    Path to I3 file (e.g. GCD information) to emit before the CORSIKA events.

  3. NEvents (default: 0)

    Number of CORSIKA showers per input file. This is required only on older CORSIKA versions that do not write this information into the run header. On such CORSIKA files, it will be checked at run end and an error emitted if incorrect. This parameter is ignored if set in the file.