CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hiRegitDetachedTripletStep_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 ################################### 3rd step: low-pT and displaced tracks from pixel triplets
6 
8 
9 ###################################
11 
12 # NEW CLUSTERS (remove previously used clusters)
13 hiRegitDetachedTripletStepClusters = cms.EDProducer("TrackClusterRemover",
14  clusterLessSolution= cms.bool(True),
15  oldClusterRemovalInfo = cms.InputTag("hiRegitPixelPairStepClusters"),
16  trajectories = cms.InputTag("hiRegitPixelPairStepTracks"),
17  overrideTrkQuals = cms.InputTag('hiRegitPixelPairStepSelector','hiRegitPixelPairStep'),
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 
33 # SEEDING LAYERS
34 hiRegitDetachedTripletStepSeedLayers = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeedLayers.clone(
35  ComponentName = 'hiRegitDetachedTripletStepSeedLayers'
36  )
37 hiRegitDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
38 hiRegitDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
39 
40 # seeding
41 hiRegitDetachedTripletStepSeeds = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeeds.clone()
42 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
43 hiRegitDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
44 hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitDetachedTripletStepSeedLayers'
46 #hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
47 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
48 
49 # building: feed the new-named seeds
50 hiRegitDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilter.clone(
51  ComponentName = 'hiRegitDetachedTripletStepTrajectoryFilter'
52  )
53 
54 hiRegitDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
55  ComponentName = 'hiRegitDetachedTripletStepTrajectoryBuilder',
56  trajectoryFilterName = 'hiRegitDetachedTripletStepTrajectoryFilter',
57  clustersToSkip = cms.InputTag('hiRegitDetachedTripletStepClusters')
58 )
59 
60 hiRegitDetachedTripletStepTrackCandidates = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
61  src = cms.InputTag('hiRegitDetachedTripletStepSeeds'),
62  TrajectoryBuilder = 'hiRegitDetachedTripletStepTrajectoryBuilder',
63  maxNSeeds=100000
64  )
65 
66 # fitting: feed new-names
67 hiRegitDetachedTripletStepTracks = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
68  src = 'hiRegitDetachedTripletStepTrackCandidates',
69  #AlgorithmName = cms.string('iter7'),
70  AlgorithmName = cms.string('iter3'),
71  )
72 
73 
74 # Track selection
75 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
76 hiRegitDetachedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
77  src='hiRegitDetachedTripletStepTracks',
78  trackSelectors= cms.VPSet(
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
80  name = 'hiRegitDetachedTripletStepLoose',
81  d0_par2 = [9999.0, 0.0],
82  dz_par2 = [9999.0, 0.0],
83  applyAdaptedPVCuts = False
84  ), #end of pset
85  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
86  name = 'hiRegitDetachedTripletStepTight',
87  preFilterName = 'hiRegitDetachedTripletStepLoose',
88  d0_par2 = [9999.0, 0.0],
89  dz_par2 = [9999.0, 0.0],
90  applyAdaptedPVCuts = False
91  ),
92  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
93  name = 'hiRegitDetachedTripletStep',
94  preFilterName = 'hiRegitDetachedTripletStepTight',
95  d0_par2 = [9999.0, 0.0],
96  dz_par2 = [9999.0, 0.0],
97  applyAdaptedPVCuts = False
98  ),
99  ) #end of vpset
100  ) #end of clone
101 
102 
103 hiRegitDetachedTripletStep = cms.Sequence(hiRegitDetachedTripletStepClusters*
104  hiRegitDetachedTripletStepSeeds*
105  hiRegitDetachedTripletStepTrackCandidates*
106  hiRegitDetachedTripletStepTracks*
107  hiRegitDetachedTripletStepSelector
108  )
109 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...