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  'pixelPairStepTracks',
58  'mixedTripletStepTracks',
59  'pixelLessStepTracks',
60  'tobTecStepTracks'
61  ],
62  inputClassifiers = [
63  "initialStep",
64  "highPtTripletStep",
65  "jetCoreRegionalStep",
66  "lowPtQuadStep",
67  "lowPtTripletStep",
68  "detachedQuadStep",
69  "detachedTripletStep",
70  "pixelPairStep",
71  "mixedTripletStep",
72  "pixelLessStep",
73  "tobTecStep"
74  ],
75 )
76 trackingPhase1.toModify(earlyGeneralTracks, **_forPhase1)
77 trackingPhase1QuadProp.toModify(earlyGeneralTracks, **_forPhase1)
78 
79 # For Phase2PU140
80 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
81 from RecoTracker.FinalTrackSelectors.trackListMerger_cfi import trackListMerger as _trackListMerger
82 trackingPhase2PU140.toReplaceWith(earlyGeneralTracks, _trackListMerger.clone(
83  TrackProducers =['initialStepTracks',
84  'highPtTripletStepTracks',
85  'lowPtQuadStepTracks',
86  'lowPtTripletStepTracks',
87  'detachedQuadStepTracks',
88  'pixelPairStepTracks',
89  ],
90  hasSelector = [1,1,1,1,1,1],
91  indivShareFrac = [1.0,0.16,0.095,0.09,0.09,0.09],
92  selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
93  cms.InputTag("highPtTripletStepSelector","highPtTripletStep"),
94  cms.InputTag("lowPtQuadStepSelector","lowPtQuadStep"),
95  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
96  cms.InputTag("detachedQuadStep"),
97  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
98  ),
99  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) )
100  ),
101  copyExtras = True,
102  makeReKeyedSeeds = cms.untracked.bool(False)
103  )
104 )