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