13 from simulation
import add_simulation
14 from svd
import add_svd_reconstruction
19 bkgFiles = glob.glob(
'/sw/belle2/bkg/*.root')
21 simulateJitter =
False
27 tag =
"_Y4S_noJitter_noBKG_noROI_MCTF.root"
29 main = b2.create_path()
37 eventinfosetter = b2.register_module(
'EventInfoSetter')
38 eventinfosetter.param(
'expList', expList)
39 eventinfosetter.param(
'runList', [0])
40 eventinfosetter.param(
'evtNumList', [numEvents])
41 main.add_module(eventinfosetter)
42 main.add_module(
'EventInfoPrinter')
43 main.add_module(
'EvtGenInput')
48 usePXDDataReduction=ROIfinding,
49 simulateT0jitter=simulateJitter)
51 add_svd_reconstruction(main)
54 from tracking import add_tracking_reconstruction
55 add_tracking_reconstruction(
58 mcTrackFinding=MCTracking,
59 trackFitHypotheses=[211],
60 skipHitPreparerAdding=True)
63 tag = "_Y4S_jitter10ns_wBKG_noROI_MCTF.root"
64 clseval = b2.register_module('SVDClusterEvaluationTrueInfo')
65 clseval.param('outputFileName', "ClusterEvaluationTrueInfo" + str(tag))
66 main.add_module(clseval)
68 svdperf = b2.register_module('SVDPerformance')
69 svdperf.param('outputFileName', "SVDPerformance" + str(tag))
70 main.add_module(svdperf)
73 main.add_module(
'Progress')