29 main = b2.create_path()
30 DR2 =
'/ghi/fs01/belle2/bdata/users/karim/MC/DR2/release-02-01-00/eegamma/cdst/eegamma_1.root'
31 main.add_module(
'RootInput', inputFileNames=[DR2])
34 outputName =
"ee5x5CollectorOutput_mc.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',
True)
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")