39 def finder_module(path):
40 """Only run the following (necessary) modules"""
41 path.add_module('SetupGenfitExtrapolation',
42 energyLossBrems=False, noiseBrems=False)
43
45
46
47 path.add_module('TrackFinderMCTruthRecoTracks',
48 RecoTracksStoreArrayName="MCRecoTracks",
49 WhichParticles=[],
50 UsePXDHits=False,
51 UseSVDHits=False,
52 UseCDCHits=True)
53
54 path.add_module("TFCDC_WireHitPreparer",
55 wirePosition="aligned",
56 useSecondHits=False,
57 flightTimeEstimation="outwards")
58
59 path.add_module("ToCDCFromEclCKF",
60 inputWireHits="CDCWireHitVector",
61 minimalEnRequirementCluster=0.3,
62 eclSeedRecoTrackStoreArrayName='EclSeedRecoTracks',
63 hitFindingDirection="backward",
64 outputRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
65 outputRelationRecoTrackStoreArrayName="EclSeedRecoTracks",
66 writeOutDirection="forward",
67 stateBasicFilterParameters={"maximalHitDistance": 7.5, "maximalHitDistanceEclSeed": 75.0},
68 stateExtrapolationFilterParameters={"direction": "backward"},
69 pathFilter="arc_length_fromEcl",
70 inputECLshowersStoreArrayName="ECLShowers",
71 trackFindingDirection="backward",
72 seedComponent="ECL"
73 )
74
75 path.add_module("ToCDCCKF",
76 inputWireHits="CDCWireHitVector",
77 inputRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
78 relatedRecoTrackStoreArrayName="RecoTracks",
79 relationCheckForDirection="backward",
80 outputRecoTrackStoreArrayName="RecoTracks",
81 outputRelationRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
82 writeOutDirection="backward",
83 stateBasicFilterParameters={"maximalHitDistance": 0.75},
84 stateExtrapolationFilterParameters={"direction": "forward"},
85 pathFilter="arc_length",
86 seedComponent="ECL"
87 )
88
89 path.add_module("DAFRecoFitter", recoTracksStoreArrayName="RecoTracks")
90
91 path.add_module('TrackCreator', recoTrackColName='RecoTracks')
92
93 path.add_module("MCRecoTracksMatcher",
94 mcRecoTracksStoreArrayName="MCRecoTracks",
95 prRecoTracksStoreArrayName="RecoTracks",
96 UseCDCHits=True,
97 UseSVDHits=False,
98 UsePXDHits=False)
99
def add_ecl_modules(path, components=None)