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 hiRegitPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
35 hiRegitPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
36 
37 
38 
39 # seeding
40 hiRegitPixelPairStepSeeds = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone()
41 hiRegitPixelPairStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
42 hiRegitPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
43 hiRegitPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitPixelPairStepSeedLayers'
44 hiRegitPixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
45 
46 
47 # building: feed the new-named seeds
48 hiRegitPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone(
49  ComponentName = 'hiRegitPixelPairStepTrajectoryFilter'
50  )
51 
52 hiRegitPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
53  ComponentName = 'hiRegitPixelPairStepTrajectoryBuilder',
54  trajectoryFilterName = 'hiRegitPixelPairStepTrajectoryFilter',
55  clustersToSkip = cms.InputTag('hiRegitPixelPairStepClusters'),
56 )
57 
58 # trackign candidate
59 hiRegitPixelPairStepTrackCandidates = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
60  src = cms.InputTag('hiRegitPixelPairStepSeeds'),
61  TrajectoryBuilder = 'hiRegitPixelPairStepTrajectoryBuilder',
62  maxNSeeds = 100000
63  )
64 
65 # fitting: feed new-names
66 hiRegitPixelPairStepTracks = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
67  src = 'hiRegitPixelPairStepTrackCandidates',
68  #AlgorithmName = cms.string('iter6'),
69  AlgorithmName = cms.string('iter2'),
70  )
71 
72 
73 # Track selection
74 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
75 hiRegitPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
76  src='hiRegitPixelPairStepTracks',
77  trackSelectors= cms.VPSet(
78  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
79  name = 'hiRegitPixelPairStepLoose',
80  d0_par2 = [9999.0, 0.0],
81  dz_par2 = [9999.0, 0.0],
82  applyAdaptedPVCuts = False
83  ), #end of pset
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
85  name = 'hiRegitPixelPairStepTight',
86  preFilterName = 'hiRegitPixelPairStepLoose',
87  d0_par2 = [9999.0, 0.0],
88  dz_par2 = [9999.0, 0.0],
89  applyAdaptedPVCuts = False
90  ),
91  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
92  name = 'hiRegitPixelPairStep',
93  preFilterName = 'hiRegitPixelPairStepTight',
94  d0_par2 = [9999.0, 0.0],
95  dz_par2 = [9999.0, 0.0],
96  applyAdaptedPVCuts = False
97  ),
98  ) #end of vpset
99  ) #end of clone
100 
101 hiRegitPixelPairStep = cms.Sequence(hiRegitPixelPairStepClusters*
102  hiRegitPixelPairStepSeedLayers*
103  hiRegitPixelPairStepSeeds*
104  hiRegitPixelPairStepTrackCandidates*
105  hiRegitPixelPairStepTracks*
106  hiRegitPixelPairStepSelector)
107 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...