Public Member Functions | |
def | __init__ (self, name) |
def | FormatHistos (self, style) |
def | Write (self, dir) |
Public Attributes | |
dir | |
hists | |
name | |
named | |
Base class to handle writing and formatting of a set of histograms. Subclass it, and simply add your histograms to the subclass. No need to put them in a list, they will be kept track of automatically by this base class. Then, fill them. Finally, you can call FormatHistos and Write.
Definition at line 4 of file histograms.py.
def histograms.Histograms.__init__ | ( | self, | |
name | |||
) |
Definition at line 11 of file histograms.py.
def histograms.Histograms.FormatHistos | ( | self, | |
style | |||
) |
Apply a style to all histograms.
Definition at line 31 of file histograms.py.
References histograms.Histograms.hists.
def histograms.Histograms.Write | ( | self, | |
dir | |||
) |
Writes all histograms to a subdirectory of dir called self.name.
Definition at line 36 of file histograms.py.
histograms.Histograms.dir |
Definition at line 38 of file histograms.py.
Referenced by eventloop.Module.endJob(), and Inspector.Inspector.Loop().
histograms.Histograms.hists |
Definition at line 13 of file histograms.py.
Referenced by python.rootplot.utilities.HistStack.__getitem__(), python.rootplot.utilities.HistStack.__iter__(), python.rootplot.utilities.HistStack.__len__(), python.rootplot.utilities.HistStack.__setitem__(), python.rootplot.utilities.HistStack.add(), python.rootplot.root2matplotlib.HistStack.bar(), python.rootplot.root2matplotlib.HistStack.bar3d(), python.rootplot.root2matplotlib.HistStack.barcluster(), python.rootplot.root2matplotlib.HistStack.barh(), python.rootplot.root2matplotlib.HistStack.barstack(), python.rootplot.root2matplotlib.HistStack.errorbar(), python.rootplot.root2matplotlib.HistStack.errorbarh(), histograms.Histograms.FormatHistos(), python.rootplot.root2matplotlib.HistStack.hist(), python.rootplot.root2matplotlib.HistStack.histstack(), python.rootplot.utilities.HistStack.max(), python.rootplot.utilities.HistStack.min(), python.rootplot.utilities.HistStack.scale(), python.rootplot.root2matplotlib.HistStack.show_titles(), and python.rootplot.utilities.HistStack.stackmax().
histograms.Histograms.name |
Definition at line 12 of file histograms.py.
Referenced by FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.CFG.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), and python.rootplot.utilities.Hist.TH1F().
histograms.Histograms.named |
Definition at line 14 of file histograms.py.