Public Member Functions | |
def | __init__ |
def | append |
def | create |
def | draw |
def | getPossibleDirectoryNames |
def | set |
def | setPossibleDirectoryNames |
Private Member Functions | |
def | _getDir |
Private Attributes | |
_labels | |
_plotGroups | |
_possibleDirs | |
_saveFormat | |
Represent a collection of PlotGroups.
Definition at line 733 of file plotting.py.
def plotting.Plotter.__init__ | ( | self, | |
possibleDirs, | |||
plotGroups, | |||
saveFormat = ".pdf" |
|||
) |
Constructor. Arguments: possibleDirs -- List of strings for possible directories of histograms in TFiles plotGroups -- List of PlotGroup objects saveFormat -- String specifying the plot format (default '.pdf')
Definition at line 735 of file plotting.py.
|
private |
Get TDirectory from TFile.
Definition at line 773 of file plotting.py.
References plotting.Plotter._possibleDirs, and join().
def plotting.Plotter.append | ( | self, | |
plotGroup | |||
) |
Definition at line 767 of file plotting.py.
Referenced by diclist.diclist.add(), and BeautifulSoup.Tag.setString().
def plotting.Plotter.create | ( | self, | |
files, | |||
labels, | |||
subdir = None |
|||
) |
Create histograms from a list of TFiles. Arguments: files -- List of TFiles labels -- List of strings for legend labels corresponding the files subdir -- Optional string for subdirectory inside the possibleDirs; if list of strings, then each corresponds to a TFile
Definition at line 801 of file plotting.py.
Draw and save all plots using settings of a given algorithm. Arguments: algo -- String for the algorithm prefix -- Optional string for file name prefix (default None) separate -- Save the plots of a group to separate files instead of a file per group (default False) saveFormat -- If given, overrides the saveFormat
Definition at line 825 of file plotting.py.
References DigiInvestigatorHistogramMaker._labels, SeedMultiplicityAnalyzer._labels, hitfit::Constraint_Intermed_Labels._labels, plotting.Plotter._labels, plotting.Plotter._plotGroups, and plotting.Plotter._saveFormat.
def plotting.Plotter.getPossibleDirectoryNames | ( | self | ) |
Return the list of possible directory names.
Definition at line 763 of file plotting.py.
References plotting.Plotter._possibleDirs.
def plotting.Plotter.set | ( | self, | |
plotGroups | |||
) |
Definition at line 770 of file plotting.py.
References plotting.Plotter._plotGroups.
Referenced by betterConfigParser.BetterConfigParser.getGeneral().
def plotting.Plotter.setPossibleDirectoryNames | ( | self, | |
possibleDirs | |||
) |
Definition at line 760 of file plotting.py.
References plotting.Plotter._possibleDirs.
|
private |
Definition at line 810 of file plotting.py.
Referenced by validation.SimpleValidation._doPlots(), and plotting.Plotter.draw().
|
private |
Definition at line 744 of file plotting.py.
Referenced by plotting.Plotter.draw(), and plotting.Plotter.set().
|
private |
Definition at line 743 of file plotting.py.
Referenced by plotting.Plotter._getDir(), plotting.Plotter.getPossibleDirectoryNames(), and plotting.Plotter.setPossibleDirectoryNames().
|
private |
Definition at line 745 of file plotting.py.
Referenced by plotting.Plotter.draw().