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 hiRegitDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
36 hiRegitDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
37 
38 # seeding
39 hiRegitDetachedTripletStepSeeds = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeeds.clone()
40 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone()
41 hiRegitDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
42 hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitDetachedTripletStepSeedLayers'
44 #hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
45 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
46 
47 # building: feed the new-named seeds
48 hiRegitDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilter.clone(
49  ComponentName = 'hiRegitDetachedTripletStepTrajectoryFilter'
50  )
51 
52 hiRegitDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
53  ComponentName = 'hiRegitDetachedTripletStepTrajectoryBuilder',
54  trajectoryFilterName = 'hiRegitDetachedTripletStepTrajectoryFilter',
55  clustersToSkip = cms.InputTag('hiRegitDetachedTripletStepClusters')
56 )
57 
58 hiRegitDetachedTripletStepTrackCandidates = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
59  src = cms.InputTag('hiRegitDetachedTripletStepSeeds'),
60  TrajectoryBuilder = 'hiRegitDetachedTripletStepTrajectoryBuilder',
61  maxNSeeds=100000
62  )
63 
64 # fitting: feed new-names
65 hiRegitDetachedTripletStepTracks = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
66  src = 'hiRegitDetachedTripletStepTrackCandidates',
67  #AlgorithmName = cms.string('iter7'),
68  AlgorithmName = cms.string('iter3'),
69  )
70 
71 
72 # Track selection
73 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
74 hiRegitDetachedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
75  src='hiRegitDetachedTripletStepTracks',
76  trackSelectors= cms.VPSet(
77  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
78  name = 'hiRegitDetachedTripletStepLoose',
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 = 'hiRegitDetachedTripletStepTight',
85  preFilterName = 'hiRegitDetachedTripletStepLoose',
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 = 'hiRegitDetachedTripletStep',
92  preFilterName = 'hiRegitDetachedTripletStepTight',
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 hiRegitDetachedTripletStep = cms.Sequence(hiRegitDetachedTripletStepClusters*
102  hiRegitDetachedTripletStepSeedLayers*
103  hiRegitDetachedTripletStepSeeds*
104  hiRegitDetachedTripletStepTrackCandidates*
105  hiRegitDetachedTripletStepTracks*
106  hiRegitDetachedTripletStepSelector
107  )
108 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...