Public Member Functions | |
def | __init__ |
def | readDirs |
Private Attributes | |
_fallbackNames | |
_name | |
_plotFolder | |
_possibleDirs | |
Definition at line 1856 of file plotting.py.
def plotting.PlotterItem.__init__ | ( | self, | |
name, | |||
possibleDirs, | |||
plotFolder, | |||
fallbackNames = [] |
|||
) |
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.
Definition at line 1857 of file plotting.py.
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 1873 of file plotting.py.
References plotting.PlotterFolder._fallbackNames, plotting.PlotterItem._fallbackNames, FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, LikelihoodSpecies._name, LikelihoodPdfProduct._name, LikelihoodPdf._name, citk::IsolationConeDefinitionBase._name, DrellYanValidation._name, WValidation._name, HistoParams< T >._name, CutApplicatorBase._name, ElectronMVAEstimatorRun2Phys14NonTrig._name, PhotonMVAEstimatorRun2Spring15NonTrig._name, PhotonMVAEstimatorRun2Phys14NonTrig._name, ElectronMVAEstimatorRun2Spring15Trig._name, GeometricDetExtra._name, ElectronMVAEstimatorRun2Spring15NonTrig._name, HistoParams< TH2F >._name, plotting.Subtract._name, HistoParams< TProfile2D >._name, plotting.FakeDuplicate._name, plotting.AggregateBins._name, plotting.AggregateHistos._name, plotting.ROC._name, Vispa.Views.PropertyView.Property._name, SequenceTypes.SequencePlaceholder._name, plotting.Plot._name, plotting.PlotGroup._name, plotting.PlotterFolder._name, plotting.PlotterItem._name, plotting.PlotterFolder._plotFolder, plotting.PlotterItem._plotFolder, and plotting.PlotterItem._possibleDirs.
|
private |
Definition at line 1871 of file plotting.py.
Referenced by plotting.PlotterItem.readDirs().
|
private |
Definition at line 1868 of file plotting.py.
Referenced by validation.SimpleSample.name(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 1870 of file plotting.py.
Referenced by plotting.PlotterItem.readDirs().
|
private |
Definition at line 1869 of file plotting.py.
Referenced by plotting.PlotterItem.readDirs().