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  BPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
36  FPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
37  TEC = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
38  layerList = ['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  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
47  RegionPSet = dict(ptMin = 1.0)
48  ),
49  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
50  OrderedHitsFactoryPSet = dict(SeedingLayers = 'hiRegitMixedTripletStepSeedLayersA'),
51 )
52 # SEEDING LAYERS B
53 hiRegitMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone(
54  BPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
55  TIB = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
56  layerList = ['BPix2+BPix3+TIB1','BPix2+BPix3+TIB2']
57 )
58 hiRegitMixedTripletStepSeedsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsB.clone(
59  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
60  RegionPSet = dict(ptMin = 1.0)
61  ),
62  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
63  OrderedHitsFactoryPSet = dict(SeedingLayers = 'hiRegitMixedTripletStepSeedLayersB'),
64 )
65 # combine seeds
66 hiRegitMixedTripletStepSeeds = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeeds.clone(
67  seedCollections = ['hiRegitMixedTripletStepSeedsA',
68  'hiRegitMixedTripletStepSeedsB'
69  ],
70 )
71 
72 # track building
73 hiRegitMixedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryFilter.clone()
74 
75 hiRegitMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
76  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMixedTripletStepTrajectoryFilter')),
77  clustersToSkip = cms.InputTag('hiRegitMixedTripletStepClusters'),
78 )
79 
80 hiRegitMixedTripletStepTrackCandidates = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrackCandidates.clone(
81  src = 'hiRegitMixedTripletStepSeeds',
82  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMixedTripletStepTrajectoryBuilder')),
83  maxNSeeds = 100000
84  )
85 
86 # fitting: feed new-names
87 hiRegitMixedTripletStepTracks = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
88  src = 'hiRegitMixedTripletStepTrackCandidates',
89  #AlgorithmName = 'conversionStep',
90  AlgorithmName = 'mixedTripletStep',
91 )
92 
93 # Track selection
95 hiRegitMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
96  src = 'hiRegitMixedTripletStepTracks',
97  trackSelectors = cms.VPSet(
98  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
99  name = 'hiRegitMixedTripletStepLoose',
100  d0_par2 = [9999.0, 0.0],
101  dz_par2 = [9999.0, 0.0],
102  applyAdaptedPVCuts = False
103  ), #end of pset
104  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
105  name = 'hiRegitMixedTripletStepTight',
106  preFilterName = 'hiRegitMixedTripletStepLoose',
107  d0_par2 = [9999.0, 0.0],
108  dz_par2 = [9999.0, 0.0],
109  applyAdaptedPVCuts = False
110  ),
111  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
112  name = 'hiRegitMixedTripletStep',
113  preFilterName = 'hiRegitMixedTripletStepTight',
114  d0_par2 = [9999.0, 0.0],
115  dz_par2 = [9999.0, 0.0],
116  applyAdaptedPVCuts = False
117  ),
118  ) #end of vpset
119 ) #end of clone
120 
121 hiRegitMixedTripletStepTask = cms.Task(hiRegitMixedTripletStepClusters,
122  hiRegitMixedTripletStepSeedLayersA,
123  hiRegitMixedTripletStepSeedsA,
124  hiRegitMixedTripletStepSeedLayersB,
125  hiRegitMixedTripletStepSeedsB,
126  hiRegitMixedTripletStepSeeds,
127  hiRegitMixedTripletStepTrackCandidates,
128  hiRegitMixedTripletStepTracks,
129  hiRegitMixedTripletStepSelector
130  )
131 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...