19 input1 = basf2.register_module(
'RootInput')
20 input1.param(
'inputFileName', basf2.find_file(
'embedding_jpsi_exp12_skim.root',
'examples'))
21 main.add_module(input1).set_name(
"--input_main--")
24 input2 = basf2.register_module(
'RootInput')
25 input2.param(
'inputFileName', basf2.find_file(
'embedding_kplusnunu_mcsig_skim.root',
'examples'))
26 input2.param(
'isSecondaryInput',
True)
27 indep.add_module(input2).set_name(
"input_indep")
34 main.add_independent_merge_path(
37 consistency_check=
"charge",
38 merge_back_event=[
'ALL'],
43 main.add_module(
'FixMergedObjects')
46 output = basf2.register_module(
'RootOutput')
47 output.param(
'outputFileName',
'merged_10evts.root')
48 main.add_module(output)
51 main.add_module(
'Progress')
53 basf2.print_path(main)
56 print(basf2.statistics)