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

Public Member Functions

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

Public Attributes

 nSecondariesPXD
 Number of secondaries that generated a PXDTrueHit.
 
 nSecondariesSVD
 Number of secondaries that generated an SVD TrueHit.
 
 nMCParticles
 Total number of MCParticles.
 
 nSecondaries
 Total number of secondary MCParticles.
 
 processesPXD
 List of processes that generated secondaries in PXD.
 
 processesSVD
 List of processes that generated secondaries in SVD.
 

Detailed Description

Counts MCParticles that generate TrueHits.

Definition at line 18 of file SavedMCParticles.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Initialize the module

Definition at line 24 of file SavedMCParticles.py.

24  def __init__(self):
25  """Initialize the module"""
26 
27  super(CheckMCParticles, self).__init__()
28 
29  self.nSecondariesPXD = 0
30 
31  self.nSecondariesSVD = 0
32 
33  self.nMCParticles = 0
34 
35  self.nSecondaries = 0
36 
37  self.processesPXD = []
38 
39  self.processesSVD = []
40 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
 Does nothing 

Definition at line 44 of file SavedMCParticles.py.

◆ event()

def event (   self)
Count the number of MCParticles related to a VXD TrueHit

Definition at line 47 of file SavedMCParticles.py.

◆ initialize()

def initialize (   self)
 Does nothing 

Definition at line 41 of file SavedMCParticles.py.

◆ terminate()

def terminate (   self)
 Write results 

Definition at line 66 of file SavedMCParticles.py.


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