Belle II Software
release-06-00-14
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
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
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
fullTrackingValidationBkg.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
"""
13
<header>
14
<contact>software-tracking@belle2.org</contact>
15
<input>EvtGenSim.root</input>
16
<output>FullTrackingValidationBkg.root</output>
17
<description>This script validates the full track finding chain in Y(4S) runs with background.</description>
18
</header>
19
"""
20
21
from
tracking.validation.run
import
TrackingValidationRun
22
import
tracking
23
import
logging
24
import
basf2
25
VALIDATION_OUTPUT_FILE =
'FullTrackingValidationBkg.root'
26
N_EVENTS = 1000
27
ACTIVE =
True
28
29
basf2.set_random_seed(1337)
30
31
32
class
FullBkg
(
TrackingValidationRun
):
33
"""Validate the full track-finding chain, including background overlay"""
34
35
n_events = N_EVENTS
36
37
root_input_file =
'../EvtGenSim.root'
38
39
finder_module = staticmethod(tracking.add_tracking_reconstruction)
40
41
tracking_coverage = {
42
'WhichParticles'
: [],
# Include all particles, also secondaries
43
'UsePXDHits'
:
True
,
44
'UseSVDHits'
:
True
,
45
'UseCDCHits'
:
True
,
46
"UseReassignedHits"
:
True
,
47
'UseOnlyBeforeTOP'
:
True
,
48
'UseNLoops'
: 1
49
}
50
52
fit_tracks =
False
53
54
use_fit_information =
True
55
56
pulls =
True
57
58
resolution =
True
59
60
output_file_name = VALIDATION_OUTPUT_FILE
61
62
63
def
main
():
64
validation_run =
FullBkg
()
65
validation_run.configure_and_execute_from_commandline()
66
67
68
if
__name__ ==
'__main__'
:
69
logging.basicConfig(level=logging.INFO)
70
if
ACTIVE:
71
main
()
fullTrackingValidationBkg.FullBkg
Definition:
fullTrackingValidationBkg.py:32
tracking.validation.run.TrackingValidationRun
Definition:
run.py:25
tracking.validation.run
Definition:
run.py:1
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:75
tracking
validation
fullTrackingValidationBkg.py
Generated on Thu Jul 14 2022 08:15:45 for Belle II Software by
1.9.1