CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hiRegitPixelPairStep_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 ################################### 2nd step: pixel pairs
6 
8 
9 ###################################
11 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitPixelPairStepClusters = cms.EDProducer("TrackClusterRemover",
14  clusterLessSolution= cms.bool(True),
15  oldClusterRemovalInfo = cms.InputTag("hiRegitLowPtTripletStepClusters"),
16  trajectories = cms.InputTag("hiRegitLowPtTripletStepTracks"),
17  overrideTrkQuals = cms.InputTag('hiRegitLowPtTripletStepSelector','hiRegitLowPtTripletStep'),
18  TrackQuality = cms.string('highPurity'),
19  pixelClusters = cms.InputTag("siPixelClusters"),
20  stripClusters = cms.InputTag("siStripClusters"),
21  Common = cms.PSet(
22  maxChi2 = cms.double(9.0),
23  ),
24  Strip = cms.PSet(
25  maxChi2 = cms.double(9.0),
26  #Yen-Jie's mod to preserve merged clusters
27  maxSize = cms.uint32(2)
28  )
29  )
30 
31 
32 # SEEDING LAYERS
33 hiRegitPixelPairStepSeedLayers = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedLayers.clone(
34  ComponentName = 'hiRegitPixelPairStepSeedLayers'
35  )
36 hiRegitPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
37 hiRegitPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
38 
39 
40 
41 # seeding
42 hiRegitPixelPairStepSeeds = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone()
43 hiRegitPixelPairStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
44 hiRegitPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
45 hiRegitPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitPixelPairStepSeedLayers'
46 hiRegitPixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
47 
48 
49 # building: feed the new-named seeds
50 hiRegitPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone(
51  ComponentName = 'hiRegitPixelPairStepTrajectoryFilter'
52  )
53 
54 hiRegitPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
55  ComponentName = 'hiRegitPixelPairStepTrajectoryBuilder',
56  trajectoryFilterName = 'hiRegitPixelPairStepTrajectoryFilter',
57  clustersToSkip = cms.InputTag('hiRegitPixelPairStepClusters'),
58 )
59 
60 # trackign candidate
61 hiRegitPixelPairStepTrackCandidates = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
62  src = cms.InputTag('hiRegitPixelPairStepSeeds'),
63  TrajectoryBuilder = 'hiRegitPixelPairStepTrajectoryBuilder',
64  maxNSeeds = 100000
65  )
66 
67 # fitting: feed new-names
68 hiRegitPixelPairStepTracks = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
69  src = 'hiRegitPixelPairStepTrackCandidates',
70  #AlgorithmName = cms.string('iter6'),
71  AlgorithmName = cms.string('iter2'),
72  )
73 
74 
75 # Track selection
76 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
77 hiRegitPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
78  src='hiRegitPixelPairStepTracks',
79  trackSelectors= cms.VPSet(
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
81  name = 'hiRegitPixelPairStepLoose',
82  d0_par2 = [9999.0, 0.0],
83  dz_par2 = [9999.0, 0.0],
84  applyAdaptedPVCuts = False
85  ), #end of pset
86  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
87  name = 'hiRegitPixelPairStepTight',
88  preFilterName = 'hiRegitPixelPairStepLoose',
89  d0_par2 = [9999.0, 0.0],
90  dz_par2 = [9999.0, 0.0],
91  applyAdaptedPVCuts = False
92  ),
93  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
94  name = 'hiRegitPixelPairStep',
95  preFilterName = 'hiRegitPixelPairStepTight',
96  d0_par2 = [9999.0, 0.0],
97  dz_par2 = [9999.0, 0.0],
98  applyAdaptedPVCuts = False
99  ),
100  ) #end of vpset
101  ) #end of clone
102 
103 hiRegitPixelPairStep = cms.Sequence(hiRegitPixelPairStepClusters*
104  hiRegitPixelPairStepSeeds*
105  hiRegitPixelPairStepTrackCandidates*
106  hiRegitPixelPairStepTracks*
107  hiRegitPixelPairStepSelector)
108 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...