Belle II Software
release-08-01-10
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
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
u
v
w
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
# -*- coding: utf-8 -*-
3
4
11
12
#
13
# util to skim out cross talk event in the origami sensors
14
#
15
# requires svdCrossTalkFinderModule to have flagged events in
16
# SVDEventInfo
17
#
18
# in order to use this function:
19
# import it:
20
# from svd.crossTalkSkim_utils import skimCrossTalkEventsModule
21
# and then use it:
22
# emptypath = create_path()
23
# skimCrossTalk.if_true(emptypath)
24
#
25
26
import
basf2
27
from
ROOT
import
Belle2
28
29
30
class
skimCrossTalkEventsModule
(basf2.Module):
31
"""
32
a basf2 pythin module to skim SVD xTalk events
33
"""
34
35
def
event
(self):
36
"""
37
check if the xTalk flag is set and return 1 in this case
38
"""
39
40
svdEventInfo =
Belle2.PyStoreObj
(
'SVDEventInfo'
)
41
42
if
svdEventInfo.isCrossTalkEvent():
43
44
self.return_value(1)
45
46
else
:
47
48
self.return_value(0)
Belle2::PyStoreObj
a (simplified) python wrapper for StoreObjPtr.
Definition:
PyStoreObj.h:67
svd.crossTalkSkim_util.skimCrossTalkEventsModule
Definition:
crossTalkSkim_util.py:30
svd.crossTalkSkim_util.skimCrossTalkEventsModule.event
def event(self)
Definition:
crossTalkSkim_util.py:35
svd
scripts
svd
crossTalkSkim_util.py
Generated on Mon Sep 23 2024 14:04:21 for Belle II Software by
1.9.1