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 hiRegitMuInitialStepTrajectoryFilter.minPt = 2.5 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
56 
57 
58 hiRegitMuInitialStepTrajectoryBuilder = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTrajectoryBuilder.clone(
59  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuInitialStepTrajectoryFilter')),
60  clustersToSkip = cms.InputTag('hiRegitMuInitialStepClusters')
61 )
62 
63 # track candidates
64 hiRegitMuInitialStepTrackCandidates = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTrackCandidates.clone(
65  src = cms.InputTag('hiRegitMuInitialStepSeeds'),
66  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuInitialStepTrajectoryBuilder')),
67  maxNSeeds = cms.uint32(1000000)
68  )
69 
70 # fitting: feed new-names
71 hiRegitMuInitialStepTracks = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepTracks.clone(
72  src = 'hiRegitMuInitialStepTrackCandidates'
73 )
74 
75 
76 hiRegitMuInitialStepSelector = RecoHI.HiTracking.hiRegitInitialStep_cff.hiRegitInitialStepSelector.clone(
77  src ='hiRegitMuInitialStepTracks',
78  trackSelectors= cms.VPSet(
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
80  name = 'hiRegitMuInitialStepLoose',
81  ), #end of pset
82  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
83  name = 'hiRegitMuInitialStepTight',
84  preFilterName = 'hiRegitMuInitialStepLoose',
85  ),
86  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
87  name = 'hiRegitMuInitialStep',
88  preFilterName = 'hiRegitMuInitialStepTight',
89 # minNumberLayers = 10
90  ),
91  ) #end of vpset
92  )
93 
94 hiRegitMuonInitialStep = cms.Sequence(hiRegitMuFirstStepFilter*
95  hiRegitMuInitialStepClusters*
96  hiRegitMuInitialStepSeeds*
97  hiRegitMuInitialStepTrackCandidates*
98  hiRegitMuInitialStepTracks*
99  hiRegitMuInitialStepSelector)
100 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...