41 def finder_module(path):
42 """Add the ToCDCCKF module and related modules to the basf2 path"""
43
44 path.add_module('SetupGenfitExtrapolation',
45 energyLossBrems=False, noiseBrems=False)
46
48 tracking.add_vxd_track_finding_vxdtf2(path, reco_tracks="RecoTracksSVD", components=["SVD"])
49 path.add_module("DAFRecoFitter", recoTracksStoreArrayName="RecoTracksSVD")
50
51 path.add_module("TFCDC_WireHitPreparer",
52 wirePosition="aligned",
53 useSecondHits=False,
54 flightTimeEstimation="outwards")
55 path.add_module("ToCDCCKF",
56 inputWireHits="CDCWireHitVector",
57 inputRecoTrackStoreArrayName="RecoTracksSVD",
58 relatedRecoTrackStoreArrayName="CKFCDCRecoTracks",
59 relationCheckForDirection="backward",
60 outputRecoTrackStoreArrayName="CKFCDCRecoTracks",
61 outputRelationRecoTrackStoreArrayName="RecoTracksSVD",
62 writeOutDirection="backward",
63 stateBasicFilterParameters={"maximalHitDistance": 0.75},
64 stateExtrapolationFilterParameters={"direction": "forward"},
65 pathFilter="arc_length")
66
67 path.add_module("RelatedTracksCombiner",
68 CDCRecoTracksStoreArrayName="CKFCDCRecoTracks",
69 VXDRecoTracksStoreArrayName="RecoTracksSVD",
70 recoTracksStoreArrayName="RecoTracks")
71
72 path.add_module("DAFRecoFitter", recoTracksStoreArrayName="RecoTracks")
73
74 path.add_module('TrackCreator', recoTrackColName='RecoTracks')
75
def add_svd_reconstruction(path, isROIsimulation=False, createRecoDigits=False, applyMasking=False)