CMS 3D CMS Logo

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