CMS 3D CMS Logo

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