CMS 3D CMS Logo

HiRegitMuonPixelLessStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
4 
5 
7 # Are the following values set to the same in every iteration? If yes,
8 # why not making the change in HITrackingRegionProducer_cfi directly
9 # once for all?
10 hiRegitMuPixelLessStepTrackingRegions = HiTrackingRegionFactoryFromSTAMuonsEDProducer.clone(
11  MuonSrc = "standAloneMuons:UpdatedAtVtx", # this is the same as default, why repeat?
12  MuonTrackingRegionBuilder = dict(
13  vertexCollection = "hiSelectedPixelVertex",
14  UseVertex = True,
15  Phi_fixed = True,
16  Eta_fixed = True,
17  # Ok, the following ones are specific to PixelLessStep
18  DeltaPhi = 0.2,
19  DeltaEta = 0.1,
20  Pt_min = 2.0,
21  DeltaR = 0.2, # default = 0.2
22  DeltaZ = 0.2, # this give you the length
23  Rescale_Dz = 4., # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
24  )
25 )
26 
27 
29 
30 # remove previously used clusters
31 hiRegitMuPixelLessStepClusters = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepClusters.clone(
32  oldClusterRemovalInfo = "hiRegitMuMixedTripletStepClusters",
33  trajectories = "hiRegitMuMixedTripletStepTracks",
34  overrideTrkQuals = 'hiRegitMuMixedTripletStepSelector:hiRegitMuMixedTripletStep',
35  trackClassifier = '',
36  TrackQuality = 'tight'
37 )
38 
39 # SEEDING LAYERS
40 hiRegitMuPixelLessStepSeedLayers = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone(
41  TIB = dict(skipClusters = 'hiRegitMuPixelLessStepClusters'),
42  TID = dict(skipClusters = 'hiRegitMuPixelLessStepClusters'),
43  TEC = dict(skipClusters = 'hiRegitMuPixelLessStepClusters'),
44  MTIB = dict(skipClusters = 'hiRegitMuPixelLessStepClusters'),
45  MTID = dict(skipClusters = 'hiRegitMuPixelLessStepClusters'),
46  MTEC = dict(skipClusters = 'hiRegitMuPixelLessStepClusters')
47 )
48 
49 # seeding
50 hiRegitMuPixelLessStepHitDoublets = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepHitDoublets.clone(
51  seedingLayers = "hiRegitMuPixelLessStepSeedLayers",
52  trackingRegions = "hiRegitMuPixelLessStepTrackingRegions",
53  clusterCheck = "hiRegitMuClusterCheck",
54 )
55 hiRegitMuPixelLessStepHitTriplets = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepHitTriplets.clone(
56  doublets = "hiRegitMuPixelLessStepHitDoublets"
57 )
58 hiRegitMuPixelLessStepSeeds = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeeds.clone(
59  seedingHitSets = "hiRegitMuPixelLessStepHitTriplets"
60 )
61 
62 
63 # building: feed the new-named seeds
64 hiRegitMuPixelLessStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryFilter.clone(
65  minPt = 1.7,
66  minimumNumberOfHits = 6,
67  minHitsMinPt = 4
68 )
69 hiRegitMuPixelLessStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryBuilder.clone(
70  trajectoryFilter = cms.PSet(
71  refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryFilter')
72  ),
73  minNrOfHitsForRebuild = 6 #change from default 4
74 )
75 
76 hiRegitMuPixelLessStepTrackCandidates = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrackCandidates.clone(
77  src = 'hiRegitMuPixelLessStepSeeds',
78  TrajectoryBuilderPSet = cms.PSet(
79  refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryBuilder')
80  ),
81  clustersToSkip = 'hiRegitMuPixelLessStepClusters',
82  maxNSeeds = 1000000
83 )
84 
85 # fitting: feed new-names
86 hiRegitMuPixelLessStepTracks = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTracks.clone(
87  AlgorithmName = 'hiRegitMuPixelLessStep',
88  src = 'hiRegitMuPixelLessStepTrackCandidates'
89 )
90 
91 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
93 hiRegitMuPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
94  src = 'hiRegitMuPixelLessStepTracks',
95  vertices = "hiSelectedPixelVertex",
96  useAnyMVA = True,
97  GBRForestLabel = 'HIMVASelectorIter7',
98  GBRForestVars = ['chi2perdofperlayer', 'nhits', 'nlayers', 'eta'],
99  trackSelectors = cms.VPSet(
100  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
101  name = 'hiRegitMuPixelLessStepLoose',
102  min_nhits = 8
103  ),
104  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
105  name = 'hiRegitMuPixelLessStepTight',
106  preFilterName = 'hiRegitMuPixelLessStepLoose',
107  min_nhits = 8,
108  useMVA = True,
109  minMVA = -0.2
110  ),
111  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
112  name = 'hiRegitMuPixelLessStep',
113  preFilterName = 'hiRegitMuPixelLessStepTight',
114  min_nhits = 8,
115  useMVA = True,
116  minMVA = -0.09
117  ),
118  ) #end of vpset
119 )
120 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
121 trackingPhase1.toModify(hiRegitMuPixelLessStepSelector,
122  useAnyMVA = False,
123  trackSelectors= cms.VPSet(
124  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
125  name = 'hiRegitMuPixelLessStepLoose',
126  min_nhits = 8
127  ),
128  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
129  name = 'hiRegitMuPixelLessStepTight',
130  preFilterName = 'hiRegitMuPixelLessStepLoose',
131  min_nhits = 8,
132  useMVA = False,
133  minMVA = -0.2
134  ),
135  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
136  name = 'hiRegitMuPixelLessStep',
137  preFilterName = 'hiRegitMuPixelLessStepTight',
138  min_nhits = 8,
139  useMVA = False,
140  minMVA = -0.09
141  ),
142  ) #end of vpset
143 )
144 
145 hiRegitMuonPixelLessStepTask = cms.Task(hiRegitMuPixelLessStepClusters,
146  hiRegitMuPixelLessStepSeedLayers,
147  hiRegitMuPixelLessStepTrackingRegions,
148  hiRegitMuPixelLessStepHitDoublets,
149  hiRegitMuPixelLessStepHitTriplets,
150  hiRegitMuPixelLessStepSeeds,
151  hiRegitMuPixelLessStepTrackCandidates,
152  hiRegitMuPixelLessStepTracks,
153  hiRegitMuPixelLessStepSelector)
154 hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuonPixelLessStepTask)
hiMultiTrackSelector_cfi
PixelLessStep_cff
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...