Belle II Software development
Skim Class Reference
Inheritance diagram for Skim:

Public Member Functions

 initialize (self)
 
 event (self)
 

Public Attributes

 mc = Belle2.PyStoreArray('MCParticles')
 set MCParticles
 

Detailed Description

Reject tracks with bad combination of z0 and theta

Definition at line 69 of file z0_with_clone_suppression.py.

Member Function Documentation

◆ event()

event ( self)
event function of Skim

Definition at line 77 of file z0_with_clone_suppression.py.

77 def event(self):
78 """event function of Skim"""
79 self.return_value(0)
80
81 z0 = self.mc[0].getVertex().Z()
82
83 vec = self.mc[0].getMomentum()
84 # skip the event if the track didn't reach SL0
85 if z_SL0[0] < z0 + r_SL0 / vec.Pt() * vec.Z() < z_SL0[1]:
86 self.return_value(1)
87
88

◆ initialize()

initialize ( self)
Initialization of Skim

Definition at line 72 of file z0_with_clone_suppression.py.

72 def initialize(self):
73 """Initialization of Skim"""
74
75 self.mc = Belle2.PyStoreArray('MCParticles')
76
A (simplified) python wrapper for StoreArray.

Member Data Documentation

◆ mc

mc = Belle2.PyStoreArray('MCParticles')

set MCParticles

Definition at line 75 of file z0_with_clone_suppression.py.


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