CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonLowPtTripletStep_cff.py
Go to the documentation of this file.
2 
3 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
4 ################################### 1st step:pixel-triplet seeding, lower-pT;
5 
7 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
9 
10 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
11 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
12 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.3
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.2
14 
15 ###################################
17 
18 # remove previously used clusters
19 hiRegitMuLowPtTripletStepClusters = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepClusters.clone(
20  trajectories = cms.InputTag("hiRegitMuDetachedTripletStepTracks"),
21  overrideTrkQuals = cms.InputTag('hiRegitMuDetachedTripletStepSelector','hiRegitMuDetachedTripletStep'),
22  oldClusterRemovalInfo = cms.InputTag("hiRegitMuDetachedTripletStepClusters"),
23  TrackQuality = cms.string('tight')
24 )
25 
26 # SEEDING LAYERS
27 hiRegitMuLowPtTripletStepSeedLayers = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeedLayers.clone()
28 hiRegitMuLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
29 hiRegitMuLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
30 
31 # seeds
32 hiRegitMuLowPtTripletStepSeeds = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone()
33 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
34 hiRegitMuLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
35 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
36 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 1. # default = 0.2
37 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 1. # this give you the length
38 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
39 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuLowPtTripletStepSeedLayers'
40 
41 
42 
43 # building: feed the new-named seeds
44 hiRegitMuLowPtTripletStepStandardTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
45  minPt = 0.8
46  )
47 
48 hiRegitMuLowPtTripletStepTrajectoryFilter = cms.PSet(
49  ComponentType = cms.string('CompositeTrajectoryFilter'),
50  filters = cms.VPSet(cms.PSet(
51  refToPSet_ = cms.string('hiRegitMuLowPtTripletStepStandardTrajectoryFilter')
52  ),
53  cms.PSet(
54  refToPSet_ = cms.string('ClusterShapeTrajectoryFilter')
55  ))
56  )
57 
58 
59 hiRegitMuLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
60  trajectoryFilter = cms.PSet(
61  refToPSet_ = cms.string('hiRegitMuLowPtTripletStepTrajectoryFilter',)
62  ),
63 )
64 
65 # track candidates
66 hiRegitMuLowPtTripletStepTrackCandidates = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrackCandidates.clone(
67  src = cms.InputTag('hiRegitMuLowPtTripletStepSeeds'),
68  TrajectoryBuilderPSet = cms.PSet(
69  refToPSet_ = cms.string('hiRegitMuLowPtTripletStepTrajectoryBuilder')
70  ),
71  clustersToSkip = cms.InputTag('hiRegitMuLowPtTripletStepClusters'),
72  maxNSeeds = cms.uint32(1000000)
73  )
74 
75 # fitting: feed new-names
76 hiRegitMuLowPtTripletStepTracks = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
77  AlgorithmName = cms.string('iter4'),
78  src = 'hiRegitMuLowPtTripletStepTrackCandidates'
79 )
80 
81 
82 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
83 hiRegitMuLowPtTripletStepSelector = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSelector.clone(
84  src ='hiRegitMuLowPtTripletStepTracks',
85  vertices = cms.InputTag("hiSelectedVertex"),
86  trackSelectors= cms.VPSet(
87  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
88  name = 'hiRegitMuLowPtTripletStepLoose',
89  qualityBit = cms.string('loose'),
90  ), #end of pset
91  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
92  name = 'hiRegitMuLowPtTripletStepTight',
93  preFilterName = 'hiRegitMuLowPtTripletStepLoose',
94  qualityBit = cms.string('loose'),
95  ),
96  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
97  name = 'hiRegitMuLowPtTripletStep',
98  preFilterName = 'hiRegitMuLowPtTripletStepTight',
99  qualityBit = cms.string('tight'),
100  ),
101  ) #end of vpset
102 )
103 
104 hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
105  hiRegitMuLowPtTripletStepSeedLayers*
106  hiRegitMuLowPtTripletStepSeeds*
107  hiRegitMuLowPtTripletStepTrackCandidates*
108  hiRegitMuLowPtTripletStepTracks*
109  hiRegitMuLowPtTripletStepSelector)
110 
111 
112 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...