24 main = b2.create_path()
27 roinput = b2.register_module(
'SeqRootInput')
29 main.add_module(roinput)
32 output_calib_path = b2.create_path()
33 output = b2.register_module(
'RootOutput')
34 output.param(
'outputFileName',
"calib_mumu.root")
35 output_calib_path.add_module(output)
37 cut_decision = b2.register_module(
"TriggerSkim")
38 cut_decision.param(
'triggerLines', [
'software_trigger_cut&hlt&accept_2_tracks',
39 'software_trigger_cut&hlt&accept_mu_mu'])
40 cut_decision.param(
'expectedResult', 1)
42 cut_decision.if_value(
"==1", output_calib_path, b2.AfterConditionPath.CONTINUE)
43 main.add_module(cut_decision)
46 output_path = b2.create_path()
47 output = b2.register_module(
'RootOutput')
48 output.param(
'outputFileName',
"raw.root")
49 main.add_module(output)