19 from ROOT
import Belle2
32 input_root_files =
'./' + release +
'/TV_reco_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
33 root_file_name_TRK =
'./' + release +
'/TV_TRK_analysis_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
34 root_file_name_V0 =
'./' + release +
'/TV_V0_analysis_' + bkg +
'_' + roi +
'_' + vxdtf +
'_' + release +
'.root'
36 print(
'Tracking Validation will run over these files: ')
37 print(input_root_files)
38 print(
'simulation: ' + roi +
' ' + bkg)
39 print(
'reconstruction ' + vxdtf)
44 root_input = register_module(
'RootInput')
45 root_input.param(
'inputFileNames', input_root_files)
46 path.add_module(root_input)
48 gearbox = register_module(
'Gearbox')
49 path.add_module(gearbox)
51 geometry = register_module(
'Geometry')
53 path.add_module(geometry)
55 create_plots_TRK = register_module(
'TrackingPerformanceEvaluation')
56 create_plots_TRK.param(
'outputFileName', root_file_name_TRK)
57 create_plots_TRK.logging.log_level = LogLevel.INFO
58 path.add_module(create_plots_TRK)
60 create_plots_V0 = register_module(
'V0findingPerformanceEvaluation')
61 create_plots_V0.param(
'outputFileName', root_file_name_V0)
62 create_plots_V0.logging.log_level = LogLevel.INFO
63 path.add_module(create_plots_V0)
65 path.add_module(
'Progress')