22 import tracking
as trk
23 import simulation
as sim
32 main = b2.create_path()
40 bkgFiles = glob.glob(
'/sw/belle2/bkg/*.root')
42 simulateJitter =
False
45 eventinfosetter = b2.register_module(
'EventInfoSetter')
46 eventinfosetter.param(
'expList', expList)
47 eventinfosetter.param(
'runList', [0])
48 eventinfosetter.param(
'evtNumList', [numEvents])
49 main.add_module(eventinfosetter)
51 main.add_module(
'EvtGenInput')
56 forceSetPXDDataReduction=
True,
57 usePXDDataReduction=ROIfinding,
58 simulateT0jitter=simulateJitter)
68 main.add_module(
'RootInput', branchNames=[
'RawPXDs',
'RawSVDs',
'RawCDCs'])
69 raw.add_unpackers(main, components=[
'PXD',
'SVD',
'CDC'])
78 trk.add_tracking_reconstruction(
80 mcTrackFinding=MCTracking,
81 trackFitHypotheses=[211],
82 append_full_grid_cdc_eventt0=
True)
88 b2.set_module_parameters(main,
"SVDClusterizer", returnClusterRawTime=
True)
91 main.add_module(
'SVDPerformanceTTree', outputFileName=
"SVDPerformanceTree"+str(tag)+
".root")
92 main.add_module(
'OverlapResiduals', ExpertLevel=
True)
94 main.add_module(
'Progress')
def add_svd_create_recodigits(path, recocreatorName="SVDRecoDigitCreator", shaperDigitsName="")