CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 2839 of file plotting.py.

Constructor & Destructor Documentation

◆ __init__()

def plotting.PlotterInstance.__init__ (   self,
  folders 
)

Definition at line 2841 of file plotting.py.

2841  def __init__(self, folders):
2842  self._plotterFolders = [f for f in folders if f is not None]
2843 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ iterFolders()

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

Definition at line 2844 of file plotting.py.

References plotting.PlotterInstance._plotterFolders.

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

Member Data Documentation

◆ _plotterFolders

plotting.PlotterInstance._plotterFolders
private

Definition at line 2842 of file plotting.py.

Referenced by plotting.PlotterInstance.iterFolders().