graphnet.data.extractors.icecube.i3truthextractor module

I3Extractor class(es) for extracting truth-level information.

class graphnet.data.extractors.icecube.i3truthextractor.I3TruthExtractor(name, borders, mctree)[source]

Bases: I3Extractor

Class for extracting truth-level information.

Construct I3TruthExtractor.

Parameters:
  • name (str, default: 'truth') – Name of the I3Extractor instance.

  • borders (Optional[List[ndarray]], default: None) – Array of boundaries of the detector volume as ((x,y),z)- coordinates, for identifying, e.g., particles starting and stopping within the detector. Defaults to hard-coded boundary coordinates.

  • mctree (Optional[str], default: 'I3MCTree') – Str of which MCTree to use for truth values.