CMS 3D CMS Logo

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