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.
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("TrackClusterRemover",
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.initialStepTrajectoryFilter.clone(
44  ComponentName = 'hiRegitInitialStepTrajectoryFilter'
45  )
46 
47 
48 hiRegitInitialStepTrajectoryBuilder = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryBuilder.clone(
49  ComponentName = 'hiRegitInitialStepTrajectoryBuilder',
50  trajectoryFilterName = 'hiRegitInitialStepTrajectoryFilter',
51  clustersToSkip = cms.InputTag('hiRegitInitialStepClusters')
52 )
53 
54 # track candidates
55 hiRegitInitialStepTrackCandidates = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrackCandidates.clone(
56  src = cms.InputTag('hiRegitInitialStepSeeds'),
57  TrajectoryBuilder = 'hiRegitInitialStepTrajectoryBuilder',
58  maxNSeeds = 100000
59  )
60 
61 # fitting: feed new-names
62 hiRegitInitialStepTracks = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTracks.clone(
63  src = 'hiRegitInitialStepTrackCandidates',
64  AlgorithmName = cms.string('iter0')
65 )
66 
67 
68 # Track selection
69 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
70 hiRegitInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
71  src='hiRegitInitialStepTracks',
72  trackSelectors= cms.VPSet(
73  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
74  name = 'hiRegitInitialStepLoose',
75  d0_par2 = [9999.0, 0.0],
76  dz_par2 = [9999.0, 0.0],
77  applyAdaptedPVCuts = False
78  ), #end of pset
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
80  name = 'hiRegitInitialStepTight',
81  preFilterName = 'hiRegitInitialStepLoose',
82  d0_par2 = [9999.0, 0.0],
83  dz_par2 = [9999.0, 0.0],
84  applyAdaptedPVCuts = False
85  ),
86  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
87  name = 'hiRegitInitialStep',
88  preFilterName = 'hiRegitInitialStepTight',
89  d0_par2 = [9999.0, 0.0],
90  dz_par2 = [9999.0, 0.0],
91  applyAdaptedPVCuts = False
92  ),
93  ) #end of vpset
94  ) #end of clone
95 
96 
97 hiRegitInitialStep = cms.Sequence(hiGeneralTrackFilter*
98  hiRegitInitialStepClusters*
99  hiRegitInitialStepSeeds*
100  hiRegitInitialStepTrackCandidates*
101  hiRegitInitialStepTracks*
102  hiRegitInitialStepSelector)
103 
104 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...