CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hiRegitInitialStep_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 ################################### 0st step:pixel-triplet seeding, high-pT;
6 
7 ###################################
9 from RecoTracker.IterativeTracking.InitialStep_cff import initialStepTrajectoryFilterShape
10 
11 #################################
12 # Filter on quality tracks
13 hiGeneralTrackFilter = cms.EDProducer("QualityFilter",
14  TrackQuality = cms.string('highPurity'),
15  recTracks = cms.InputTag("hiGeneralTracks")
16  )
17 
18 # NEW CLUSTERS (remove previously used clusters)
19 hiRegitInitialStepClusters = cms.EDProducer("HITrackClusterRemover",
20  clusterLessSolution= cms.bool(True),
21  oldClusterRemovalInfo = cms.InputTag("hiPixelPairClusters"),
22  trajectories = cms.InputTag("hiGeneralTrackFilter"),
23  TrackQuality = cms.string('highPurity'),
24  pixelClusters = cms.InputTag("siPixelClusters"),
25  stripClusters = cms.InputTag("siStripClusters"),
26  Common = cms.PSet(
27  maxChi2 = cms.double(9.0),
28  ),
29  Strip = cms.PSet(
30  maxChi2 = cms.double(9.0),
31  )
32  )
33 
34 
35 
36 # seeding
37 hiRegitInitialStepSeeds = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeeds.clone(
38  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
39  RegionPSet = dict(ptMin = 1.2)
40  ),
41  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
42  skipClusters = cms.InputTag('hiRegitInitialStepClusters')
43 )
44 # building: feed the new-named seeds
45 hiRegitInitialStepTrajectoryFilter = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryFilterBase.clone()
46 
47 
48 hiRegitInitialStepTrajectoryBuilder = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryBuilder.clone(
49  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitInitialStepTrajectoryFilter')),
50  clustersToSkip = cms.InputTag('hiRegitInitialStepClusters')
51 )
52 
53 # track candidates
54 hiRegitInitialStepTrackCandidates = RecoTracker.IterativeTracking.InitialStep_cff._initialStepTrackCandidatesCkf.clone(
55  src = 'hiRegitInitialStepSeeds',
56  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitInitialStepTrajectoryBuilder')),
57  maxNSeeds = 100000
58 )
59 
60 # fitting: feed new-names
61 hiRegitInitialStepTracks = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTracks.clone(
62  src = 'hiRegitInitialStepTrackCandidates',
63  AlgorithmName = 'initialStep'
64 )
65 
66 
67 # Track selection
69 hiRegitInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
70  src = 'hiRegitInitialStepTracks',
71  trackSelectors = cms.VPSet(
72  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
73  name = 'hiRegitInitialStepLoose',
74  d0_par2 = [9999.0, 0.0],
75  dz_par2 = [9999.0, 0.0],
76  applyAdaptedPVCuts = False
77  ), #end of pset
78  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
79  name = 'hiRegitInitialStepTight',
80  preFilterName = 'hiRegitInitialStepLoose',
81  d0_par2 = [9999.0, 0.0],
82  dz_par2 = [9999.0, 0.0],
83  applyAdaptedPVCuts = False
84  ),
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
86  name = 'hiRegitInitialStep',
87  preFilterName = 'hiRegitInitialStepTight',
88  d0_par2 = [9999.0, 0.0],
89  dz_par2 = [9999.0, 0.0],
90  applyAdaptedPVCuts = False
91  ),
92  ) #end of vpset
93 ) #end of clone
94 
95 
96 hiRegitInitialStepTask = cms.Task(hiGeneralTrackFilter,
97  hiRegitInitialStepClusters,
98  hiRegitInitialStepSeeds,
99  hiRegitInitialStepTrackCandidates,
100  hiRegitInitialStepTracks,
101  hiRegitInitialStepSelector)
102 hiRegitInitialStep = cms.Sequence(hiRegitInitialStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...