CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonInitialStep_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 ################################### 0st step:pixel-triplet seeding, high-pT;
6 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
7 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
8 
9 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
10 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
11 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.3
12 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.2
13 
14 
15 ###################################
16 hiRegitMuFirstStepFilter = cms.EDProducer("QualityFilter",
17  TrackQuality = cms.string('highPurity'),
18  recTracks = cms.InputTag("hiSelectedTracks")
19  )
20 
21 # NEW CLUSTERS (remove previously used clusters)
22 hiRegitMuInitialStepClusters = cms.EDProducer("TrackClusterRemover",
23  clusterLessSolution= cms.bool(True),
24  trajectories = cms.InputTag("hiRegitMuFirstStepFilter"),
25  TrackQuality = cms.string('highPurity'),
26  pixelClusters = cms.InputTag("siPixelClusters"),
27  stripClusters = cms.InputTag("siStripClusters"),
28  Common = cms.PSet(
29  maxChi2 = cms.double(9.0)
30  ),
31  Strip = cms.PSet(
32  #Yen-Jie's mod to preserve merged clusters
33  maxSize = cms.uint32(2),
34  maxChi2 = cms.double(9.0)
35  )
36  )
37 
38 #-------------------------
40 
41 # seeding
42 hiRegitMuInitialStepSeeds = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepSeeds.clone()
43 hiRegitMuInitialStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
44 hiRegitMuInitialStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
45 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 3.0
46 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 1 # default = 0.2
47 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 1 # this give you the length
48 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
49 hiRegitMuInitialStepSeeds.skipClusters = cms.InputTag('hiRegitMuInitialStepClusters')
50 
51 
52 
53 # building: feed the new-named seeds
54 hiRegitMuInitialStepTrajectoryFilter = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTrajectoryFilter.clone(
55  ComponentName = 'hiRegitMuInitialStepTrajectoryFilter'
56  )
57 hiRegitMuInitialStepTrajectoryFilter.filterPset.minPt = 2.5 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
58 
59 
60 hiRegitMuInitialStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTrajectoryBuilder.clone(
61  ComponentName = 'hiRegitMuInitialStepTrajectoryBuilder',
62  trajectoryFilterName = 'hiRegitMuInitialStepTrajectoryFilter',
63  clustersToSkip = cms.InputTag('hiRegitMuInitialStepClusters')
64 )
65 
66 # track candidates
67 hiRegitMuInitialStepTrackCandidates = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTrackCandidates.clone(
68  src = cms.InputTag('hiRegitMuInitialStepSeeds'),
69  TrajectoryBuilder = 'hiRegitMuInitialStepTrajectoryBuilder',
70  maxNSeeds = cms.uint32(1000000)
71  )
72 
73 # fitting: feed new-names
74 hiRegitMuInitialStepTracks = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTracks.clone(
75  src = 'hiRegitMuInitialStepTrackCandidates'
76 )
77 
78 
79 hiRegitMuInitialStepSelector = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepSelector.clone(
80  src ='hiRegitMuInitialStepTracks',
81  trackSelectors= cms.VPSet(
82  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
83  name = 'hiRegitMuInitialStepLoose',
84  ), #end of pset
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
86  name = 'hiRegitMuInitialStepTight',
87  preFilterName = 'hiRegitMuInitialStepLoose',
88  ),
89  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
90  name = 'hiRegitMuInitialStep',
91  preFilterName = 'hiRegitMuInitialStepTight',
92 # minNumberLayers = 10
93  ),
94  ) #end of vpset
95  )
96 
97 hiRegitMuonInitialStep = cms.Sequence(hiRegitMuFirstStepFilter*
98  hiRegitMuInitialStepClusters*
99  hiRegitMuInitialStepSeeds*
100  hiRegitMuInitialStepTrackCandidates*
101  hiRegitMuInitialStepTracks*
102  hiRegitMuInitialStepSelector)
103 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...