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 #hiRegitMuDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
44 
45 # building: feed the new-named seeds
46 hiRegitMuDetachedTripletStepTrajectoryFilter = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryFilter.clone(
47  ComponentName = 'hiRegitMuDetachedTripletStepTrajectoryFilter'
48  )
49 hiRegitMuDetachedTripletStepTrajectoryFilter.filterPset.minPt = 0.8 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
50 
51 hiRegitMuDetachedTripletStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrajectoryBuilder.clone(
52  ComponentName = 'hiRegitMuDetachedTripletStepTrajectoryBuilder',
53  trajectoryFilterName = 'hiRegitMuDetachedTripletStepTrajectoryFilter',
54  clustersToSkip = cms.InputTag('hiRegitMuDetachedTripletStepClusters')
55 )
56 
57 hiRegitMuDetachedTripletStepTrackCandidates = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTrackCandidates.clone(
58  src = cms.InputTag('hiRegitMuDetachedTripletStepSeeds'),
59  TrajectoryBuilder = 'hiRegitMuDetachedTripletStepTrajectoryBuilder'
60  )
61 
62 # fitting: feed new-names
63 hiRegitMuDetachedTripletStepTracks = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepTracks.clone(
64  src = 'hiRegitMuDetachedTripletStepTrackCandidates'
65 )
66 
67 
68 hiRegitMuDetachedTripletStepSelector = RecoHI.HiTracking.hiRegitDetachedTripletStep_cff.hiRegitDetachedTripletStepSelector.clone(
69  src ='hiRegitMuDetachedTripletStepTracks',
70  trackSelectors= cms.VPSet(
71  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
72  name = 'hiRegitMuDetachedTripletStepLoose',
73  ),
74  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
75  name = 'hiRegitMuDetachedTripletStepTight',
76  preFilterName = 'hiRegitMuDetachedTripletStepLoose',
77  ),
78  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
79  name = 'hiRegitMuDetachedTripletStep',
80  preFilterName = 'hiRegitMuDetachedTripletStepTight',
81  )
82  ) #end of vpset
83  )
84 
85 
86 hiRegitMuonDetachedTripletStep = cms.Sequence(hiRegitMuDetachedTripletStepClusters*
87  hiRegitMuDetachedTripletStepSeedLayers*
88  hiRegitMuDetachedTripletStepSeeds*
89  hiRegitMuDetachedTripletStepTrackCandidates*
90  hiRegitMuDetachedTripletStepTracks*
91  hiRegitMuDetachedTripletStepSelector
92  )
93 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...