CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MergeTrackCollections_cff.py
Go to the documentation of this file.
2 
3 import RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi
4 # Track filtering and quality.
5 # input: zeroStepTracksWithQuality,preMergingFirstStepTracksWithQuality,secStep,thStep,pixellessStep
6 # output: generalTracks
7 # sequence: trackCollectionMerging
8 
9 #
10 
11 firstStepTracksWithQuality = RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi.simpleTrackListMerger.clone(
12  TrackProducer1 = 'zeroStepTracksWithQuality',
13  TrackProducer2 = 'preMergingFirstStepTracksWithQuality',
14  promoteTrackQuality = False
15  )
16 
17 
18 merge2nd3rdTracks = RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi.simpleTrackListMerger.clone(
19  TrackProducer1 = 'secStep',
20  TrackProducer2 = 'thStep',
21  promoteTrackQuality = True
22  )
23 
24 merge4th5thTracks = RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi.simpleTrackListMerger.clone(
25  TrackProducer1 = 'pixellessStep',
26  TrackProducer2 = 'tobtecStep',
27  promoteTrackQuality = True
28  )
29 
30 iterTracks = RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi.simpleTrackListMerger.clone(
31  TrackProducer1 = 'merge2nd3rdTracks',
32  TrackProducer2 = 'merge4th5thTracks',
33  promoteTrackQuality = True
34  )
35 
36 generalTracks = RecoTracker.FinalTrackSelectors.simpleTrackListMerger_cfi.simpleTrackListMerger.clone(
37  TrackProducer1 = 'firstStepTracksWithQuality',
38  TrackProducer2 = 'iterTracks',
39  promoteTrackQuality = True,
40  copyExtras = True,
41  makeReKeyedSeeds = cms.untracked.bool(True)
42  )
43 
44 
45 trackCollectionMerging = cms.Sequence(merge2nd3rdTracks*
46  merge4th5thTracks*
47  iterTracks*
48  generalTracks)