29 main = b2.create_path()
30 DR2 =
'/hsm/belle2/bdata/Data/release-02-01-00/DB00000438/prod00000006/e0003/4S/r00529/all/cdst/sub00/*.root'
31 main.add_module(
'RootInput', inputFileNames=[DR2])
34 outputName =
"ee5x5CollectorOutput_data.root"
36 outputName = sys.argv[1]
37 main.add_module(
"HistoManager", histoFileName=outputName)
39 eclee5x5 = b2.register_module(
'eclee5x5Collector')
40 eclee5x5.param(
'thetaLabMinDeg', 17.)
41 eclee5x5.param(
'thetaLabMaxDeg', 150.)
42 eclee5x5.param(
'minE0', 0.45)
43 eclee5x5.param(
'minE1', 0.40)
44 eclee5x5.param(
'maxdThetaSum', 2.)
45 eclee5x5.param(
'dPhiScale', 1.)
46 eclee5x5.param(
'maxTime', 10.)
48 eclee5x5.param(
'useCalDigits',
False)
49 eclee5x5.param(
'requireL1',
False)
50 main.add_module(eclee5x5)
52 main.add_module(
'Progress')
54 b2.set_log_level(b2.LogLevel.INFO)
59 b2.use_database_chain()
60 b2.use_central_database(
"Calibration_Offline_Development")
61 b2.use_local_database(
"localdb/database.txt")