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 2840 of file plotting.py.

Constructor & Destructor Documentation

◆ __init__()

def plotting.PlotterInstance.__init__ (   self,
  folders 
)

Definition at line 2842 of file plotting.py.

2842  def __init__(self, folders):
2843  self._plotterFolders = [f for f in folders if f is not None]
2844 

Member Function Documentation

◆ iterFolders()

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

Definition at line 2845 of file plotting.py.

2845  def iterFolders(self, limitSubFoldersOnlyTo=None):
2846  for plotterFolder in self._plotterFolders:
2847  limitOnlyTo = None
2848  if limitSubFoldersOnlyTo is not None:
2849  limitOnlyTo = limitSubFoldersOnlyTo.get(plotterFolder.getName(), None)
2850 
2851  for dqmSubFolder in plotterFolder.getDQMSubFolders(limitOnlyTo=limitOnlyTo):
2852  yield plotterFolder, dqmSubFolder
2853 
2854 # Helper for Plotter

References plotting.PlotterInstance._plotterFolders.

Member Data Documentation

◆ _plotterFolders

plotting.PlotterInstance._plotterFolders
private

Definition at line 2843 of file plotting.py.

Referenced by plotting.PlotterInstance.iterFolders().