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 hiRegitMuDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
31 hiRegitMuDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
32 
33 # seeding
34 hiRegitMuDetachedTripletStepSeeds = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSeeds.clone()
35 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
36 hiRegitMuDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
37 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 0.9
38 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 2.0 # default = 0.2
39 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 2.0 # this give you the length
40 hiRegitMuDetachedTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
41 hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuDetachedTripletStepSeedLayers'
43 #import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
44 #hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
45 
46 # building: feed the new-named seeds
47 hiRegitMuDetachedTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryFilter.clone()
48 hiRegitMuDetachedTripletStepTrajectoryFilter.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
49 
50 hiRegitMuDetachedTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryBuilder.clone(
51  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuDetachedTripletStepTrajectoryFilter')),
52  clustersToSkip = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
53 )
54 
55 hiRegitMuDetachedTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrackCandidates.clone(
56  src = cms.InputTag('hiRegitMuDetachedTripletStepSeeds'),
57  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuDetachedTripletStepTrajectoryBuilder'))
58  )
59 
60 # fitting: feed new-names
61 hiRegitMuDetachedTripletStepTracks = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTracks.clone(
62  src = 'hiRegitMuDetachedTripletStepTrackCandidates'
63 )
64 
65 
66 hiRegitMuDetachedTripletStepSelector = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSelector.clone(
67  src ='hiRegitMuDetachedTripletStepTracks',
68  trackSelectors= cms.VPSet(
69  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
70  name = 'hiRegitMuDetachedTripletStepLoose',
71  ),
72  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
73  name = 'hiRegitMuDetachedTripletStepTight',
74  preFilterName = 'hiRegitMuDetachedTripletStepLoose',
75  ),
76  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
77  name = 'hiRegitMuDetachedTripletStep',
78  preFilterName = 'hiRegitMuDetachedTripletStepTight',
79  )
80  ) #end of vpset
81  )
82 
83 
84 hiRegitMuonDetachedTripletStep = cms.Sequence(hiRegitMuDetachedTripletStepClusters*
85  hiRegitMuDetachedTripletStepSeedLayers*
86  hiRegitMuDetachedTripletStepSeeds*
87  hiRegitMuDetachedTripletStepTrackCandidates*
88  hiRegitMuDetachedTripletStepTracks*
89  hiRegitMuDetachedTripletStepSelector
90  )
91 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...