Public Member Functions | |
def | __init__ (self, name, plot, ncols=2, onlyForPileup=False) |
def | append (self, *args, **kwargs) |
def | create (self, tdirectoryNEvents, requireAllHistograms=False) |
def | draw (self, *args, **kwargs) |
Public Member Functions inherited from plotting.PlotGroup | |
def | __init__ (self, name, plots, **kwargs) |
def | append (self, plot) |
def | clear (self) |
def | draw (self, legendLabels, prefix=None, separate=False, saveFormat=".pdf", ratio=True, directory="") |
def | getName (self) |
def | getPlot (self, name) |
def | getPlots (self) |
def | onlyForPileup (self) |
def | remove (self, name) |
def | setProperties (self, **kwargs) |
Private Attributes | |
_plot | |
_plots | |
Resembles DQM GUI's "On side" layout. Like PlotGroup, but has only a description of a single plot. The plot is drawn separately for each file. Useful for 2D histograms.
Definition at line 2518 of file plotting.py.
def plotting.PlotOnSideGroup.__init__ | ( | self, | |
name, | |||
plot, | |||
ncols = 2 , |
|||
onlyForPileup = False |
|||
) |
Definition at line 2524 of file plotting.py.
def plotting.PlotOnSideGroup.append | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def plotting.PlotOnSideGroup.create | ( | self, | |
tdirectoryNEvents, | |||
requireAllHistograms = False |
|||
) |
Create histograms from a list of TDirectories. Arguments: tdirectoryNEvents -- List of (TDirectory, nevents) pairs requireAllHistograms -- If True, a plot is produced if histograms from all files are present (default: False)
Reimplemented from plotting.PlotGroup.
Definition at line 2532 of file plotting.py.
def plotting.PlotOnSideGroup.draw | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 2539 of file plotting.py.
|
private |
Definition at line 2526 of file plotting.py.
|
private |
Definition at line 2533 of file plotting.py.
Referenced by plotting.Plotter.append(), plotting.Plotter.appendTable(), plotting.Plotter.clear(), trackingPlots.TrackingSeedingLayerTable.create(), trackingPlots.TrackingSeedingLayerTable.draw(), plotting.Plotter.getPlotFolder(), plotting.Plotter.getPlotFolderNames(), plotting.Plotter.getPlotFolders(), and plotting.Plotter.readDirs().