13 <input>EvtGenSimRec.root, EvtGenSimRec_B2Kpi.root</input>
14 <output>TOPNtuple.root</output>
15 <contact>marko.staric@ijs.si</contact>
16 <description>Makes a flat ntuple
with TOP PID, track info
and MC truth </description>
22# ---------------------------------------------------------------
23# Make a flat ntuple for validation of top package
24# ---------------------------------------------------------------
26# Suppress messages and warnings during processing:
27b2.set_log_level(b2.LogLevel.ERROR)
30main = b2.create_path()
33roinput = b2.register_module('RootInput')
34roinput.param('inputFileNames', ['../EvtGenSimRec_B2Kpi.root',
35 '../EvtGenSimRec.root'])
36main.add_module(roinput)
39gearbox = b2.register_module(
'Gearbox')
40main.add_module(gearbox)
43geometry = b2.register_module(
'Geometry')
44geometry.param(
'components', [
'MagneticField',
'TOP'])
45main.add_module(geometry)
48output = b2.register_module(
'TOPNtuple')
49output.param(
'outputFileName',
'../TOPNtuple.root')
50main.add_module(output)
53main.add_module(
'Progress')