26main = b2.create_path()
27DR2 =
'/ghi/fs01/belle2/bdata/users/karim/MC/DR2/release-00-09-02/mdst_calib/*.root'
28main.add_module(
'RootInput', inputFileNames=[DR2])
31outputName =
"eclMuMuECollectorOutput.root"
33 outputName = sys.argv[1]
34main.add_module(
"HistoManager", histoFileName=outputName)
37gearbox = b2.register_module(
'Gearbox')
38main.add_module(gearbox)
39geometry = b2.register_module(
'Geometry')
40main.add_module(geometry)
41main.add_module(
"SetupGenfitExtrapolation")
42ext = b2.register_module(
'Ext')
46ext.param(
'pdgCodes', pdgcodes)
50eclMuMuE = b2.register_module(
'eclMuMuECollector')
51eclMuMuE.param(
'minPairMass', 9.0)
52eclMuMuE.param(
'minTrackLength', 30.)
53eclMuMuE.param(
'MaxNeighbourE', 0.010)
54eclMuMuE.param(
'thetaLabMinDeg', 17.)
55eclMuMuE.param(
'thetaLabMaxDeg', 150.)
57eclMuMuE.param(
'measureTrueEnergy',
False)
58eclMuMuE.param(
'requireL1',
True)
59main.add_module(eclMuMuE)
61main.add_module(
'Progress')
63b2.set_log_level(b2.LogLevel.INFO)
68b2.use_database_chain()
69b2.use_central_database(
"development")
70b2.use_local_database(
"localdb/database.txt")