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 375 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 377 of file plotting.py.
def plotting.ROC.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 393 of file plotting.py.
References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, LikelihoodSpecies._name, LikelihoodPdfProduct._name, LikelihoodPdf._name, citk::IsolationConeDefinitionBase._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, plotting.Subtract._name, HistoParams< TProfile2D >._name, plotting.FakeDuplicate._name, plotting.AggregateBins._name, plotting.AggregateHistos._name, plotting.ROC._name, Vispa.Views.PropertyView.Property._name, and SequenceTypes.SequencePlaceholder._name.
def plotting.ROC.create | ( | self, | |
tdirectory | |||
) |
Create and return the histogram from a TDirectory
Definition at line 397 of file plotting.py.
References plotting._getOrCreateObject(), plotting.ROC._xhistoName, plotting.ROC._yhistoName, and plotting.ROC._zaxis.
|
private |
Definition at line 388 of file plotting.py.
Referenced by plotting.ROC.__str__(), plotting.Plot._createOne(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), plotting.PlotGroup.draw(), plotting.Plot.getName(), plotting.PlotterFolder.getName(), plotting.PlotterFolder.getSelectionNameIterator(), validation.SimpleSample.name(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 389 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 390 of file plotting.py.
Referenced by plotting.ROC.create().
|
private |
Definition at line 391 of file plotting.py.
Referenced by plotting.ROC.create().