Belle II Software  release-08-01-10
PlotClusterPositionEstimatorPayload Class Reference
Inheritance diagram for PlotClusterPositionEstimatorPayload:
Collaboration diagram for PlotClusterPositionEstimatorPayload:

Public Member Functions

def __init__ (self, resultdir)
 
def event (self)
 
def average_covariance (self, shape_classifier)
 
def plot (self)
 
def get_classifier_stats (self, shape_classifier, pixelkind)
 

Public Attributes

 position_estimator
 Position estimator payload.
 
 resultdir
 Directory to put all plots.
 
 counter
 Counter for number of different payloads.
 

Detailed Description

Plot the PXDClusterPositionEstimator playload 

Definition at line 24 of file plotPXDPositionEstimator.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  resultdir 
)
Initialize

Definition at line 27 of file plotPXDPositionEstimator.py.

27  def __init__(self, resultdir):
28  """Initialize"""
29  super().__init__() # don't forget to call parent constructor
30 
31  self.position_estimator = Belle2.PyDBObj('PXDClusterPositionEstimatorPar')
32 
33  self.resultdir = resultdir
34 
35  self.counter = 0
36 
Class to access a DBObjPtr from Python.
Definition: PyDBObj.h:50

Member Function Documentation

◆ average_covariance()

def average_covariance (   self,
  shape_classifier 
)
Compute the average covariance for a shape classifier

Definition at line 46 of file plotPXDPositionEstimator.py.

◆ event()

def event (   self)
Plot position payload in case it has changed

Definition at line 37 of file plotPXDPositionEstimator.py.

◆ get_classifier_stats()

def get_classifier_stats (   self,
  shape_classifier,
  pixelkind 
)
Compute some statistics for a shape classifier

Definition at line 240 of file plotPXDPositionEstimator.py.

◆ plot()

def plot (   self)
Plot position estimator payload

Definition at line 68 of file plotPXDPositionEstimator.py.


The documentation for this class was generated from the following file: