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