CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hiRegitMixedTripletStep_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 ################################### 4th step: large impact parameter tracking using mixed-triplet seeding
6 
8 
9 ###################################
11 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitMixedTripletStepClusters = cms.EDProducer("TrackClusterRemover",
14  clusterLessSolution= cms.bool(True),
15  oldClusterRemovalInfo = cms.InputTag("hiRegitDetachedTripletStepClusters"),
16  trajectories = cms.InputTag("hiRegitDetachedTripletStepTracks"),
17  overrideTrkQuals = cms.InputTag('hiRegitDetachedTripletStepSelector','hiRegitDetachedTripletStep'),
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 
33 # SEEDING LAYERS A
34 hiRegitMixedTripletStepSeedLayersA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone(
35  ComponentName = 'hiRegitMixedTripletStepSeedLayersA'
36  )
37 hiRegitMixedTripletStepSeedLayersA.BPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
38 hiRegitMixedTripletStepSeedLayersA.FPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
39 hiRegitMixedTripletStepSeedLayersA.TEC.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
40 hiRegitMixedTripletStepSeedLayersA.layerList = cms.vstring('BPix1+BPix2+BPix3',
41  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
42  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
43  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
44  'FPix1_pos+FPix2_pos+TEC1_pos', 'FPix1_neg+FPix2_neg+TEC1_neg',)
45 
46 # SEEDS A
47 hiRegitMixedTripletStepSeedsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsA.clone()
48 hiRegitMixedTripletStepSeedsA.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
49 hiRegitMixedTripletStepSeedsA.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
50 hiRegitMixedTripletStepSeedsA.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMixedTripletStepSeedLayersA'
51 hiRegitMixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.ptMin = 1.0
52 
53 # SEEDING LAYERS B
54 hiRegitMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone(
55  ComponentName = 'hiRegitMixedTripletStepSeedLayersB',
56  )
57 hiRegitMixedTripletStepSeedLayersB.BPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
58 hiRegitMixedTripletStepSeedLayersB.TIB.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
59 hiRegitMixedTripletStepSeedLayersB.layerList = cms.vstring('BPix2+BPix3+TIB1','BPix2+BPix3+TIB2')
60 
61 hiRegitMixedTripletStepSeedsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsB.clone()
62 hiRegitMixedTripletStepSeedsB.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
63 hiRegitMixedTripletStepSeedsB.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
64 hiRegitMixedTripletStepSeedsB.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMixedTripletStepSeedLayersB'
65 hiRegitMixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.ptMin = 1.0
66 
67 # combine seeds
68 hiRegitMixedTripletStepSeeds = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeeds.clone(
69  seedCollections = cms.VInputTag(
70  cms.InputTag('hiRegitMixedTripletStepSeedsA'),
71  cms.InputTag('hiRegitMixedTripletStepSeedsB'),
72  )
73  )
74 
75 # track building
76 hiRegitMixedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryFilter.clone(
77  ComponentName = 'hiRegitMixedTripletStepTrajectoryFilter'
78  )
79 
80 hiRegitMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
81  ComponentName = 'hiRegitMixedTripletStepTrajectoryBuilder',
82  trajectoryFilterName = 'hiRegitMixedTripletStepTrajectoryFilter',
83  clustersToSkip = cms.InputTag('hiRegitMixedTripletStepClusters'),
84 )
85 
86 hiRegitMixedTripletStepTrackCandidates = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrackCandidates.clone(
87  src = cms.InputTag('hiRegitMixedTripletStepSeeds'),
88  TrajectoryBuilder = 'hiRegitMixedTripletStepTrajectoryBuilder',
89  maxNSeeds = 100000
90  )
91 
92 # fitting: feed new-names
93 hiRegitMixedTripletStepTracks = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
94  src = 'hiRegitMixedTripletStepTrackCandidates',
95  #AlgorithmName = cms.string('iter8'),
96  AlgorithmName = cms.string('iter4'),
97  )
98 
99 # Track selection
100 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
101 hiRegitMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
102  src='hiRegitMixedTripletStepTracks',
103  trackSelectors= cms.VPSet(
104  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
105  name = 'hiRegitMixedTripletStepLoose',
106  d0_par2 = [9999.0, 0.0],
107  dz_par2 = [9999.0, 0.0],
108  applyAdaptedPVCuts = False
109  ), #end of pset
110  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
111  name = 'hiRegitMixedTripletStepTight',
112  preFilterName = 'hiRegitMixedTripletStepLoose',
113  d0_par2 = [9999.0, 0.0],
114  dz_par2 = [9999.0, 0.0],
115  applyAdaptedPVCuts = False
116  ),
117  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
118  name = 'hiRegitMixedTripletStep',
119  preFilterName = 'hiRegitMixedTripletStepTight',
120  d0_par2 = [9999.0, 0.0],
121  dz_par2 = [9999.0, 0.0],
122  applyAdaptedPVCuts = False
123  ),
124  ) #end of vpset
125  ) #end of clone
126 
127 hiRegitMixedTripletStep = cms.Sequence(hiRegitMixedTripletStepClusters*
128  hiRegitMixedTripletStepSeedsA*
129  hiRegitMixedTripletStepSeedsB*
130  hiRegitMixedTripletStepSeeds*
131  hiRegitMixedTripletStepTrackCandidates*
132  hiRegitMixedTripletStepTracks*
133  hiRegitMixedTripletStepSelector
134  )
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...