12from simulation
import add_simulation
13from svd
import add_svd_reconstruction
18bkgFiles = glob.glob(
'/sw/belle2/bkg/*.root')
26tag =
"_Y4S_noJitter_noBKG_noROI_MCTF.root"
28main = b2.create_path()
36eventinfosetter = b2.register_module(
'EventInfoSetter')
37eventinfosetter.param(
'expList', expList)
38eventinfosetter.param(
'runList', [0])
39eventinfosetter.param(
'evtNumList', [numEvents])
40main.add_module(eventinfosetter)
41main.add_module(
'EventInfoPrinter')
42main.add_module(
'EvtGenInput')
47 usePXDDataReduction=ROIfinding,
48 simulateT0jitter=simulateJitter)
50add_svd_reconstruction(main)
53from tracking import add_tracking_reconstruction
54add_tracking_reconstruction(
57 mcTrackFinding=MCTracking,
58 trackFitHypotheses=[211],
59 skipHitPreparerAdding=
True)
62tag =
"_Y4S_jitter10ns_wBKG_noROI_MCTF.root"
63clseval = b2.register_module(
'SVDClusterEvaluationTrueInfo')
64clseval.param(
'outputFileName',
"ClusterEvaluationTrueInfo" + str(tag))
65main.add_module(clseval)
67svdperf = b2.register_module(
'SVDPerformance')
68svdperf.param(
'outputFileName',
"SVDPerformance" + str(tag))
69main.add_module(svdperf)
71# main.add_module('RootOutput')
72main.add_module('Progress')