CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonTobTecStep_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 ################################### 6th step: very large impact parameter trackng using TOB+TEC ring 5 seeding --pair
5 
7 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
9 
10 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
11 
12 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.2
14 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.1
15 
16 ###################################
18 
19 # remove previously used clusters
20 hiRegitMuTobTecStepClusters = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepClusters.clone(
21  oldClusterRemovalInfo = cms.InputTag("hiRegitMuPixelLessStepClusters"),
22  trajectories = cms.InputTag("hiRegitMuPixelLessStepTracks"),
23  overrideTrkQuals = cms.InputTag('hiRegitMuPixelLessStepSelector','hiRegitMuPixelLessStep')
24 )
25 
26 # SEEDING LAYERS
27 hiRegitMuTobTecStepSeedLayers = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedLayersPair.clone()
28 hiRegitMuTobTecStepSeedLayers.layerList.append('TOB1+TOB2')
29 hiRegitMuTobTecStepSeedLayers.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
30 hiRegitMuTobTecStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
31 
32 
33 # seeding
34 hiRegitMuTobTecStepSeeds = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedsPair.clone()
35 hiRegitMuTobTecStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
36 hiRegitMuTobTecStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
37 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
38 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
39 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
40 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
41 hiRegitMuTobTecStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuTobTecStepSeedLayers'
42 
43 
44 # building: feed the new-named seeds
45 hiRegitMuTobTecStepInOutTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepInOutTrajectoryFilter.clone()
46 hiRegitMuTobTecStepInOutTrajectoryFilter.minPt = 1.7
47 hiRegitMuTobTecStepInOutTrajectoryFilter.minimumNumberOfHits = 6
48 hiRegitMuTobTecStepInOutTrajectoryFilter.minHitsMinPt = 4
49 
50 
51 hiRegitMuTobTecStepTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryFilter.clone()
52 hiRegitMuTobTecStepTrajectoryFilter.minPt = 1.7
53 hiRegitMuTobTecStepTrajectoryFilter.minimumNumberOfHits = 6
54 hiRegitMuTobTecStepTrajectoryFilter.minHitsMinPt = 4
55 
56 hiRegitMuTobTecStepTrajectoryBuilder = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryBuilder.clone(
57  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuTobTecStepTrajectoryFilter')),
58  inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuTobTecStepInOutTrajectoryFilter')),
59  clustersToSkip = cms.InputTag('hiRegitMuTobTecStepClusters'),
60 )
61 
62 hiRegitMuTobTecStepTrackCandidates = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrackCandidates.clone(
63  src = cms.InputTag('hiRegitMuTobTecStepSeeds'),
64  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuTobTecStepTrajectoryBuilder')),
65  maxNSeeds = cms.uint32(1000000)
66  )
67 
68 # fitting: feed new-names
69 hiRegitMuTobTecStepTracks = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTracks.clone(
70  src = 'hiRegitMuTobTecStepTrackCandidates'
71 )
72 
73 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
74 hiRegitMuTobTecStepSelector = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSelector.clone(
75  src ='hiRegitMuTobTecStepTracks',
76  vertices = cms.InputTag("hiSelectedVertex"),
77  trackSelectors= cms.VPSet(
78  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
79  name = 'hiRegitMuTobTecStepLoose',
80  ),
81  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
82  name = 'hiRegitMuTobTecStepTight',
83  preFilterName = 'hiRegitMuTobTecStepLoose',
84  ),
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
86  name = 'hiRegitMuTobTecStep',
87  preFilterName = 'hiRegitMuTobTecStepTight',
88  ),
89  ) #end of vpset
90 
91 )
92 
93 hiRegitMuonTobTecStep = cms.Sequence(hiRegitMuTobTecStepClusters*
94  hiRegitMuTobTecStepSeedLayers*
95  hiRegitMuTobTecStepSeeds*
96  hiRegitMuTobTecStepTrackCandidates*
97  hiRegitMuTobTecStepTracks*
98  hiRegitMuTobTecStepSelector)
99 
100 
101 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...