test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hiRegitPixelPairStep_cff.py
Go to the documentation of this file.
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 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitPixelPairStepClusters = cms.EDProducer("TrackClusterRemover",
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.pixelPairStepTrajectoryFilter.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('iter6'),
66  AlgorithmName = cms.string('iter2'),
67  )
68 
69 
70 # Track selection
71 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
72 hiRegitPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
73  src='hiRegitPixelPairStepTracks',
74  trackSelectors= cms.VPSet(
75  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
76  name = 'hiRegitPixelPairStepLoose',
77  d0_par2 = [9999.0, 0.0],
78  dz_par2 = [9999.0, 0.0],
79  applyAdaptedPVCuts = False
80  ), #end of pset
81  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
82  name = 'hiRegitPixelPairStepTight',
83  preFilterName = 'hiRegitPixelPairStepLoose',
84  d0_par2 = [9999.0, 0.0],
85  dz_par2 = [9999.0, 0.0],
86  applyAdaptedPVCuts = False
87  ),
88  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
89  name = 'hiRegitPixelPairStep',
90  preFilterName = 'hiRegitPixelPairStepTight',
91  d0_par2 = [9999.0, 0.0],
92  dz_par2 = [9999.0, 0.0],
93  applyAdaptedPVCuts = False
94  ),
95  ) #end of vpset
96  ) #end of clone
97 
98 hiRegitPixelPairStep = cms.Sequence(hiRegitPixelPairStepClusters*
99  hiRegitPixelPairStepSeedLayers*
100  hiRegitPixelPairStepSeeds*
101  hiRegitPixelPairStepTrackCandidates*
102  hiRegitPixelPairStepTracks*
103  hiRegitPixelPairStepSelector)
104 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...