CMS 3D CMS Logo

earlyGeneralTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
4 
6 earlyGeneralTracks = TrackCollectionMerger.clone()
7 earlyGeneralTracks.trackProducers = ['initialStepTracks',
8  'jetCoreRegionalStepTracks',
9  'lowPtTripletStepTracks',
10  'pixelPairStepTracks',
11  'detachedTripletStepTracks',
12  'mixedTripletStepTracks',
13  'pixelLessStepTracks',
14  'tobTecStepTracks'
15  ]
16 earlyGeneralTracks.inputClassifiers =["initialStep",
17  "jetCoreRegionalStep",
18  "lowPtTripletStep",
19  "pixelPairStep",
20  "detachedTripletStep",
21  "mixedTripletStep",
22  "pixelLessStep",
23  "tobTecStep"
24  ]
25 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
26 trackingLowPU.toModify(earlyGeneralTracks,
27  trackProducers = [
28  'initialStepTracks',
29  'lowPtTripletStepTracks',
30  'pixelPairStepTracks',
31  'detachedTripletStepTracks',
32  'mixedTripletStepTracks',
33  'pixelLessStepTracks',
34  'tobTecStepTracks'
35  ],
36  inputClassifiers = [
37  "initialStepSelector",
38  "lowPtTripletStepSelector",
39  "pixelPairStepSelector",
40  "detachedTripletStep",
41  "mixedTripletStep",
42  "pixelLessStepSelector",
43  "tobTecStep"
44  ]
45 )
46 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
47 from Configuration.Eras.Modifier_trackingPhase1QuadProp_cff import trackingPhase1QuadProp
48 _forPhase1 = dict(
49  trackProducers = [
50  'initialStepTracks',
51  'highPtTripletStepTracks',
52  'jetCoreRegionalStepTracks',
53  'lowPtQuadStepTracks',
54  'lowPtTripletStepTracks',
55  'detachedQuadStepTracks',
56  'detachedTripletStepTracks',
57  'mixedTripletStepTracks',
58  'pixelLessStepTracks',
59  'tobTecStepTracks'
60  ],
61  inputClassifiers = [
62  "initialStep",
63  "highPtTripletStep",
64  "jetCoreRegionalStep",
65  "lowPtQuadStep",
66  "lowPtTripletStep",
67  "detachedQuadStep",
68  "detachedTripletStep",
69  "mixedTripletStep",
70  "pixelLessStep",
71  "tobTecStep"
72  ],
73 )
74 trackingPhase1.toModify(earlyGeneralTracks, **_forPhase1)
75 trackingPhase1QuadProp.toModify(earlyGeneralTracks, **_forPhase1)
76 
77 # For Phase1PU70
78 from RecoTracker.FinalTrackSelectors.trackListMerger_cfi import trackListMerger as _trackListMerger
79 from Configuration.Eras.Modifier_trackingPhase1PU70_cff import trackingPhase1PU70
80 trackingPhase1PU70.toReplaceWith(earlyGeneralTracks, _trackListMerger.clone(
81  TrackProducers = ['initialStepTracks',
82  'highPtTripletStepTracks',
83  'lowPtQuadStepTracks',
84  'lowPtTripletStepTracks',
85  'detachedQuadStepTracks',
86  'mixedTripletStepTracks',
87  'pixelPairStepTracks',
88  'tobTecStepTracks'],
89  hasSelector = [1,1,1,1,1,1,1,1],
90  indivShareFrac = [1.0,0.16,0.095,0.09,0.095,0.095,0.095,0.08],
91  selectedTrackQuals = [cms.InputTag("initialStepSelector","initialStep"),
92  cms.InputTag("highPtTripletStepSelector","highPtTripletStep"),
93  cms.InputTag("lowPtQuadStepSelector","lowPtQuadStep"),
94  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
95  cms.InputTag("detachedQuadStep"),
96  cms.InputTag("mixedTripletStep"),
97  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
98  cms.InputTag("tobTecStepSelector","tobTecStep")],
99  setsToMerge = [cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7), pQual=cms.bool(True) ) ],
100  copyExtras = True,
101  makeReKeyedSeeds = cms.untracked.bool(False)
102 ))
103 # For Phase2PU140
104 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
105 trackingPhase2PU140.toReplaceWith(earlyGeneralTracks, _trackListMerger.clone(
106  TrackProducers =['initialStepTracks',
107  'highPtTripletStepTracks',
108  'lowPtQuadStepTracks',
109  'lowPtTripletStepTracks',
110  'detachedQuadStepTracks',
111  'pixelPairStepTracks',
112  ],
113  hasSelector = [1,1,1,1,1,1],
114  indivShareFrac = [1.0,0.16,0.095,0.09,0.09,0.09],
115  selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
116  cms.InputTag("highPtTripletStepSelector","highPtTripletStep"),
117  cms.InputTag("lowPtQuadStepSelector","lowPtQuadStep"),
118  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
119  cms.InputTag("detachedQuadStep"),
120  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
121  ),
122  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) )
123  ),
124  copyExtras = True,
125  makeReKeyedSeeds = cms.untracked.bool(False)
126  )
127 )