test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
plotting.PlotterInstance Class Reference

Public Member Functions

def __init__
 
def iterFolders
 

Private Attributes

 _plotterFolders
 

Detailed Description

Instance of plotter that knows the directory content, holds many folders.

Definition at line 2072 of file plotting.py.

Constructor & Destructor Documentation

def plotting.PlotterInstance.__init__ (   self,
  folders 
)

Definition at line 2074 of file plotting.py.

2075  def __init__(self, folders):
2076  self._plotterFolders = filter(lambda f: f is not None, folders)

Member Function Documentation

def plotting.PlotterInstance.iterFolders (   self,
  limitSubFoldersOnlyTo = None 
)

Definition at line 2077 of file plotting.py.

References plotting.PlotterInstance._plotterFolders.

2078  def iterFolders(self, limitSubFoldersOnlyTo=None):
2079  for plotterFolder in self._plotterFolders:
2080  limitOnlyTo = None
2081  if limitSubFoldersOnlyTo is not None:
2082  limitOnlyTo = limitSubFoldersOnlyTo.get(plotterFolder.getName(), None)
2083 
2084  for dqmSubFolder in plotterFolder.getDQMSubFolders(limitOnlyTo=limitOnlyTo):
2085  yield plotterFolder, dqmSubFolder
2086 
# Helper for Plotter

Member Data Documentation

plotting.PlotterInstance._plotterFolders
private

Definition at line 2075 of file plotting.py.

Referenced by plotting.PlotterInstance.iterFolders().