icecube.icetop_Level3_scripts.histograms.getLivetime module

class icecube.icetop_Level3_scripts.histograms.getLivetime.Livetime

Bases: Histogram

DAQ(frame)

Derived classes can override this. Same for the other IceTray-like methods below.

Pull objects out of the frame, perform whatever calculations are required and call the base class fill method… e.g. ‘self.fill(x)’

def DAQ(self, frame):

self.fill(frame[“Primary”].energy)

Write safer code than that, but you get the idea.

lastEvh: I3EventHeader