19b2.conditions.override_globaltags()
20b2.conditions.append_globaltag(
'online')
23main = b2.create_path()
27roinput = b2.register_module(
'RootInput')
28main.add_module(roinput)
31converter = b2.register_module(
'Convert2RawDet')
32main.add_module(converter)
35gearbox = b2.register_module(
'Gearbox')
36gearbox.param(
'fileName',
'top/TOPSpareModule.xml')
37main.add_module(gearbox)
40main.add_module(
'TOPGeometryParInitializer', useDB=
False)
43unpack = b2.register_module(
'TOPUnpacker')
44main.add_module(unpack)
47converter = b2.register_module(
'TOPRawDigitConverter')
48converter.param(
'useSampleTimeCalibration',
False)
49converter.param(
'useChannelT0Calibration',
False)
50converter.param(
'useModuleT0Calibration',
False)
51converter.param(
'useCommonT0Calibration',
False)
52converter.param(
'lookBackWindows', 28)
53converter.param(
'calibrationChannel', 0)
54converter.param(
'calpulseHeightMin', 450)
55converter.param(
'calpulseHeightMax', 900)
56converter.param(
'calpulseWidthMin', 2.0)
57converter.param(
'calpulseWidthMax', 6.0)
58main.add_module(converter)
61output = b2.register_module(
'RootOutput')
62output.param(
'branchNames', [
'TOPDigits',
'TOPRawDigits',
'TOPProductionEventDebugs',
63 'TOPProductionHitDebugs',
'TOPRawDigitsToTOPProductionHitDebugs',
66main.add_module(output)
69progress = b2.register_module(
'Progress')
70main.add_module(progress)