Belle II Software
release-05-02-19
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
k
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
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
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
"""
5
<header>
6
<contact>software-tracking@belle2.org</contact>
7
<input>EvtGenSimNoBkg.root</input>
8
<output>FullTrackingValidation.root</output>
9
<description>This script validates the full track finding chain in Y(4S) runs.</description>
10
</header>
11
"""
12
13
VALIDATION_OUTPUT_FILE =
'FullTrackingValidation.root'
14
N_EVENTS = 1000
15
ACTIVE =
True
16
17
import
basf2
18
basf2.set_random_seed(1337)
19
20
import
logging
21
import
tracking
22
23
from
tracking.validation.run
import
TrackingValidationRun
24
25
26
class
Full
(
TrackingValidationRun
):
27
"""Validate the full track-finding chain"""
28
29
n_events = N_EVENTS
30
31
generator_module =
'generic'
32
33
root_input_file =
'../EvtGenSimNoBkg.root'
34
35
finder_module = staticmethod(tracking.add_tracking_reconstruction)
36
37
tracking_coverage = {
38
'WhichParticles'
: [],
# Include all particles, also secondaries
39
'UsePXDHits'
:
True
,
40
'UseSVDHits'
:
True
,
41
'UseCDCHits'
:
True
,
42
"UseReassignedHits"
:
True
,
43
'UseNLoops'
: 1
44
}
45
47
fit_tracks =
False
48
49
use_fit_information =
True
50
51
use_expert_folder =
False
52
53
pulls =
True
54
55
resolution =
True
56
57
output_file_name = VALIDATION_OUTPUT_FILE
58
59
60
def
main
():
61
validation_run =
Full
()
62
validation_run.configure_and_execute_from_commandline()
63
64
65
if
__name__ ==
'__main__'
:
66
logging.basicConfig(level=logging.INFO)
67
if
ACTIVE:
68
main
()
fullTrackingValidation.Full
Definition:
fullTrackingValidation.py:26
tracking.validation.run
Definition:
run.py:1
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:77
tracking.validation.run.TrackingValidationRun
Definition:
run.py:18
tracking
validation
fullTrackingValidation.py
Generated on Tue Jan 4 2022 03:10:01 for Belle II Software by
1.8.17