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

Public Member Functions

def initialize (self)
 
def event (self)
 

Public Attributes

 mc
 MCParticles StoreArray.
 

Detailed Description

Reject tracks with bad combination of z0 and theta

Definition at line 94 of file firm2d.py.

Member Function Documentation

◆ event()

def event (   self)
Reject tracks with bad combination of z0 and theta

Definition at line 106 of file firm2d.py.

106  def event(self):
107  """
108  Reject tracks with bad combination of z0 and theta
109  """
110  self.return_value(0)
111  z0 = self.mc[0].getVertex().Z()
112  vec = self.mc[0].getMomentum()
113  # skip the event if the track didn't reach SL0
114  if z_SL0[0] < z0 + r_SL0 / vec.Pt() * vec.Z() < z_SL0[1]:
115  self.return_value(1)
116 
117 
118 main.add_module('Progress')
119 

◆ initialize()

def initialize (   self)
Initialize self.mc with MCParticles StoreArray

Definition at line 99 of file firm2d.py.


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