Public Member Functions | |
def | __init__ (self, name, histo, func, title="") |
def | __str__ (self) |
def | create (self, tdirectory) |
Private Attributes | |
_func | |
_histo | |
_name | |
_title | |
Class to transform bin contents in an arbitrary way.
Definition at line 809 of file plotting.py.
def plotting.Transform.__init__ | ( | self, | |
name, | |||
histo, | |||
func, | |||
title = "" |
|||
) |
Constructor. Argument: name -- String for name of the resulting histogram histo -- String for a source histogram (needs to be cumulative) func -- Function to operate on the bin content
Definition at line 811 of file plotting.py.
def plotting.Transform.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 824 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, and SequenceTypes._TaskBasePlaceholder._name.
def plotting.Transform.create | ( | self, | |
tdirectory | |||
) |
Create and return the transformed histogram from a TDirectory
Definition at line 828 of file plotting.py.
References plotting.Transform._func, plotting._getOrCreateObject(), plotting.Transform._histo, 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, SequenceTypes._TaskBasePlaceholder._name, HistoParams< T >._title, HistoParams< TH2F >._title, HistoParams< TProfile2D >._title, html.PageSet._title, plotting.Subtract._title, html.HtmlReport._title, plotting.Transform._title, and FastTimerService_cff.range.
|
private |
Definition at line 821 of file plotting.py.
Referenced by plotting.Transform.create().
|
private |
Definition at line 820 of file plotting.py.
Referenced by plotting.Transform.create(), and plotting.CutEfficiency.create().
|
private |
Definition at line 819 of file plotting.py.
Referenced by plotting.Transform.__str__(), plotting.FakeDuplicate.__str__(), plotting.CutEfficiency.__str__(), plotting.AggregateBins.__str__(), plotting.AggregateHistos.__str__(), plotting.ROC.__str__(), trackingPlots.TimePerEventPlot.__str__(), trackingPlots.TimePerTrackPlot.__str__(), trackingPlots.TimePerEventPlot._create(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), plotting.Transform.create(), plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), plotting.AggregateBins.create(), plotting.AggregateHistos.create(), trackingPlots.TimePerTrackPlot.create(), plotting.Plot.create(), plotting.PlotGroup.draw(), plotting.Plot.getName(), plotting.PlotGroup.getName(), plotting.PlotterFolder.getName(), plotting.PlotterItem.getName(), plotting.PlotterFolder.getSelectionNameIterator(), validation.SimpleSample.name(), trackingPlots.Iteration.name(), plotting.PlotterItem.readDirs(), plotting.PlotGroup.remove(), and plotting.Plot.setName().
|
private |
Definition at line 822 of file plotting.py.
Referenced by plotting.Transform.create(), plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), and plotting.Plot.create().