20b2.conditions.override_globaltags()
21b2.conditions.append_globaltag(
'online')
26main = b2.create_path()
30roinput = b2.register_module(
'RootInput')
31main.add_module(roinput)
37main.add_module(
'TOPGeometryParInitializer')
40unpack = b2.register_module(
'TOPUnpacker')
41main.add_module(unpack)
44converter = b2.register_module(
'TOPRawDigitConverter')
45converter.param(
'useSampleTimeCalibration',
True)
46converter.param(
'useChannelT0Calibration',
False)
47converter.param(
'useModuleT0Calibration',
False)
48converter.param(
'useCommonT0Calibration',
False)
49converter.param(
'calibrationChannel', 0)
50converter.param(
'calpulseHeightMin', 450)
51converter.param(
'calpulseHeightMax', 900)
52converter.param(
'calpulseWidthMin', 2.0)
53converter.param(
'calpulseWidthMax', 6.0)
54main.add_module(converter)
57output = b2.register_module(
'RootOutput')
58output.param(
'branchNames', [
'TOPDigits',
'TOPRawDigits',
'TOPProductionEventDebugs',
59 'TOPProductionHitDebugs',
'TOPRawDigitsToTOPProductionHitDebugs',
62main.add_module(output)
65progress = b2.register_module(
'Progress')
66main.add_module(progress)