def to_root(self, outfile): """ Write this plotter to a root file. ROOT (and rootpy) take care of persisting the ROOT objects held by this class """ to_root(self, outfile) return True
def to_root(self, output_file): ''' Saves the instance into a ROOT file ''' # need to add pileupHist manually to_root([self, self._pileupHist], output_file)
def to_root(self, output_file): to_root(self, output_file)