i3calorimetry

Extract all the visible particles entering the volume.

class graphnet.data.extractors.icecube.i3calorimetry.I3Calorimetry(hull, mctree, mmctracklist, extractor_name, daughters, **kwargs)[source]

Bases: I3Extractor

Event level energy labeling for IceCube data.

This class extracts cumulative energy information from all visible particles entering the detector volume, during the event.

Create a ConvexHull object from the GCD file.

hull: GCD_hull object containing the convex hull of the detector volume. mctree: Name of the I3MCTree in the frame. mmctracklist: Name of the MMCTrackList in the frame. extractor_name: Name of the extractor. daughters: If True, only consider particles that are

daughters of the primary.

Parameters:
  • hull (GCD_hull)

  • mctree (str)

  • mmctracklist (str)

  • extractor_name (str)

  • daughters (bool)

  • kwargs (Any)

frame_contains_info(frame)[source]

Check if the frame contains the necessary information.

Return type:

bool

Parameters:

frame (icecube.icetray.I3Frame)

total_track_energy(frame)[source]

Get the total energy of track particles on entrance.

Return type:

Tuple[float, float]

Parameters:

frame (icecube.icetray.I3Frame)

total_cascade_energy(frame)[source]

Get the total energy of cascade particles on entrance.

Return type:

float

Parameters:

frame (icecube.icetray.I3Frame)