Public Member Functions | |
def | __init__ |
def | __str__ |
def | create |
Private Attributes | |
_name | |
_xhistoName | |
_yhistoName | |
_zaxis | |
Class to construct a ROC curve (e.g. efficiency vs. fake rate) from two histograms
Definition at line 490 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 492 of file plotting.py.
def plotting.ROC.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 508 of file plotting.py.
References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, LikelihoodSpecies._name, L1TMuon::PtAssignmentUnit._name, L1TMuon::PtRefinementUnit._name, LikelihoodPdfProduct._name, LikelihoodPdf._name, hcaldqm::Container._name, citk::IsolationConeDefinitionBase._name, hcaldqm::DQModule._name, Logger._name, DrellYanValidation._name, WValidation._name, HistoParams< T >._name, CutApplicatorBase._name, ElectronMVAEstimatorRun2Phys14NonTrig._name, PhotonMVAEstimatorRun2Spring15NonTrig._name, PhotonMVAEstimatorRun2Phys14NonTrig._name, GeometricDetExtra._name, ElectronMVAEstimatorRun2Spring15Trig._name, ElectronMVAEstimatorRun2Spring15NonTrig._name, HistoParams< TH2F >._name, HistoParams< TProfile2D >._name, plotting.Subtract._name, plotting.FakeDuplicate._name, plotting.AggregateBins._name, Vispa.Views.PropertyView.Property._name, SequenceTypes.SequencePlaceholder._name, plotting.AggregateHistos._name, and plotting.ROC._name.
def plotting.ROC.create | ( | self, | |
tdirectory | |||
) |
Create and return the histogram from a TDirectory
Definition at line 512 of file plotting.py.
References plotting._getOrCreateObject(), plotting.ROC._xhistoName, plotting.ROC._yhistoName, hcaldqm::Container2D._zaxis, hcaldqm::ContainerSingle2D._zaxis, and plotting.ROC._zaxis.
|
private |
Definition at line 503 of file plotting.py.
Referenced by plotting.ROC.__str__(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), 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 504 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 505 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 506 of file plotting.py.
Referenced by plotting.ROC.create().