CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonPixelPairStep_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 ################################### 2nd step: pixel pairs
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 hiRegitMuPixelPairStepClusters = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepClusters.clone(
23  oldClusterRemovalInfo = cms.InputTag("hiRegitMuLowPtTripletStepClusters"),
24  trajectories = cms.InputTag("hiRegitMuLowPtTripletStepTracks"),
25  overrideTrkQuals = cms.InputTag('hiRegitMuLowPtTripletStepSelector','hiRegitMuLowPtTripletStep'),
26 )
27 
28 
29 # SEEDING LAYERS
30 hiRegitMuPixelPairStepSeedLayers = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSeedLayers.clone(
31  ComponentName = 'hiRegitMuPixelPairStepSeedLayers'
32  )
33 hiRegitMuPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')
34 hiRegitMuPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')
35 
36 
37 
38 # seeding
39 hiRegitMuPixelPairStepSeeds = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSeeds.clone()
40 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
41 hiRegitMuPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
42 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 1.0
43 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.01 # default = 0.2
44 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.09 # this give you the length
45 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 0. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
46 hiRegitMuPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuPixelPairStepSeedLayers'
47 
48 
49 # building: feed the new-named seeds
50 hiRegitMuPixelPairStepTrajectoryFilter = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTrajectoryFilter.clone(
51  ComponentName = 'hiRegitMuPixelPairStepTrajectoryFilter',
52  )
53 hiRegitMuPixelPairStepTrajectoryFilter.filterPset.minPt = 0.8
54 hiRegitMuPixelPairStepTrajectoryFilter.filterPset.minimumNumberOfHits = 6
55 hiRegitMuPixelPairStepTrajectoryFilter.filterPset.minHitsMinPt = 4
56 
57 
58 
59 hiRegitMuPixelPairStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTrajectoryBuilder.clone(
60  ComponentName = 'hiRegitMuPixelPairStepTrajectoryBuilder',
61  trajectoryFilterName = 'hiRegitMuPixelPairStepTrajectoryFilter',
62  clustersToSkip = cms.InputTag('hiRegitMuPixelPairStepClusters'),
63  minNrOfHitsForRebuild = 6 #change from default 4
64 )
65 
66 # trackign candidate
67 hiRegitMuPixelPairStepTrackCandidates = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTrackCandidates.clone(
68  src = cms.InputTag('hiRegitMuPixelPairStepSeeds'),
69  TrajectoryBuilder = 'hiRegitMuPixelPairStepTrajectoryBuilder',
70  maxNSeeds = cms.uint32(1000000)
71  )
72 
73 # fitting: feed new-names
74 hiRegitMuPixelPairStepTracks = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTracks.clone(
75  src = 'hiRegitMuPixelPairStepTrackCandidates'
76 )
77 
78 
79 hiRegitMuPixelPairStepSelector = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSelector.clone(
80  src ='hiRegitMuPixelPairStepTracks',
81  trackSelectors= cms.VPSet(
82  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
83  name = 'hiRegitMuPixelPairStepLoose',
84  ), #end of pset
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
86  name = 'hiRegitMuPixelPairStepTight',
87  preFilterName = 'hiRegitMuPixelPairStepLoose',
88  ),
89  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
90  name = 'hiRegitMuPixelPairStep',
91  preFilterName = 'hiRegitMuPixelPairStepTight',
92  # minNumberLayers = 10
93  ),
94  ) #end of vpset
95  )
96 
97 hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
98  hiRegitMuPixelPairStepSeeds*
99  hiRegitMuPixelPairStepTrackCandidates*
100  hiRegitMuPixelPairStepTracks*
101  hiRegitMuPixelPairStepSelector)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...