36 input_root_files =
'./' + release +
'/TV_reco_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
37 root_file_name_TRK =
'./' + release +
'/TV_TRK_analysis_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
38 root_file_name_V0 =
'./' + release +
'/TV_V0_analysis_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
40 print(
'Tracking Validation will run over these files: ')
41 print(input_root_files)
42 print(
'simulation: ' + roi +
' ' + bkg)
43 print(
'reconstruction ' + vxdtf)
46 path = b2.create_path()
48 root_input = b2.register_module(
'RootInput')
49 root_input.param(
'inputFileNames', input_root_files)
50 path.add_module(root_input)
52 gearbox = b2.register_module(
'Gearbox')
53 path.add_module(gearbox)
55 geometry = b2.register_module(
'Geometry')
57 path.add_module(geometry)
59 create_plots_TRK = b2.register_module(
'TrackingPerformanceEvaluation')
60 create_plots_TRK.param(
'outputFileName', root_file_name_TRK)
61 create_plots_TRK.logging.log_level = b2.LogLevel.INFO
62 path.add_module(create_plots_TRK)
64 create_plots_V0 = b2.register_module(
'V0findingPerformanceEvaluation')
65 create_plots_V0.param(
'outputFileName', root_file_name_V0)
66 create_plots_V0.logging.log_level = b2.LogLevel.INFO
67 path.add_module(create_plots_V0)
69 path.add_module(
'Progress')