Public Member Functions | |
def | __init__ (self, name, assoc, dup, reco, title="") |
def | __str__ (self) |
def | create (self, tdirectory) |
Private Attributes | |
_assoc | |
_dup | |
_name | |
_reco | |
_title | |
Class to calculate the fake+duplicate rate
Definition at line 846 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 848 of file plotting.py.
def plotting.FakeDuplicate.__str__ | ( | self | ) |
String representation, returns the name
Definition at line 868 of file plotting.py.
References FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, WValidation._name, DrellYanValidation._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, and SequenceTypes._TaskBasePlaceholder._name.
def plotting.FakeDuplicate.create | ( | self, | |
tdirectory | |||
) |
Create and return the fake+duplicate histogram from a TDirectory
Definition at line 872 of file plotting.py.
References SpecialClusterImporter< T >._assoc, plotting.FakeDuplicate._assoc, plotting.FakeDuplicate._dup, plotting._getObject(), FP420HitsObject._name, TrackerHitsObject._name, PGeometricDet::Item._name, TrackingRecHitAlgorithm._name, Logger._name, hcaldqm::DQModule._name, citk::IsolationConeDefinitionBase._name, WValidation._name, DrellYanValidation._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, SequenceTypes._TaskBasePlaceholder._name, plotting.FakeDuplicate._reco, HistoParams< T >._title, HistoParams< TH2F >._title, HistoParams< TProfile2D >._title, html.PageSet._title, plotting.Subtract._title, html.HtmlReport._title, plotting.Transform._title, plotting.FakeDuplicate._title, and FastTimerService_cff.range.
|
private |
Definition at line 863 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 864 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 862 of file plotting.py.
Referenced by plotting.FakeDuplicate.__str__(), plotting.CutEfficiency.__str__(), plotting.AggregateBins.__str__(), plotting.AggregateHistos.__str__(), plotting.ROC.__str__(), trackingPlots.TimePerEventPlot.__str__(), trackingPlots.TimePerTrackPlot.__str__(), trackingPlots.TimePerEventPlot._create(), plotting.PlotGroup._drawSeparate(), plotting.PlotGroup._save(), plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), plotting.AggregateBins.create(), plotting.AggregateHistos.create(), 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 865 of file plotting.py.
Referenced by plotting.FakeDuplicate.create().
|
private |
Definition at line 866 of file plotting.py.
Referenced by plotting.FakeDuplicate.create(), plotting.CutEfficiency.create(), and plotting.Plot.create().