14rawinput = b2.register_module(
'PXDReadRawONSEN')
15rawinput.param(
'FileName',
'map.dat')
17rawinput2 = b2.register_module(
'PXDReadRawONSEN')
18rawinput2.param(
'SetEvtMeta',
False)
19rawinput2.param(
'FileName',
'map2.dat')
21unpacker = b2.register_module(
'PXDUnpacker')
25histoman = b2.register_module(
'HistoManager')
26histoman.param(
'histoFileName',
'map_HISTO.root')
28simpleoutput = b2.register_module(
'RootOutput')
29simpleoutput.param(
'outputFileName',
'map_RAW.root')
30simpleoutput.param(
'compressionLevel', 0)
32main = b2.create_path()
34main.add_module(rawinput)
35main.add_module(rawinput2)
36main.add_module(histoman)
37main.add_module(unpacker)
38main.add_module(
'PXDRawDQM')
39main.add_module(
'PXDROIDQM')
40main.add_module(
'Progress')
41main.add_module(simpleoutput)