14deserializerpxd = b2.register_module(
'DeSerializerPXD')
15deserializerpxd.param(
'Port', 1025)
16deserializerpxd.param(
'HostName',
'127.0.0.1')
18unpacker = b2.register_module(
'PXDUnpacker')
19unpacker.param(
'HeaderEndianSwap',
False)
21histoman = b2.register_module(
'HistoManager')
22histoman.param(
'histoFileName',
'your_histo_file.root')
24simpleoutput = b2.register_module(
'RootOutput')
25simpleoutput.param(
'outputFileName',
'PXDRawHit.root')
26simpleoutput.param(
'compressionLevel', 0)
28main = b2.create_path()
30main.add_module(deserializerpxd)
31main.add_module(histoman)
32main.add_module(unpacker)
33main.add_module(
'PXDRawDQM')
34main.add_module(
'PXDROIDQM')
35main.add_module(
'Progress')
36main.add_module(simpleoutput)