24 import simulation
as simu
25 import tracking
as trk
30 if len(sys.argv) == 2:
34 main = b2.create_path()
39 eventinfosetter = b2.register_module(
'EventInfoSetter')
40 eventinfosetter.param(
'expList', [0])
41 eventinfosetter.param(
'runList', [1])
42 eventinfosetter.param(
'evtNumList', [10])
43 main.add_module(eventinfosetter)
46 main.add_module(
'EvtGenInput')
49 bkgDir =
'/group/belle2/BGFile/OfficialBKG/early_phase3/prerelease-04-00-00a/overlay/phase31/BGx1/set0/*.root'
50 bg = glob.glob(bkgDir)
52 b2.B2ERROR(
'No files found in ', bkgDir)
54 simu.add_simulation(main, bkgfiles=bg, usePXDDataReduction=
False, forceSetPXDDataReduction=
True)
57 trk.add_tracking_reconstruction(main)
61 'SVDZeroSuppressionEmulator',
63 ShaperDigits=
'SVDShaperDigits',
64 ShaperDigitsIN=
'SVDShaperDigitsZS5',
67 main.add_module(SVDExtraEventStatisticsModule(
"SVDExecutionTime_"+str(tag)+
".root"))
69 main.add_module(
'Progress')