Public Member Functions | |
def | __init__ |
def | __str__ |
def | create |
Private Attributes | |
_assoc | |
_dup | |
_name | |
_reco | |
_title | |
Class to calculate the fake+duplicate rate
Definition at line 189 of file plotting.py.
def plotting.FakeDuplicate.__init__ | ( | self, | |
name, | |||
assoc, | |||
dup, | |||
reco, | |||
title = "" |
|||
) |
Constructor. Arguments: name -- String for the name of the resulting efficiency histogram assoc -- String for the name of the "associated" histogram dup -- String for the name of the "duplicates" histogram reco -- String for the name of the "reco" (denominator) histogram Keyword arguments: title -- String for a title of the resulting histogram (default "") The result is calculated as 1 - (assoc - dup) / reco
Definition at line 191 of file plotting.py.
def plotting.FakeDuplicate.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 211 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, Vispa.Views.PropertyView.Property._name, and SequenceTypes.SequencePlaceholder._name.
def plotting.FakeDuplicate.create | ( | self, | |
tdirectory | |||
) |
Create and return the fake+duplicate histogram from a TDirectory
Definition at line 215 of file plotting.py.
References ECALClusterImporter._assoc, plotting.FakeDuplicate._assoc, plotting.FakeDuplicate._dup, plotting._getObject(), 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, ElectronMVAEstimatorRun2Spring15Trig._name, GeometricDetExtra._name, ElectronMVAEstimatorRun2Spring15NonTrig._name, HistoParams< TH2F >._name, plotting.Subtract._name, HistoParams< TProfile2D >._name, plotting.FakeDuplicate._name, Vispa.Views.PropertyView.Property._name, SequenceTypes.SequencePlaceholder._name, plotting.FakeDuplicate._reco, HistoParams< T >._title, HistoParams< TH2F >._title, plotting.Subtract._title, HistoParams< TProfile2D >._title, plotting.FakeDuplicate._title, html.PageSet._title, and html.HtmlReport._title.
|
private |
Definition at line 206 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 207 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 205 of file plotting.py.
Referenced by plotting.FakeDuplicate.__str__(), plotting.AggregateBins.__str__(), plotting.AggregateHistos.__str__(), plotting.ROC.__str__(), plotting.Plot._createOne(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), plotting.FakeDuplicate.create(), plotting.AggregateBins.create(), plotting.AggregateHistos.create(), plotting.PlotGroup.draw(), plotting.Plot.getName(), plotting.PlotterFolder.getName(), plotting.PlotterFolder.getSelectionNameIterator(), validation.SimpleSample.name(), and plotting.PlotterItem.readDirs().
|
private |
Definition at line 208 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 209 of file plotting.py.
Referenced by plotting.FakeDuplicate.create(), and plotting.Plot.create().