Belle II Software  release-05-02-19
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 87 of file firm2d.py.

Member Function Documentation

◆ event()

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

Definition at line 99 of file firm2d.py.

99  def event(self):
100  """
101  Reject tracks with bad combination of z0 and theta
102  """
103  self.return_value(0)
104  z0 = self.mc[0].getVertex().Z()
105  vec = self.mc[0].getMomentum()
106  # skip the event if the track didn't reach SL0
107  if z_SL0[0] < z0 + r_SL0 / vec.Pt() * vec.Z() < z_SL0[1]:
108  self.return_value(1)
109 
110 
111 main.add_module('Progress')
112 

◆ initialize()

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

Definition at line 92 of file firm2d.py.


The documentation for this class was generated from the following file:
ClusterEfficiency.ClusterEfficiency.event
def event(self)
Definition: ClusterEfficiency.py:146