21 b2.conditions.override_globaltags()
22 b2.conditions.append_globaltag(
'online')
27 main = b2.create_path()
31 roinput = b2.register_module(
'RootInput')
32 main.add_module(roinput)
38 main.add_module(
'TOPGeometryParInitializer')
41 unpack = b2.register_module(
'TOPUnpacker')
42 main.add_module(unpack)
45 converter = b2.register_module(
'TOPRawDigitConverter')
46 converter.param(
'useSampleTimeCalibration',
True)
47 converter.param(
'useChannelT0Calibration',
False)
48 converter.param(
'useModuleT0Calibration',
False)
49 converter.param(
'useCommonT0Calibration',
False)
50 converter.param(
'calibrationChannel', 0)
51 converter.param(
'calpulseHeightMin', 450)
52 converter.param(
'calpulseHeightMax', 900)
53 converter.param(
'calpulseWidthMin', 2.0)
54 converter.param(
'calpulseWidthMax', 6.0)
55 main.add_module(converter)
58 output = b2.register_module(
'RootOutput')
59 output.param(
'branchNames', [
'TOPDigits',
'TOPRawDigits',
'TOPProductionEventDebugs',
60 'TOPProductionHitDebugs',
'TOPRawDigitsToTOPProductionHitDebugs',
63 main.add_module(output)
66 progress = b2.register_module(
'Progress')
67 main.add_module(progress)