Belle II Software development
fullTrackingValidation_releaseValidation.py
1#!/usr/bin/env python3
2
3
10
11"""
12 This script runs the tracking validation on cdst samples like done for the release validation.
13 See produceSample_releaseValidation.py (same folder) for additional branches.
14"""
15
16
17from basf2 import set_random_seed
18from tracking.validation.run import TrackingValidationRun
19import logging
20
21set_random_seed(1337)
22
23
24class Full(TrackingValidationRun):
25 """
26 Validate the full track-finding chain for the release validation
27 using the special samples (cdst with additional branches)
28 """
29
30 n_events = 10000
31
32 generator_module = 'generic'
33
34 root_input_file = './validationSample.root'
35
36
37 def finder_module(self, path):
38 pass
39
40
41 recoTracksName = 'RecoTracks'
42
43 fit_tracks = False
44
45 use_fit_information = True
46
47 mc_tracking = False
48
49 extended = True
50
51 pulls = True
52
53 resolution = True
54
55 saveFullTrees = True
56
57 output_file_name = './FullTrackingValidation_validationSample.root'
58
59
60
61def main():
62 validation_run = Full()
63 validation_run.configure_and_execute_from_commandline()
64
65
66if __name__ == '__main__':
67 logging.basicConfig(level=logging.INFO)
68 main()
69
None finder_module
Name of the finder module to be used - can be everything that is accepted by tracking....
Definition: main.py:1