CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hiRegitLowPtTripletStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
4 ################################### 1st step:pixel-triplet seeding, lower-pT;
5 
7 
8 ###################################
10 
11 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitLowPtTripletStepClusters = cms.EDProducer("HITrackClusterRemover",
14  clusterLessSolution= cms.bool(True),
15  oldClusterRemovalInfo = cms.InputTag("hiRegitInitialStepClusters"),
16  trajectories = cms.InputTag("hiRegitInitialStepTracks"),
17  overrideTrkQuals = cms.InputTag('hiRegitInitialStepSelector','hiRegitInitialStep'),
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 # SEEDING LAYERS
33 hiRegitLowPtTripletStepSeedLayers = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeedLayers.clone(
34  BPix = dict(skipClusters = 'hiRegitLowPtTripletStepClusters'),
35  FPix = dict(skipClusters = 'hiRegitLowPtTripletStepClusters')
36 )
37 
39 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
40 # seeds
41 hiRegitLowPtTripletStepSeeds = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone(
42  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
43  RegionPSet = dict(ptMin = 0.4)
44  ),
45  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
46  OrderedHitsFactoryPSet = dict(
47  SeedingLayers = 'hiRegitLowPtTripletStepSeedLayers',
48  GeneratorPSet = dict (
49  SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone()
50  ),
51  ),
52 )
53 
54 # building: feed the new-named seeds
55 hiRegitLowPtTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepStandardTrajectoryFilter.clone()
56 
57 
58 hiRegitLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
59  trajectoryFilter = dict(refToPSet_ = 'hiRegitLowPtTripletStepTrajectoryFilter'),
60  clustersToSkip = 'hiRegitLowPtTripletStepClusters',
61 )
62 
63 # track candidates
64 hiRegitLowPtTripletStepTrackCandidates = RecoTracker.IterativeTracking.LowPtTripletStep_cff._lowPtTripletStepTrackCandidatesCkf.clone(
65  src = 'hiRegitLowPtTripletStepSeeds',
66  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitLowPtTripletStepTrajectoryBuilder')),
67  maxNSeeds = 100000
68 )
69 
70 # fitting: feed new-names
71 hiRegitLowPtTripletStepTracks = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
72  src = 'hiRegitLowPtTripletStepTrackCandidates',
73  #AlgorithmName = 'pixelLessStep'
74  AlgorithmName = 'lowPtTripletStep'
75 )
76 
77 
78 # Track selection
80 hiRegitLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
81  src = 'hiRegitLowPtTripletStepTracks',
82  trackSelectors = cms.VPSet(
83  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
84  name = 'hiRegitLowPtTripletStepLoose',
85  d0_par2 = [9999.0, 0.0],
86  dz_par2 = [9999.0, 0.0],
87  applyAdaptedPVCuts = False
88  ), #end of pset
89  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
90  name = 'hiRegitLowPtTripletStepTight',
91  preFilterName = 'hiRegitLowPtTripletStepLoose',
92  d0_par2 = [9999.0, 0.0],
93  dz_par2 = [9999.0, 0.0],
94  applyAdaptedPVCuts = False
95  ),
96  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
97  name = 'hiRegitLowPtTripletStep',
98  preFilterName = 'hiRegitLowPtTripletStepTight',
99  d0_par2 = [9999.0, 0.0],
100  dz_par2 = [9999.0, 0.0],
101  applyAdaptedPVCuts = False
102  ),
103  ) #end of vpset
104 ) #end of clone
105 
106 
107 hiRegitLowPtTripletStepTask = cms.Task(hiRegitLowPtTripletStepClusters,
108  hiRegitLowPtTripletStepSeedLayers,
109  hiRegitLowPtTripletStepSeeds,
110  hiRegitLowPtTripletStepTrackCandidates,
111  hiRegitLowPtTripletStepTracks,
112  hiRegitLowPtTripletStepSelector)
113 hiRegitLowPtTripletStep = cms.Sequence(hiRegitLowPtTripletStepTask)
114 
115 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...