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
50 WhichParticles=[],
51 UsePXDHits=False,
52 UseSVDHits=False,
53 UseCDCHits=True)
54
55 path.add_module("TFCDC_WireHitPreparer",
56 wirePosition="aligned",
57 useSecondHits=False,
58 flightTimeEstimation="outwards")
59
60 path.add_module("ToCDCFromEclCKF",
61 inputWireHits="CDCWireHitVector",
62 minimalEnRequirementCluster=0.3,
63 eclSeedRecoTrackStoreArrayName='EclSeedRecoTracks',
64 hitFindingDirection="backward",
65 outputRecoTrackStoreArrayName="RecoTracks",
66 outputRelationRecoTrackStoreArrayName="EclSeedRecoTracks",
67 writeOutDirection="forward",
68 stateBasicFilterParameters={"maximalHitDistance": 7.5, "maximalHitDistanceEclSeed": 75.0},
69 stateExtrapolationFilterParameters={"direction": "backward"},
70 pathFilter="arc_length_fromEcl",
71 inputECLshowersStoreArrayName="ECLShowers",
72 trackFindingDirection="backward",
73 seedComponent="ECL"
74 )
75
76 path.add_module("DAFRecoFitter", recoTracksStoreArrayName="RecoTracks")
77
78 path.add_module('TrackCreator', recoTrackColName='RecoTracks')
79
80 path.add_module("MCRecoTracksMatcher",
81 mcRecoTracksStoreArrayName="MCRecoTracks",
82 prRecoTracksStoreArrayName="RecoTracks",
83 UseCDCHits=True,
84 UseSVDHits=False,
85 UsePXDHits=False)
86
def add_ecl_modules(path, components=None)