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 hiRegitMuPixelPairStepTrajectoryFilter.minPt = 0.8
50 hiRegitMuPixelPairStepTrajectoryFilter.minimumNumberOfHits = 6
51 hiRegitMuPixelPairStepTrajectoryFilter.minHitsMinPt = 4
52 
53 
54 
55 hiRegitMuPixelPairStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTrajectoryBuilder.clone(
56  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuPixelPairStepTrajectoryFilter')),
57  clustersToSkip = cms.InputTag('hiRegitMuPixelPairStepClusters'),
58  minNrOfHitsForRebuild = 6 #change from default 4
59 )
60 
61 # trackign candidate
62 hiRegitMuPixelPairStepTrackCandidates = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTrackCandidates.clone(
63  src = cms.InputTag('hiRegitMuPixelPairStepSeeds'),
64  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuPixelPairStepTrajectoryBuilder')),
65  maxNSeeds = cms.uint32(1000000)
66  )
67 
68 # fitting: feed new-names
69 hiRegitMuPixelPairStepTracks = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepTracks.clone(
70  src = 'hiRegitMuPixelPairStepTrackCandidates'
71 )
72 
73 
74 hiRegitMuPixelPairStepSelector = RecoHI.HiTracking.hiRegitPixelPairStep_cff.hiRegitPixelPairStepSelector.clone(
75  src ='hiRegitMuPixelPairStepTracks',
76  trackSelectors= cms.VPSet(
77  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
78  name = 'hiRegitMuPixelPairStepLoose',
79  ), #end of pset
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
81  name = 'hiRegitMuPixelPairStepTight',
82  preFilterName = 'hiRegitMuPixelPairStepLoose',
83  ),
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
85  name = 'hiRegitMuPixelPairStep',
86  preFilterName = 'hiRegitMuPixelPairStepTight',
87  # minNumberLayers = 10
88  ),
89  ) #end of vpset
90  )
91 
92 hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
93  hiRegitMuPixelPairStepSeedLayers*
94  hiRegitMuPixelPairStepSeeds*
95  hiRegitMuPixelPairStepTrackCandidates*
96  hiRegitMuPixelPairStepTracks*
97  hiRegitMuPixelPairStepSelector)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...