CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonLowPtTripletStep_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 ################################### 1st step:pixel-triplet seeding, lower-pT;
5 
7 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
9 
10 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
11 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
12 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.3
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.2
14 
15 ###################################
17 
18 # remove previously used clusters
19 hiRegitMuLowPtTripletStepClusters = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepClusters.clone(
20  oldClusterRemovalInfo = cms.InputTag("hiRegitMuInitialStepClusters"),
21  trajectories = cms.InputTag("hiRegitMuInitialStepTracks"),
22  overrideTrkQuals = cms.InputTag('hiRegitMuInitialStepSelector','hiRegitMuInitialStep'),
23 )
24 
25 # SEEDING LAYERS
26 hiRegitMuLowPtTripletStepSeedLayers = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSeedLayers.clone(
27  ComponentName = 'hiRegitMuLowPtTripletStepSeedLayers'
28  )
29 hiRegitMuLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
30 hiRegitMuLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
31 
32 # seeds
33 hiRegitMuLowPtTripletStepSeeds = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSeeds.clone()
34 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
35 hiRegitMuLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
36 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
37 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 1. # default = 0.2
38 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 1. # this give you the length
39 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
40 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuLowPtTripletStepSeedLayers'
42 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
43 
44 
45 # building: feed the new-named seeds
46 hiRegitMuLowPtTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryFilter.clone(
47  ComponentName = 'hiRegitMuLowPtTripletStepTrajectoryFilter'
48  )
49 hiRegitMuLowPtTripletStepTrajectoryFilter.filterPset.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
50 
51 
52 hiRegitMuLowPtTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryBuilder.clone(
53  ComponentName = 'hiRegitMuLowPtTripletStepTrajectoryBuilder',
54  trajectoryFilterName = 'hiRegitMuLowPtTripletStepTrajectoryFilter',
55  clustersToSkip = cms.InputTag('hiRegitMuLowPtTripletStepClusters'),
56 )
57 
58 # track candidates
59 hiRegitMuLowPtTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrackCandidates.clone(
60  src = cms.InputTag('hiRegitMuLowPtTripletStepSeeds'),
61  TrajectoryBuilder = 'hiRegitMuLowPtTripletStepTrajectoryBuilder',
62  maxNSeeds = cms.uint32(1000000)
63  )
64 
65 # fitting: feed new-names
66 hiRegitMuLowPtTripletStepTracks = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTracks.clone(
67  src = 'hiRegitMuLowPtTripletStepTrackCandidates'
68 )
69 
70 
71 hiRegitMuLowPtTripletStepSelector = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSelector.clone(
72  src ='hiRegitMuLowPtTripletStepTracks',
73  vertices = cms.InputTag("hiSelectedVertex"),
74  trackSelectors= cms.VPSet(
75  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
76  name = 'hiRegitMuLowPtTripletStepLoose',
77  # minNumberLayers = 10
78  ), #end of pset
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
80  name = 'hiRegitMuLowPtTripletStepTight',
81  preFilterName = 'hiRegitMuLowPtTripletStepLoose',
82  # minNumberLayers = 10
83  ),
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
85  name = 'hiRegitMuLowPtTripletStep',
86  preFilterName = 'hiRegitMuLowPtTripletStepTight',
87  # minNumberLayers = 10
88  ),
89  ) #end of vpset
90 )
91 
92 hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
93  hiRegitMuLowPtTripletStepSeeds*
94  hiRegitMuLowPtTripletStepTrackCandidates*
95  hiRegitMuLowPtTripletStepTracks*
96  hiRegitMuLowPtTripletStepSelector)
97 
98 
99 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...