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.tobTecStepSeedLayers.clone()
28 hiRegitMuTobTecStepSeedLayers.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
29 hiRegitMuTobTecStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
30 
31 
32 # seeding
33 hiRegitMuTobTecStepSeeds = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeeds.clone()
34 hiRegitMuTobTecStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
35 hiRegitMuTobTecStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
36 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
37 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
38 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
39 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
40 hiRegitMuTobTecStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuTobTecStepSeedLayers'
41 
42 
43 # building: feed the new-named seeds
44 hiRegitMuTobTecStepInOutTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepInOutTrajectoryFilter.clone(
45  ComponentName = 'hiRegitMuTobTecStepInOutTrajectoryFilter',
46  )
47 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minPt = 1.7
48 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minimumNumberOfHits = 6
49 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minHitsMinPt = 4
50 
51 
52 hiRegitMuTobTecStepTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryFilter.clone(
53  ComponentName = 'hiRegitMuTobTecStepTrajectoryFilter',
54  )
55 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minPt = 1.7
56 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minimumNumberOfHits = 6
57 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minHitsMinPt = 4
58 
59 hiRegitMuTobTecStepTrajectoryBuilder = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryBuilder.clone(
60  ComponentName = 'hiRegitMuTobTecStepTrajectoryBuilder',
61  trajectoryFilterName = 'hiRegitMuTobTecStepTrajectoryFilter',
62  inOutTrajectoryFilterName = 'hiRegitMuTobTecStepInOutTrajectoryFilter',
63  clustersToSkip = cms.InputTag('hiRegitMuTobTecStepClusters'),
64 )
65 
66 hiRegitMuTobTecStepTrackCandidates = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrackCandidates.clone(
67  src = cms.InputTag('hiRegitMuTobTecStepSeeds'),
68  TrajectoryBuilder = 'hiRegitMuTobTecStepTrajectoryBuilder',
69  maxNSeeds = cms.uint32(1000000)
70  )
71 
72 # fitting: feed new-names
73 hiRegitMuTobTecStepTracks = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTracks.clone(
74  src = 'hiRegitMuTobTecStepTrackCandidates'
75 )
76 
77 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
78 hiRegitMuTobTecStepSelector = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSelector.clone(
79  src ='hiRegitMuTobTecStepTracks',
80  vertices = cms.InputTag("hiSelectedVertex"),
81  trackSelectors= cms.VPSet(
82  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
83  name = 'hiRegitMuTobTecStepLoose',
84  ),
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
86  name = 'hiRegitMuTobTecStepTight',
87  preFilterName = 'hiRegitMuTobTecStepLoose',
88  ),
89  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
90  name = 'hiRegitMuTobTecStep',
91  preFilterName = 'hiRegitMuTobTecStepTight',
92  ),
93  ) #end of vpset
94 
95 )
96 
97 hiRegitMuonTobTecStep = cms.Sequence(hiRegitMuTobTecStepClusters*
98  hiRegitMuTobTecStepSeedLayers*
99  hiRegitMuTobTecStepSeeds*
100  hiRegitMuTobTecStepTrackCandidates*
101  hiRegitMuTobTecStepTracks*
102  hiRegitMuTobTecStepSelector)
103 
104 
105 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...