CMS 3D CMS Logo

hiRegitPixelPairStep_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 hiRegitPixelPairStepClusters = cms.EDProducer("HITrackClusterRemover",
14  clusterLessSolution= cms.bool(True),
15  oldClusterRemovalInfo = cms.InputTag("hiRegitLowPtTripletStepClusters"),
16  trajectories = cms.InputTag("hiRegitLowPtTripletStepTracks"),
17  overrideTrkQuals = cms.InputTag('hiRegitLowPtTripletStepSelector','hiRegitLowPtTripletStep'),
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 hiRegitPixelPairStepSeedLayers = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedLayers.clone()
34 hiRegitPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
35 hiRegitPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
36 
37 
38 
39 # seeding
40 hiRegitPixelPairStepSeeds = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone()
41 hiRegitPixelPairStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
42 hiRegitPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
43 hiRegitPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitPixelPairStepSeedLayers'
44 hiRegitPixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
45 
46 
47 # building: feed the new-named seeds
48 hiRegitPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilterBase.clone()
49 
50 hiRegitPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
51  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitPixelPairStepTrajectoryFilter')),
52  clustersToSkip = cms.InputTag('hiRegitPixelPairStepClusters'),
53 )
54 
55 # trackign candidate
56 hiRegitPixelPairStepTrackCandidates = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
57  src = cms.InputTag('hiRegitPixelPairStepSeeds'),
58  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitPixelPairStepTrajectoryBuilder')),
59  maxNSeeds = 100000
60  )
61 
62 # fitting: feed new-names
63 hiRegitPixelPairStepTracks = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
64  src = 'hiRegitPixelPairStepTrackCandidates',
65  AlgorithmName = cms.string('pixelPairStep'),
66  )
67 
68 
69 # Track selection
71 hiRegitPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
72  src='hiRegitPixelPairStepTracks',
73  trackSelectors= cms.VPSet(
74  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
75  name = 'hiRegitPixelPairStepLoose',
76  d0_par2 = [9999.0, 0.0],
77  dz_par2 = [9999.0, 0.0],
78  applyAdaptedPVCuts = False
79  ), #end of pset
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
81  name = 'hiRegitPixelPairStepTight',
82  preFilterName = 'hiRegitPixelPairStepLoose',
83  d0_par2 = [9999.0, 0.0],
84  dz_par2 = [9999.0, 0.0],
85  applyAdaptedPVCuts = False
86  ),
87  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
88  name = 'hiRegitPixelPairStep',
89  preFilterName = 'hiRegitPixelPairStepTight',
90  d0_par2 = [9999.0, 0.0],
91  dz_par2 = [9999.0, 0.0],
92  applyAdaptedPVCuts = False
93  ),
94  ) #end of vpset
95  ) #end of clone
96 
97 hiRegitPixelPairStepTask = cms.Task(hiRegitPixelPairStepClusters,
98  hiRegitPixelPairStepSeedLayers,
99  hiRegitPixelPairStepSeeds,
100  hiRegitPixelPairStepTrackCandidates,
101  hiRegitPixelPairStepTracks,
102  hiRegitPixelPairStepSelector)
103 hiRegitPixelPairStep = cms.Sequence(hiRegitPixelPairStepTask)
hiMultiTrackSelector_cfi
PixelPairStep_cff
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...