28main = b2.create_path()
29DR2 =
'/ghi/fs01/belle2/bdata/users/karim/MC/DR2/release-02-01-00/eegamma/cdst/eegamma_1.root'
30main.add_module(
'RootInput', inputFileNames=[DR2])
33outputName =
"ee5x5CollectorOutput_mc.root"
35 outputName = sys.argv[1]
36main.add_module(
"HistoManager", histoFileName=outputName)
38eclee5x5 = b2.register_module(
'eclee5x5Collector')
39eclee5x5.param(
'thetaLabMinDeg', 17.)
40eclee5x5.param(
'thetaLabMaxDeg', 150.)
41eclee5x5.param(
'minE0', 0.45)
42eclee5x5.param(
'minE1', 0.40)
43eclee5x5.param(
'maxdThetaSum', 2.)
44eclee5x5.param(
'dPhiScale', 1.)
45eclee5x5.param(
'maxTime', 10.)
47eclee5x5.param(
'useCalDigits',
True)
48eclee5x5.param(
'requireL1',
False)
49main.add_module(eclee5x5)
51main.add_module(
'Progress')
53b2.set_log_level(b2.LogLevel.INFO)
58b2.use_database_chain()
59b2.use_central_database(
"Calibration_Offline_Development")
60b2.use_local_database(
"localdb/database.txt")