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