CMS 3D CMS Logo

hiRegitMixedTripletStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
6 
8 
9 
11 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitMixedTripletStepClusters = cms.EDProducer("HITrackClusterRemover",
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 
74 hiRegitMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
75  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMixedTripletStepTrajectoryFilter')),
76  clustersToSkip = cms.InputTag('hiRegitMixedTripletStepClusters'),
77 )
78 
79 hiRegitMixedTripletStepTrackCandidates = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrackCandidates.clone(
80  src = cms.InputTag('hiRegitMixedTripletStepSeeds'),
81  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMixedTripletStepTrajectoryBuilder')),
82  maxNSeeds = 100000
83  )
84 
85 # fitting: feed new-names
86 hiRegitMixedTripletStepTracks = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
87  src = 'hiRegitMixedTripletStepTrackCandidates',
88  #AlgorithmName = cms.string('conversionStep'),
89  AlgorithmName = cms.string('mixedTripletStep'),
90  )
91 
92 # Track selection
94 hiRegitMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
95  src='hiRegitMixedTripletStepTracks',
96  trackSelectors= cms.VPSet(
97  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
98  name = 'hiRegitMixedTripletStepLoose',
99  d0_par2 = [9999.0, 0.0],
100  dz_par2 = [9999.0, 0.0],
101  applyAdaptedPVCuts = False
102  ), #end of pset
103  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
104  name = 'hiRegitMixedTripletStepTight',
105  preFilterName = 'hiRegitMixedTripletStepLoose',
106  d0_par2 = [9999.0, 0.0],
107  dz_par2 = [9999.0, 0.0],
108  applyAdaptedPVCuts = False
109  ),
110  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
111  name = 'hiRegitMixedTripletStep',
112  preFilterName = 'hiRegitMixedTripletStepTight',
113  d0_par2 = [9999.0, 0.0],
114  dz_par2 = [9999.0, 0.0],
115  applyAdaptedPVCuts = False
116  ),
117  ) #end of vpset
118  ) #end of clone
119 
120 hiRegitMixedTripletStepTask = cms.Task(hiRegitMixedTripletStepClusters,
121  hiRegitMixedTripletStepSeedLayersA,
122  hiRegitMixedTripletStepSeedsA,
123  hiRegitMixedTripletStepSeedLayersB,
124  hiRegitMixedTripletStepSeedsB,
125  hiRegitMixedTripletStepSeeds,
126  hiRegitMixedTripletStepTrackCandidates,
127  hiRegitMixedTripletStepTracks,
128  hiRegitMixedTripletStepSelector
129  )
130 hiRegitMixedTripletStep = cms.Sequence(hiRegitMixedTripletStepTask)
hiMultiTrackSelector_cfi
MixedTripletStep_cff
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...