Belle II Software  release-05-02-19
CheckTrueHits Class Reference
Inheritance diagram for CheckTrueHits:
Collaboration diagram for CheckTrueHits:

Public Member Functions

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

Public Attributes

 truehit_stats_pxd
 TrueHit statistics for the PXD.
 
 truehit_stats_svd
 Truehit statistics for the SVD.
 

Detailed Description

Lists TrueHits with MCParticles and SimHits that generated them.

Definition at line 10 of file PrintTrueHits.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Initialize the module

Definition at line 16 of file PrintTrueHits.py.

16  def __init__(self):
17  """Initialize the module"""
18 
19  super(CheckTrueHits, self).__init__()
20 
21  self.truehit_stats_pxd = {
22  'through': {'total': 0, 'secondary': 0, 'remapped': 0},
23  'into': {'total': 0, 'secondary': 0, 'remapped': 0},
24  'out': {'total': 0, 'secondary': 0, 'remapped': 0},
25  'inside': {'total': 0, 'secondary': 0, 'remapped': 0}
26  }
27 
28  self.truehit_stats_svd = {
29  'through': {'total': 0, 'secondary': 0, 'remapped': 0},
30  'into': {'total': 0, 'secondary': 0, 'remapped': 0},
31  'out': {'total': 0, 'secondary': 0, 'remapped': 0},
32  'inside': {'total': 0, 'secondary': 0, 'remapped': 0}
33  }
34 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
Does nothing 

Definition at line 38 of file PrintTrueHits.py.

◆ event()

def event (   self)
List VXD TrueHits, the MCParticles that generated them, related
SimHits, and check the reconstruction of the mid-point parameters.

Definition at line 41 of file PrintTrueHits.py.

◆ initialize()

def initialize (   self)
Does nothing 

Definition at line 35 of file PrintTrueHits.py.

◆ terminate()

def terminate (   self)
Write results 

Definition at line 281 of file PrintTrueHits.py.


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