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

Public Member Functions

def __init__ (self)
 
def initialize (self)
 
def beginRun (self)
 
def event (self)
 
def terminate (self)
 

Public Attributes

 sign_stats_pxd
 Relation sign statistics for PXDClusters.
 
 sign_stats_svd
 Relation sign statistics for PXDClusters.
 

Detailed Description

Lists signs of MCParticle relation weights for VXD Clusters based on
MCParticle and TrueHit information.
Breakdown of data:
MCParticle primary/secondary/remapped/none (no relation to MCParticle)
Relation sign positive/negative

Definition at line 20 of file CheckNegativeWeights.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Initialize the module

Definition at line 30 of file CheckNegativeWeights.py.

30  def __init__(self):
31  """Initialize the module"""
32 
33  super(CheckNegativeWeights, self).__init__()
34 
35  self.sign_stats_pxd = {
36  'primary': {'positive': 0, 'negative': 0},
37  'secondary': {'positive': 0, 'negative': 0},
38  'remapped': {'positive': 0, 'negative': 0},
39  'none': {'positive': 0, 'negative': 0}
40  }
41 
42  self.sign_stats_svd = {
43  'primary': {'positive': 0, 'negative': 0},
44  'secondary': {'positive': 0, 'negative': 0},
45  'remapped': {'positive': 0, 'negative': 0},
46  'none': {'positive': 0, 'negative': 0}
47  }
48 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
 Does nothing 

Definition at line 52 of file CheckNegativeWeights.py.

◆ event()

def event (   self)
Goes through event's PXD and SVD clusters and looks at MCParticles
and TrueHits relations for the sign of relations.

Definition at line 55 of file CheckNegativeWeights.py.

◆ initialize()

def initialize (   self)
 Does nothing 

Definition at line 49 of file CheckNegativeWeights.py.

◆ terminate()

def terminate (   self)
 Write results 

Definition at line 152 of file CheckNegativeWeights.py.


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