Esempio n. 1
0
 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
Esempio n. 2
0
 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)
Esempio n. 3
0
 def to_root(self, output_file):
     to_root(self, output_file)