Public Member Functions | |
def | __init__ (self, name, xhistoName, yhistoName, zaxis=False) |
def | __str__ (self) |
def | create (self, tdirectory) |
Private Attributes | |
_name | |
_xhistoName | |
_yhistoName | |
_zaxis | |
Class to construct a ROC curve (e.g. efficiency vs. fake rate) from two histograms
Definition at line 1121 of file plotting.py.
def plotting.ROC.__init__ | ( | self, | |
name, | |||
xhistoName, | |||
yhistoName, | |||
zaxis = False |
|||
) |
Constructor. Arguments: name -- String for the name of the resulting histogram xhistoName -- String for the name of the x-axis histogram (or another "creator" object) yhistoName -- String for the name of the y-axis histogram (or another "creator" object) Keyword arguments: zaxis -- If set to True (default False), create a TGraph2D with z axis showing the cut value (recommended drawStyle 'pcolz')
Definition at line 1123 of file plotting.py.
def plotting.ROC.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 1139 of file plotting.py.
References 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, HistoParams< T >._name, CutApplicatorBase._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._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, and SequenceTypes.TaskPlaceholder._name.
def plotting.ROC.create | ( | self, | |
tdirectory | |||
) |
Create and return the histogram from a TDirectory
Definition at line 1143 of file plotting.py.
References plotting._getOrCreateObject(), plotting.ROC._xhistoName, plotting.ROC._yhistoName, plotting.ROC._zaxis, and FastTimerService_cff.range.
|
private |
Definition at line 1134 of file plotting.py.
Referenced by plotting.ROC.__str__(), trackingPlots.TimePerEventPlot.__str__(), trackingPlots.TimePerTrackPlot.__str__(), trackingPlots.TimePerEventPlot._create(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), 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 1135 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 1136 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 1137 of file plotting.py.
Referenced by plotting.ROC.create().