CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonDetachedTripletStep_cff.py
Go to the documentation of this file.
2 
3 ###################################################################################
4 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
5 ################################### 3rd step: low-pT and displaced tracks from pixel triplets
6 
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
9 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
10 
11 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
12 
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
14 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.3
15 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.2
16 
17 
18 ###################################
20 
21 # NEW CLUSTERS (remove previously used clusters)
22 hiRegitMuDetachedTripletStepClusters = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepClusters.clone(
23  trajectories = cms.InputTag("hiRegitMuInitialStepTracks"),
24  overrideTrkQuals = cms.InputTag('hiRegitMuInitialStepSelector','hiRegitMuInitialStep'),
25  TrackQuality = cms.string('tight')
26 )
27 
28 # SEEDING LAYERS
29 hiRegitMuDetachedTripletStepSeedLayers = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeedLayers.clone()
30 hiRegitMuDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
31 hiRegitMuDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
32 
33 # seeding
34 hiRegitMuDetachedTripletStepSeeds = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeeds.clone()
35 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
36 hiRegitMuDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
37 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
38 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 2.0 # default = 0.2
39 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 2.0 # this give you the length
40 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
41 hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuDetachedTripletStepSeedLayers'
43 
44 
45 # building: feed the new-named seeds
46 hiRegitMuDetachedTripletStepTrajectoryFilterBase = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilterBase.clone()
47 hiRegitMuDetachedTripletStepTrajectoryFilterBase.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
48 
49 hiRegitMuDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilter.clone()
50 hiRegitMuDetachedTripletStepTrajectoryFilter.filters = cms.VPSet(
51  cms.PSet( refToPSet_ = cms.string('hiRegitMuDetachedTripletStepTrajectoryFilterBase')),
52  cms.PSet( refToPSet_ = cms.string('detachedTripletStepTrajectoryFilterShape')))
53 
54 hiRegitMuDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
55  clustersToSkip = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
56 )
57 
58 hiRegitMuDetachedTripletStepTrackCandidates = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
59  src = cms.InputTag('hiRegitMuDetachedTripletStepSeeds'),
60  TrajectoryBuilder = 'hiRegitMuDetachedTripletStepTrajectoryBuilder',
61  clustersToSkip = cms.InputTag("hiRegitMuDetachedTripletStepClusters")
62  )
63 
64 # fitting: feed new-names
65 hiRegitMuDetachedTripletStepTracks = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
66  AlgorithmName = cms.string('iter6'),
67  src = 'hiRegitMuDetachedTripletStepTrackCandidates'
68 )
69 
70 
71 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
72 hiRegitMuDetachedTripletStepSelector = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSelector.clone(
73  src ='hiRegitMuDetachedTripletStepTracks',
74  vertices = cms.InputTag("hiSelectedVertex"),
75  trackSelectors= cms.VPSet(
76  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
77  name = 'hiRegitMuDetachedTripletStepLoose',
78  qualityBit = cms.string('loose'),
79  ),
80  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
81  name = 'hiRegitMuDetachedTripletStepTight',
82  preFilterName = 'hiRegitMuDetachedTripletStepLoose',
83  qualityBit = cms.string('loose'),
84  ),
85  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
86  name = 'hiRegitMuDetachedTripletStep',
87  preFilterName = 'hiRegitMuDetachedTripletStepTight',
88  qualityBit = cms.string('tight'),
89  )
90  ) #end of vpset
91  )
92 
93 
94 hiRegitMuonDetachedTripletStep = cms.Sequence(hiRegitMuDetachedTripletStepClusters*
95  hiRegitMuDetachedTripletStepSeedLayers*
96  hiRegitMuDetachedTripletStepSeeds*
97  hiRegitMuDetachedTripletStepTrackCandidates*
98  hiRegitMuDetachedTripletStepTracks*
99  hiRegitMuDetachedTripletStepSelector
100  )
101 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...