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 hiRegitMuLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
28 hiRegitMuLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
29 
30 # seeds
31 hiRegitMuLowPtTripletStepSeeds = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSeeds.clone()
32 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
33 hiRegitMuLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
34 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
35 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 1. # default = 0.2
36 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 1. # this give you the length
37 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
38 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuLowPtTripletStepSeedLayers'
40 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
41 
42 
43 # building: feed the new-named seeds
44 hiRegitMuLowPtTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryFilter.clone(
45  ComponentName = 'hiRegitMuLowPtTripletStepTrajectoryFilter'
46  )
47 hiRegitMuLowPtTripletStepTrajectoryFilter.filterPset.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
48 
49 
50 hiRegitMuLowPtTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryBuilder.clone(
51  ComponentName = 'hiRegitMuLowPtTripletStepTrajectoryBuilder',
52  trajectoryFilterName = 'hiRegitMuLowPtTripletStepTrajectoryFilter',
53  clustersToSkip = cms.InputTag('hiRegitMuLowPtTripletStepClusters'),
54 )
55 
56 # track candidates
57 hiRegitMuLowPtTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrackCandidates.clone(
58  src = cms.InputTag('hiRegitMuLowPtTripletStepSeeds'),
59  TrajectoryBuilder = 'hiRegitMuLowPtTripletStepTrajectoryBuilder',
60  maxNSeeds = cms.uint32(1000000)
61  )
62 
63 # fitting: feed new-names
64 hiRegitMuLowPtTripletStepTracks = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTracks.clone(
65  src = 'hiRegitMuLowPtTripletStepTrackCandidates'
66 )
67 
68 
69 hiRegitMuLowPtTripletStepSelector = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSelector.clone(
70  src ='hiRegitMuLowPtTripletStepTracks',
71  vertices = cms.InputTag("hiSelectedVertex"),
72  trackSelectors= cms.VPSet(
73  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
74  name = 'hiRegitMuLowPtTripletStepLoose',
75  # minNumberLayers = 10
76  ), #end of pset
77  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
78  name = 'hiRegitMuLowPtTripletStepTight',
79  preFilterName = 'hiRegitMuLowPtTripletStepLoose',
80  # minNumberLayers = 10
81  ),
82  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
83  name = 'hiRegitMuLowPtTripletStep',
84  preFilterName = 'hiRegitMuLowPtTripletStepTight',
85  # minNumberLayers = 10
86  ),
87  ) #end of vpset
88 )
89 
90 hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
91  hiRegitMuLowPtTripletStepSeedLayers*
92  hiRegitMuLowPtTripletStepSeeds*
93  hiRegitMuLowPtTripletStepTrackCandidates*
94  hiRegitMuLowPtTripletStepTracks*
95  hiRegitMuLowPtTripletStepSelector)
96 
97 
98 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...