CMS 3D CMS Logo

MergeTrackCollectionsHI_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 hiGeneralTracksNoRegitMu = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
5  TrackProducers = ['hiGlobalPrimTracks',
6  'hiDetachedTripletStepTracks',
7  'hiLowPtTripletStepTracks',
8  'hiPixelPairGlobalPrimTracks',
9  'hiJetCoreRegionalStepTracks'
10  ],
11  hasSelector = [1,1,1,1,1],
12  selectedTrackQuals = ["hiInitialStepSelector:hiInitialStep",
13  "hiDetachedTripletStepSelector:hiDetachedTripletStep",
14  "hiLowPtTripletStepSelector:hiLowPtTripletStep",
15  "hiPixelPairStepSelector:hiPixelPairStep"
16  ],
17  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3), pQual=cms.bool(True)), # should this be False?
18  ),
19  copyExtras = True,
20  makeReKeyedSeeds = cms.untracked.bool(False)
21  )
22 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
23 trackingPhase1.toModify(hiGeneralTracksNoRegitMu,
24  TrackProducers = ['hiGlobalPrimTracks',
25  'hiLowPtQuadStepTracks',
26  'hiHighPtTripletStepTracks',
27  'hiDetachedQuadStepTracks',
28  'hiDetachedTripletStepTracks',
29  'hiLowPtTripletStepTracks',
30  'hiPixelPairGlobalPrimTracks',
31  'hiJetCoreRegionalStepTracks'
32  ],
33  hasSelector = [1,1,1,1,1,1,1,1],
34  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6), pQual=cms.bool(True))),
35  selectedTrackQuals = ["hiInitialStepSelector:hiInitialStep",
36  "hiLowPtQuadStepSelector:hiLowPtQuadStep",
37  "hiHighPtTripletStepSelector:hiHighPtTripletStep",
38  "hiDetachedQuadStepSelector:hiDetachedQuadStep",
39  "hiDetachedTripletStepSelector:hiDetachedTripletStep",
40  "hiLowPtTripletStepSelector:hiLowPtTripletStep",
41  "hiPixelPairStepSelector:hiPixelPairStep"
42  ],
43 )
44 
45 hiGeneralTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
46  TrackProducers = ['hiGlobalPrimTracks',
47  'hiDetachedTripletStepTracks',
48  'hiLowPtTripletStepTracks',
49  'hiPixelPairGlobalPrimTracks',
50  'hiJetCoreRegionalStepTracks',
51  'hiRegitMuInitialStepTracks',
52  'hiRegitMuPixelPairStepTracks',
53  'hiRegitMuMixedTripletStepTracks',
54  'hiRegitMuPixelLessStepTracks',
55  'hiRegitMuDetachedTripletStepTracks',
56  'hiRegitMuonSeededTracksOutIn',
57  'hiRegitMuonSeededTracksInOut'
58  ],
59  hasSelector = [1,1,1,1,1,1,1,1,1,1,1,1],
60  selectedTrackQuals = ["hiInitialStepSelector:hiInitialStep",
61  "hiDetachedTripletStepSelector:hiDetachedTripletStep",
62  "hiLowPtTripletStepSelector:hiLowPtTripletStep",
63  "hiPixelPairStepSelector:hiPixelPairStep",
64  "hiJetCoreRegionalStepSelector:hiJetCoreRegionalStep",
65  "hiRegitMuInitialStepSelector:hiRegitMuInitialStepLoose",
66  "hiRegitMuPixelPairStepSelector:hiRegitMuPixelPairStep",
67  "hiRegitMuMixedTripletStepSelector:hiRegitMuMixedTripletStep",
68  "hiRegitMuPixelLessStepSelector:hiRegitMuPixelLessStep",
69  "hiRegitMuDetachedTripletStepSelector:hiRegitMuDetachedTripletStep",
70  "hiRegitMuonSeededTracksOutInSelector:hiRegitMuonSeededTracksOutInHighPurity",
71  "hiRegitMuonSeededTracksInOutSelector:hiRegitMuonSeededTracksInOutHighPurity"
72  ],
73  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11), pQual=cms.bool(True)), # should this be False?
74  ),
75  copyExtras = True,
76  makeReKeyedSeeds = cms.untracked.bool(False)
77 )
78 trackingPhase1.toModify(hiGeneralTracks,
79  TrackProducers = ['hiGlobalPrimTracks',
80  'hiLowPtQuadStepTracks',
81  'hiHighPtTripletStepTracks',
82  'hiDetachedQuadStepTracks',
83  'hiDetachedTripletStepTracks',
84  'hiLowPtTripletStepTracks',
85  'hiPixelPairGlobalPrimTracks',
86  'hiMixedTripletStepTracks',
87  'hiPixelLessStepTracks',
88  'hiTobTecStepTracks',
89  'hiJetCoreRegionalStepTracks',
90  'hiRegitMuInitialStepTracks',
91  'hiRegitMuPixelPairStepTracks',
92  'hiRegitMuMixedTripletStepTracks',
93  'hiRegitMuPixelLessStepTracks',
94  'hiRegitMuDetachedTripletStepTracks',
95  'hiRegitMuonSeededTracksOutIn',
96  'hiRegitMuonSeededTracksInOut'
97  ],
98  hasSelector = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
99  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17), pQual=cms.bool(True))), # should this be False?
100  selectedTrackQuals = ["hiInitialStepSelector:hiInitialStep",
101  "hiLowPtQuadStepSelector:hiLowPtQuadStep",
102  "hiHighPtTripletStepSelector:hiHighPtTripletStep",
103  "hiDetachedQuadStepSelector:hiDetachedQuadStep",
104  "hiDetachedTripletStepSelector:hiDetachedTripletStep",
105  "hiLowPtTripletStepSelector:hiLowPtTripletStep",
106  "hiPixelPairStepSelector:hiPixelPairStep",
107  "hiMixedTripletStepSelector:hiMixedTripletStep",
108  "hiPixelLessStepSelector:hiPixelLessStep",
109  "hiTobTecStepSelector:hiTobTecStep",
110  "hiJetCoreRegionalStepSelector:hiJetCoreRegionalStep",
111  "hiRegitMuInitialStepSelector:hiRegitMuInitialStepLoose",
112  "hiRegitMuPixelPairStepSelector:hiRegitMuPixelPairStep",
113  "hiRegitMuMixedTripletStepSelector:hiRegitMuMixedTripletStep",
114  "hiRegitMuPixelLessStepSelector:hiRegitMuPixelLessStep",
115  "hiRegitMuDetachedTripletStepSelector:hiRegitMuDetachedTripletStep",
116  "hiRegitMuonSeededTracksOutInSelector:hiRegitMuonSeededTracksOutInHighPurity",
117  "hiRegitMuonSeededTracksInOutSelector:hiRegitMuonSeededTracksInOutHighPurity"
118  ],
119 )