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 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
41 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
42 
43 
44 # building: feed the new-named seeds
45 hiRegitMuLowPtTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryFilter.clone()
46 hiRegitMuLowPtTripletStepTrajectoryFilter.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
47 
48 
49 hiRegitMuLowPtTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrajectoryBuilder.clone(
50  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuLowPtTripletStepTrajectoryFilter')),
51  clustersToSkip = cms.InputTag('hiRegitMuLowPtTripletStepClusters'),
52 )
53 
54 # track candidates
55 hiRegitMuLowPtTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTrackCandidates.clone(
56  src = cms.InputTag('hiRegitMuLowPtTripletStepSeeds'),
57  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuLowPtTripletStepTrajectoryBuilder')),
58  maxNSeeds = cms.uint32(1000000)
59  )
60 
61 # fitting: feed new-names
62 hiRegitMuLowPtTripletStepTracks = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepTracks.clone(
63  src = 'hiRegitMuLowPtTripletStepTrackCandidates'
64 )
65 
66 
67 hiRegitMuLowPtTripletStepSelector = RecoHI.HiTracking.hiRegitLowPtTripletStep_cff.hiRegitLowPtTripletStepSelector.clone(
68  src ='hiRegitMuLowPtTripletStepTracks',
69  vertices = cms.InputTag("hiSelectedVertex"),
70  trackSelectors= cms.VPSet(
71  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
72  name = 'hiRegitMuLowPtTripletStepLoose',
73  # minNumberLayers = 10
74  ), #end of pset
75  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
76  name = 'hiRegitMuLowPtTripletStepTight',
77  preFilterName = 'hiRegitMuLowPtTripletStepLoose',
78  # minNumberLayers = 10
79  ),
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
81  name = 'hiRegitMuLowPtTripletStep',
82  preFilterName = 'hiRegitMuLowPtTripletStepTight',
83  # minNumberLayers = 10
84  ),
85  ) #end of vpset
86 )
87 
88 hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
89  hiRegitMuLowPtTripletStepSeedLayers*
90  hiRegitMuLowPtTripletStepSeeds*
91  hiRegitMuLowPtTripletStepTrackCandidates*
92  hiRegitMuLowPtTripletStepTracks*
93  hiRegitMuLowPtTripletStepSelector)
94 
95 
96 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...