Public Member Functions | |
def | __init__ (self, name, possibleDirs, plotFolder, fallbackNames=[], fallbackDqmSubFolders=[]) |
def | appendTableCreator (self, tc) |
def | getName (self) |
def | getPlotFolder (self) |
def | readDirs (self, files) |
Private Attributes | |
_fallbackDqmSubFolders | |
_fallbackNames | |
_name | |
_plotFolder | |
_possibleDirs | |
_tableCreators | |
Definition at line 2832 of file plotting.py.
def plotting.PlotterItem.__init__ | ( | self, | |
name, | |||
possibleDirs, | |||
plotFolder, | |||
fallbackNames = [] , |
|||
fallbackDqmSubFolders = [] |
|||
) |
Constructor Arguments: name -- Name of the folder (is used in the output directory naming) possibleDirs -- List of strings for possible directories of histograms in TFiles plotFolder -- PlotFolder object Keyword arguments fallbackNames -- Optional list of names for backward compatibility. These are used only by validation.Validation (class responsible of the release validation workflow) in case the reference file pointed by 'name' does not exist. fallbackDqmSubFolders -- Optional list of functions for (string->string) mapping the subfolder names found in the first file to another names (function should return None for no mapping). Use case is comparing files that have different iteration naming convention.
Definition at line 2833 of file plotting.py.
def plotting.PlotterItem.appendTableCreator | ( | self, | |
tc | |||
) |
Definition at line 2858 of file plotting.py.
References plotting.PlotterFolder._tableCreators, plotting.PlotterItem._tableCreators, and mps_setup.append.
def plotting.PlotterItem.getName | ( | self | ) |
Definition at line 2852 of file plotting.py.
References ModulesProxy._ModuleProxy._name, FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, condhdf5tohdf5.H5DataProduct._name, WValidation._name, DrellYanValidation._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, HistoParams< T >._name, condhdf5tohdf5.H5Tag._name, CutApplicatorBase._name, condhdf5tohdf5.H5GlobalTag._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, conddb2hdf5.DBGlobalTag._name, SequenceTypes.SequencePlaceholder._name, plotting.Subtract._name, plotting.Transform._name, plotting.FakeDuplicate._name, plotting.CutEfficiency._name, plotting.AggregateBins._name, plotting.AggregateHistos._name, plotting.ROC._name, SequenceTypes._TaskBasePlaceholder._name, plotting.Plot._name, plotting.PlotGroup._name, plotting.PlotterFolder._name, and plotting.PlotterItem._name.
def plotting.PlotterItem.getPlotFolder | ( | self | ) |
Definition at line 2855 of file plotting.py.
References plotting.PlotterFolder._plotFolder, and plotting.PlotterItem._plotFolder.
def plotting.PlotterItem.readDirs | ( | self, | |
files | |||
) |
Read available subfolders from the files Arguments: files -- List of strings for paths to files, or list of TFiles For each file, loop over 'possibleDirs', and read the subfolders of first one that exists. Returns a PlotterFolder if at least one file for which one of 'possibleDirs' exists. Otherwise, return None to signal that there is nothing available for this PlotFolder.
Definition at line 2861 of file plotting.py.
References plotting.PlotterFolder._fallbackDqmSubFolders, plotting.PlotterItem._fallbackDqmSubFolders, plotting.PlotterFolder._fallbackNames, plotting.PlotterItem._fallbackNames, ModulesProxy._ModuleProxy._name, FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, condhdf5tohdf5.H5DataProduct._name, WValidation._name, DrellYanValidation._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, HistoParams< T >._name, condhdf5tohdf5.H5Tag._name, CutApplicatorBase._name, condhdf5tohdf5.H5GlobalTag._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, conddb2hdf5.DBGlobalTag._name, SequenceTypes.SequencePlaceholder._name, plotting.Subtract._name, plotting.Transform._name, plotting.FakeDuplicate._name, plotting.CutEfficiency._name, plotting.AggregateBins._name, plotting.AggregateHistos._name, plotting.ROC._name, SequenceTypes._TaskBasePlaceholder._name, plotting.Plot._name, plotting.PlotGroup._name, plotting.PlotterFolder._name, plotting.PlotterItem._name, plotting.PlotterFolder._plotFolder, plotting.PlotterItem._plotFolder, plotting.PlotterItem._possibleDirs, plotting.PlotterFolder._tableCreators, plotting.PlotterItem._tableCreators, hgcalPlots.loopSubFolders, and print().
|
private |
Definition at line 2849 of file plotting.py.
Referenced by plotting.PlotterItem.readDirs().
|
private |
Definition at line 2848 of file plotting.py.
Referenced by plotting.PlotterItem.readDirs().
|
private |
Definition at line 2845 of file plotting.py.
Referenced by trackingPlots.TimePerEventPlot.__str__(), trackingPlots.TimePerTrackPlot.__str__(), trackingPlots.TimePerEventPlot._create(), trackingPlots.TimePerTrackPlot.create(), plotting.PlotterItem.getName(), validation.SimpleSample.name(), trackingPlots.Iteration.name(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 2847 of file plotting.py.
Referenced by plotting.PlotterItem.getPlotFolder(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 2846 of file plotting.py.
Referenced by plotting.PlotterTableItem.create(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 2850 of file plotting.py.
Referenced by plotting.PlotterItem.appendTableCreator(), and plotting.PlotterItem.readDirs().