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