CMS 3D CMS Logo

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