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