CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hiRegitMixedTripletStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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 from RecoTracker.IterativeTracking.MixedTripletStep_cff import mixedTripletStepTrajectoryBuilder
12 
13 # NEW CLUSTERS (remove previously used clusters)
14 hiRegitMixedTripletStepClusters = cms.EDProducer("HITrackClusterRemover",
15  clusterLessSolution= cms.bool(True),
16  oldClusterRemovalInfo = cms.InputTag("hiRegitDetachedTripletStepClusters"),
17  trajectories = cms.InputTag("hiRegitDetachedTripletStepTracks"),
18  overrideTrkQuals = cms.InputTag('hiRegitDetachedTripletStepSelector','hiRegitDetachedTripletStep'),
19  TrackQuality = cms.string('highPurity'),
20  pixelClusters = cms.InputTag("siPixelClusters"),
21  stripClusters = cms.InputTag("siStripClusters"),
22  Common = cms.PSet(
23  maxChi2 = cms.double(9.0),
24  ),
25  Strip = cms.PSet(
26  maxChi2 = cms.double(9.0),
27  #Yen-Jie's mod to preserve merged clusters
28  maxSize = cms.uint32(2)
29  )
30  )
31 
32 
33 
34 # SEEDING LAYERS A
35 hiRegitMixedTripletStepSeedLayersA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone(
36  BPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
37  FPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
38  TEC = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
39  layerList = ['BPix1+BPix2+BPix3',
40  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
41  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
42  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
43  'FPix1_pos+FPix2_pos+TEC1_pos', 'FPix1_neg+FPix2_neg+TEC1_neg']
44 )
45 # SEEDS A
46 hiRegitMixedTripletStepSeedsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsA.clone(
47  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
48  RegionPSet = dict(ptMin = 1.0)
49  ),
50  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
51  OrderedHitsFactoryPSet = dict(SeedingLayers = 'hiRegitMixedTripletStepSeedLayersA'),
52 )
53 # SEEDING LAYERS B
54 hiRegitMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone(
55  BPix = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
56  TIB = dict(skipClusters = 'hiRegitMixedTripletStepClusters'),
57  layerList = ['BPix2+BPix3+TIB1','BPix2+BPix3+TIB2']
58 )
59 hiRegitMixedTripletStepSeedsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsB.clone(
60  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
61  RegionPSet = dict(ptMin = 1.0)
62  ),
63  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
64  OrderedHitsFactoryPSet = dict(SeedingLayers = 'hiRegitMixedTripletStepSeedLayersB'),
65 )
66 # combine seeds
67 hiRegitMixedTripletStepSeeds = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeeds.clone(
68  seedCollections = ['hiRegitMixedTripletStepSeedsA',
69  'hiRegitMixedTripletStepSeedsB'
70  ],
71 )
72 
73 # track building
74 hiRegitMixedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryFilter.clone()
75 
76 hiRegitMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
77  trajectoryFilter = dict(refToPSet_ = 'hiRegitMixedTripletStepTrajectoryFilter'),
78  clustersToSkip = 'hiRegitMixedTripletStepClusters',
79 )
80 
81 hiRegitMixedTripletStepTrackCandidates = RecoTracker.IterativeTracking.MixedTripletStep_cff._mixedTripletStepTrackCandidatesCkf.clone(
82  src = 'hiRegitMixedTripletStepSeeds',
83  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMixedTripletStepTrajectoryBuilder')),
84  maxNSeeds = 100000
85  )
86 
87 # fitting: feed new-names
88 hiRegitMixedTripletStepTracks = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
89  src = 'hiRegitMixedTripletStepTrackCandidates',
90  #AlgorithmName = 'conversionStep',
91  AlgorithmName = 'mixedTripletStep',
92 )
93 
94 # Track selection
96 hiRegitMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
97  src = 'hiRegitMixedTripletStepTracks',
98  trackSelectors = cms.VPSet(
99  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
100  name = 'hiRegitMixedTripletStepLoose',
101  d0_par2 = [9999.0, 0.0],
102  dz_par2 = [9999.0, 0.0],
103  applyAdaptedPVCuts = False
104  ), #end of pset
105  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
106  name = 'hiRegitMixedTripletStepTight',
107  preFilterName = 'hiRegitMixedTripletStepLoose',
108  d0_par2 = [9999.0, 0.0],
109  dz_par2 = [9999.0, 0.0],
110  applyAdaptedPVCuts = False
111  ),
112  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
113  name = 'hiRegitMixedTripletStep',
114  preFilterName = 'hiRegitMixedTripletStepTight',
115  d0_par2 = [9999.0, 0.0],
116  dz_par2 = [9999.0, 0.0],
117  applyAdaptedPVCuts = False
118  ),
119  ) #end of vpset
120 ) #end of clone
121 
122 hiRegitMixedTripletStepTask = cms.Task(hiRegitMixedTripletStepClusters,
123  hiRegitMixedTripletStepSeedLayersA,
124  hiRegitMixedTripletStepSeedsA,
125  hiRegitMixedTripletStepSeedLayersB,
126  hiRegitMixedTripletStepSeedsB,
127  hiRegitMixedTripletStepSeeds,
128  hiRegitMixedTripletStepTrackCandidates,
129  hiRegitMixedTripletStepTracks,
130  hiRegitMixedTripletStepSelector
131  )
132 hiRegitMixedTripletStep = cms.Sequence(hiRegitMixedTripletStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...