Belle II Software
release-06-02-00
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
fullTrackingValidation.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>EvtGenSimNoBkg.root</input>
16
<output>FullTrackingValidation.root</output>
17
<description>This script validates the full track finding chain in Y(4S) runs.</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 =
'FullTrackingValidation.root'
26
N_EVENTS = 1000
27
ACTIVE =
True
28
29
basf2.set_random_seed(1337)
30
31
32
class
Full
(
TrackingValidationRun
):
33
"""Validate the full track-finding chain"""
34
35
n_events = N_EVENTS
36
37
generator_module =
'generic'
38
39
root_input_file =
'../EvtGenSimNoBkg.root'
40
41
finder_module = staticmethod(tracking.add_tracking_reconstruction)
42
43
tracking_coverage = {
44
'WhichParticles'
: [],
# Include all particles, also secondaries
45
'UsePXDHits'
:
True
,
46
'UseSVDHits'
:
True
,
47
'UseCDCHits'
:
True
,
48
"UseReassignedHits"
:
True
,
49
'UseNLoops'
: 1
50
}
51
53
fit_tracks =
False
54
55
use_fit_information =
True
56
57
use_expert_folder =
False
58
59
pulls =
True
60
61
resolution =
True
62
63
output_file_name = VALIDATION_OUTPUT_FILE
64
65
66
def
main
():
67
validation_run =
Full
()
68
validation_run.configure_and_execute_from_commandline()
69
70
71
if
__name__ ==
'__main__'
:
72
logging.basicConfig(level=logging.INFO)
73
if
ACTIVE:
74
main
()
fullTrackingValidation.Full
Definition:
fullTrackingValidation.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
fullTrackingValidation.py
Generated on Thu Dec 28 2023 02:39:47 for Belle II Software by
1.9.1