CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
plotting.PlotterInstance Class Reference

Public Member Functions

def __init__ (self, folders)
 
def iterFolders (self, limitSubFoldersOnlyTo=None)
 

Private Attributes

 _plotterFolders
 

Detailed Description

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

Definition at line 2828 of file plotting.py.

Constructor & Destructor Documentation

def plotting.PlotterInstance.__init__ (   self,
  folders 
)

Definition at line 2830 of file plotting.py.

2830  def __init__(self, folders):
2831  self._plotterFolders = [f for f in folders if f is not None]
2832 
def __init__(self, folders)
Definition: plotting.py:2830

Member Function Documentation

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

Definition at line 2833 of file plotting.py.

References plotting.PlotterInstance._plotterFolders.

2833  def iterFolders(self, limitSubFoldersOnlyTo=None):
2834  for plotterFolder in self._plotterFolders:
2835  limitOnlyTo = None
2836  if limitSubFoldersOnlyTo is not None:
2837  limitOnlyTo = limitSubFoldersOnlyTo.get(plotterFolder.getName(), None)
2838 
2839  for dqmSubFolder in plotterFolder.getDQMSubFolders(limitOnlyTo=limitOnlyTo):
2840  yield plotterFolder, dqmSubFolder
2841 
2842 # Helper for Plotter
def iterFolders(self, limitSubFoldersOnlyTo=None)
Definition: plotting.py:2833

Member Data Documentation

plotting.PlotterInstance._plotterFolders
private

Definition at line 2831 of file plotting.py.

Referenced by plotting.PlotterInstance.iterFolders().