26main = b2.create_path()
27DR2 =
'/ghi/fs01/belle2/bdata/users/karim/MC/DR2/release-01-00-00/gg/mdst/gg_0.root'
28main.add_module(
'RootInput', inputFileNames=[DR2])
31outputName =
"eclGammaGammaECollectorOutput.root"
33 outputName = sys.argv[1]
34main.add_module(
"HistoManager", histoFileName=outputName)
36eclGammaGammaE = b2.register_module(
'eclGammaGammaECollector')
37eclGammaGammaE.param(
'thetaLabMinDeg', 0.)
38eclGammaGammaE.param(
'thetaLabMaxDeg', 180.)
39eclGammaGammaE.param(
'minPairMass', 9.)
40eclGammaGammaE.param(
'mindPhi', 179.)
41eclGammaGammaE.param(
'maxTime', 1.)
43eclGammaGammaE.param(
'measureTrueEnergy',
False)
44eclGammaGammaE.param(
'requireL1',
True)
45main.add_module(eclGammaGammaE)
47main.add_module(
'Progress')
49b2.set_log_level(b2.LogLevel.INFO)
54b2.use_database_chain()
55b2.use_central_database(
"development")
56b2.use_local_database(
"localdb/database.txt")