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 1118 of file plotting.py.
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 1120 of file plotting.py.
def plotting.ROC.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 1136 of file plotting.py.
References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, LikelihoodSpecies._name, TrackingRecHitAlgorithm._name, LikelihoodPdfProduct._name, LikelihoodPdf._name, citk::IsolationConeDefinitionBase._name, Logger._name, hcaldqm::DQModule._name, DrellYanValidation._name, WValidation._name, HistoParams< T >._name, hcaldqm::flag::Flag._name, hcaldqm::quantity::Quantity._name, GeometricTimingDetExtra._name, CutApplicatorBase._name, GeometricDetExtra._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, Vispa.Views.PropertyView.Property._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 1140 of file plotting.py.
References plotting._getOrCreateObject(), plotting.ROC._xhistoName, plotting.ROC._yhistoName, and plotting.ROC._zaxis.
|
private |
Definition at line 1131 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(), and plotting.PlotGroup.remove().
|
private |
Definition at line 1132 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 1133 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 1134 of file plotting.py.
Referenced by plotting.ROC.create().