20 b2.conditions.override_globaltags()
21 b2.conditions.append_globaltag(
'online')
24 main = b2.create_path()
28 roinput = b2.register_module(
'RootInput')
29 main.add_module(roinput)
32 converter = b2.register_module(
'Convert2RawDet')
33 main.add_module(converter)
36 gearbox = b2.register_module(
'Gearbox')
37 gearbox.param(
'fileName',
'top/TOPSpareModule.xml')
38 main.add_module(gearbox)
41 main.add_module(
'TOPGeometryParInitializer', useDB=
False)
44 unpack = b2.register_module(
'TOPUnpacker')
45 main.add_module(unpack)
48 converter = b2.register_module(
'TOPRawDigitConverter')
49 converter.param(
'useSampleTimeCalibration',
False)
50 converter.param(
'useChannelT0Calibration',
False)
51 converter.param(
'useModuleT0Calibration',
False)
52 converter.param(
'useCommonT0Calibration',
False)
53 converter.param(
'lookBackWindows', 28)
54 converter.param(
'calibrationChannel', 0)
55 converter.param(
'calpulseHeightMin', 450)
56 converter.param(
'calpulseHeightMax', 900)
57 converter.param(
'calpulseWidthMin', 2.0)
58 converter.param(
'calpulseWidthMax', 6.0)
59 main.add_module(converter)
62 output = b2.register_module(
'RootOutput')
63 output.param(
'branchNames', [
'TOPDigits',
'TOPRawDigits',
'TOPProductionEventDebugs',
64 'TOPProductionHitDebugs',
'TOPRawDigitsToTOPProductionHitDebugs',
67 main.add_module(output)
70 progress = b2.register_module(
'Progress')
71 main.add_module(progress)