CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonDetachedTripletStep_cff.py
Go to the documentation of this file.
2 
3 ###################################################################################
4 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
5 ################################### 3rd step: low-pT and displaced tracks from pixel triplets
6 
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
9 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
10 
11 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
12 
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
14 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.3
15 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.2
16 
17 
18 ###################################
20 
21 # NEW CLUSTERS (remove previously used clusters)
22 hiRegitMuDetachedTripletStepClusters = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepClusters.clone(
23  oldClusterRemovalInfo = cms.InputTag("hiRegitMuPixelPairStepClusters"),
24  trajectories = cms.InputTag("hiRegitMuPixelPairStepTracks"),
25  overrideTrkQuals = cms.InputTag('hiRegitMuPixelPairStepSelector','hiRegitMuPixelPairStep'),
26 )
27 
28 # SEEDING LAYERS
29 hiRegitMuDetachedTripletStepSeedLayers = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSeedLayers.clone(
30  ComponentName = 'hiRegitMuDetachedTripletStepSeedLayers'
31  )
32 hiRegitMuDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
33 hiRegitMuDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
34 
35 # seeding
36 hiRegitMuDetachedTripletStepSeeds = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSeeds.clone()
37 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
38 hiRegitMuDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
39 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
40 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 2.0 # default = 0.2
41 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 2.0 # this give you the length
42 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
43 hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuDetachedTripletStepSeedLayers'
45 #hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
46 
47 # building: feed the new-named seeds
48 hiRegitMuDetachedTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryFilter.clone(
49  ComponentName = 'hiRegitMuDetachedTripletStepTrajectoryFilter'
50  )
51 hiRegitMuDetachedTripletStepTrajectoryFilter.filterPset.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
52 
53 hiRegitMuDetachedTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryBuilder.clone(
54  ComponentName = 'hiRegitMuDetachedTripletStepTrajectoryBuilder',
55  trajectoryFilterName = 'hiRegitMuDetachedTripletStepTrajectoryFilter',
56  clustersToSkip = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
57 )
58 
59 hiRegitMuDetachedTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrackCandidates.clone(
60  src = cms.InputTag('hiRegitMuDetachedTripletStepSeeds'),
61  TrajectoryBuilder = 'hiRegitMuDetachedTripletStepTrajectoryBuilder'
62  )
63 
64 # fitting: feed new-names
65 hiRegitMuDetachedTripletStepTracks = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTracks.clone(
66  src = 'hiRegitMuDetachedTripletStepTrackCandidates'
67 )
68 
69 
70 hiRegitMuDetachedTripletStepSelector = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSelector.clone(
71  src ='hiRegitMuDetachedTripletStepTracks',
72  trackSelectors= cms.VPSet(
73  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
74  name = 'hiRegitMuDetachedTripletStepLoose',
75  ),
76  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
77  name = 'hiRegitMuDetachedTripletStepTight',
78  preFilterName = 'hiRegitMuDetachedTripletStepLoose',
79  ),
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
81  name = 'hiRegitMuDetachedTripletStep',
82  preFilterName = 'hiRegitMuDetachedTripletStepTight',
83  )
84  ) #end of vpset
85  )
86 
87 
88 hiRegitMuonDetachedTripletStep = cms.Sequence(hiRegitMuDetachedTripletStepClusters*
89  hiRegitMuDetachedTripletStepSeeds*
90  hiRegitMuDetachedTripletStepTrackCandidates*
91  hiRegitMuDetachedTripletStepTracks*
92  hiRegitMuDetachedTripletStepSelector
93  )
94 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...