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