Belle II Software
development
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
crossTalkSkim_util.py
1
# !/usr/bin/env python
2
3
10
11
#
12
# util to skim out cross talk event in the origami sensors
13
#
14
# requires svdCrossTalkFinderModule to have flagged events in
15
# SVDEventInfo
16
#
17
# in order to use this function:
18
# import it:
19
# from svd.crossTalkSkim_utils import skimCrossTalkEventsModule
20
# and then use it:
21
# emptypath = create_path()
22
# skimCrossTalk.if_true(emptypath)
23
#
24
25
import
basf2
26
from
ROOT
import
Belle2
27
28
29
class
skimCrossTalkEventsModule
(basf2.Module):
30
"""
31
a basf2 python module to skim SVD xTalk events
32
"""
33
34
def
event
(self):
35
"""
36
check
if
the xTalk flag
is
set
and
return
1
in
this case
37
"""
38
39
svdEventInfo =
Belle2.PyStoreObj
('SVDEventInfo'
)
40
41
if
svdEventInfo.isCrossTalkEvent():
42
43
self.return_value(1)
44
45
else
:
46
47
self.return_value(0)
Belle2::PyStoreObj
a (simplified) python wrapper for StoreObjPtr.
Definition:
PyStoreObj.h:67
svd.crossTalkSkim_util.skimCrossTalkEventsModule
Definition:
crossTalkSkim_util.py:29
svd.crossTalkSkim_util.skimCrossTalkEventsModule.event
def event(self)
Definition:
crossTalkSkim_util.py:34
svd
scripts
svd
crossTalkSkim_util.py
Generated on Thu Apr 10 2025 02:41:09 for Belle II Software by
1.9.6