CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hiRegitLowPtTripletStep_cff.py
Go to the documentation of this file.
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 hiRegitLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitLowPtTripletStepClusters')
35 hiRegitLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitLowPtTripletStepClusters')
36 
37 # seeds
38 hiRegitLowPtTripletStepSeeds = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone()
39 hiRegitLowPtTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
40 hiRegitLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
41 hiRegitLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitLowPtTripletStepSeedLayers'
43 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
44 hiRegitLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
45 hiRegitLowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.4
46 
47 
48 # building: feed the new-named seeds
49 hiRegitLowPtTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepStandardTrajectoryFilter.clone()
50 
51 
52 hiRegitLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
53  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitLowPtTripletStepTrajectoryFilter')),
54  clustersToSkip = cms.InputTag('hiRegitLowPtTripletStepClusters'),
55 )
56 
57 # track candidates
58 hiRegitLowPtTripletStepTrackCandidates = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrackCandidates.clone(
59  src = cms.InputTag('hiRegitLowPtTripletStepSeeds'),
60  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitLowPtTripletStepTrajectoryBuilder')),
61  maxNSeeds = 100000
62  )
63 
64 # fitting: feed new-names
65 hiRegitLowPtTripletStepTracks = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
66  src = 'hiRegitLowPtTripletStepTrackCandidates',
67  #AlgorithmName = cms.string('pixelLessStep')
68  AlgorithmName = cms.string('lowPtTripletStep')
69 )
70 
71 
72 # Track selection
74 hiRegitLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
75  src='hiRegitLowPtTripletStepTracks',
76  trackSelectors= cms.VPSet(
77  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
78  name = 'hiRegitLowPtTripletStepLoose',
79  d0_par2 = [9999.0, 0.0],
80  dz_par2 = [9999.0, 0.0],
81  applyAdaptedPVCuts = False
82  ), #end of pset
83  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
84  name = 'hiRegitLowPtTripletStepTight',
85  preFilterName = 'hiRegitLowPtTripletStepLoose',
86  d0_par2 = [9999.0, 0.0],
87  dz_par2 = [9999.0, 0.0],
88  applyAdaptedPVCuts = False
89  ),
90  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
91  name = 'hiRegitLowPtTripletStep',
92  preFilterName = 'hiRegitLowPtTripletStepTight',
93  d0_par2 = [9999.0, 0.0],
94  dz_par2 = [9999.0, 0.0],
95  applyAdaptedPVCuts = False
96  ),
97  ) #end of vpset
98  ) #end of clone
99 
100 
101 hiRegitLowPtTripletStep = cms.Sequence(hiRegitLowPtTripletStepClusters*
102  hiRegitLowPtTripletStepSeedLayers*
103  hiRegitLowPtTripletStepSeeds*
104  hiRegitLowPtTripletStepTrackCandidates*
105  hiRegitLowPtTripletStepTracks*
106  hiRegitLowPtTripletStepSelector)
107 
108 
109 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...