Public Member Functions | |
def | __init__ (self, name, nameA, nameB, title="") |
def | __str__ (self) |
def | create (self, tdirectory) |
Private Attributes | |
_name | |
_nameA | |
_nameB | |
_title | |
Class for subtracting two histograms
Definition at line 760 of file plotting.py.
def plotting.Subtract.__init__ | ( | self, | |
name, | |||
nameA, | |||
nameB, | |||
title = "" |
|||
) |
Constructor Arguments: name -- String for name of the resulting histogram (A-B) nameA -- String for A histogram nameB -- String for B histogram Keyword arguments: title -- String for a title of the resulting histogram (default "") Uncertainties are calculated with the assumption that B is a subset of A, and the histograms contain event counts.
Definition at line 762 of file plotting.py.
def plotting.Subtract.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 781 of file plotting.py.
References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, WValidation._name, DrellYanValidation._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, GeometricDetExtra._name, GeometricTimingDetExtra._name, HistoParams< T >._name, CutApplicatorBase._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, SequenceTypes.SequencePlaceholder._name, plotting.Subtract._name, and SequenceTypes.TaskPlaceholder._name.
def plotting.Subtract.create | ( | self, | |
tdirectory | |||
) |
Create and return the fake+duplicate histogram from a TDirectory
Definition at line 785 of file plotting.py.
References plotting._getObject(), FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, DrellYanValidation._name, WValidation._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, GeometricDetExtra._name, GeometricTimingDetExtra._name, HistoParams< T >._name, CutApplicatorBase._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, SequenceTypes.SequencePlaceholder._name, plotting.Subtract._name, SequenceTypes.TaskPlaceholder._name, plotting.Subtract._nameA, plotting.Subtract._nameB, HistoParams< T >._title, HistoParams< TH2F >._title, SiStripHitEffFromCalibTree._title, HistoParams< TProfile2D >._title, html.PageSet._title, html.HtmlReport._title, plotting.Subtract._title, and FastTimerService_cff.range.
|
private |
Definition at line 776 of file plotting.py.
Referenced by plotting.Subtract.__str__(), 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.Subtract.create(), 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(), and plotting.PlotGroup.remove().
|
private |
Definition at line 777 of file plotting.py.
Referenced by plotting.Subtract.create().
|
private |
Definition at line 778 of file plotting.py.
Referenced by plotting.Subtract.create().
|
private |
Definition at line 779 of file plotting.py.
Referenced by plotting.Subtract.create(), plotting.Transform.create(), plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), and plotting.Plot.create().