test
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.
1 import FWCore.ParameterSet.Config as cms
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("HITrackClusterRemover",
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 #import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
45 #hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor
46 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
47 
48 # building: feed the new-named seeds
49 hiRegitDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilterBase.clone()
50 
51 hiRegitDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
52  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitDetachedTripletStepTrajectoryFilter')),
53  clustersToSkip = cms.InputTag('hiRegitDetachedTripletStepClusters')
54 )
55 
56 hiRegitDetachedTripletStepTrackCandidates = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
57  src = cms.InputTag('hiRegitDetachedTripletStepSeeds'),
58  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitDetachedTripletStepTrajectoryBuilder')),
59  maxNSeeds=100000
60  )
61 
62 # fitting: feed new-names
63 hiRegitDetachedTripletStepTracks = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
64  src = 'hiRegitDetachedTripletStepTrackCandidates',
65  #AlgorithmName = cms.string('jetCoreRegionalStep'),
66  AlgorithmName = cms.string('detachedTripletStep'),
67  )
68 
69 
70 # Track selection
72 hiRegitDetachedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
73  src='hiRegitDetachedTripletStepTracks',
74  trackSelectors= cms.VPSet(
75  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
76  name = 'hiRegitDetachedTripletStepLoose',
77  d0_par2 = [9999.0, 0.0],
78  dz_par2 = [9999.0, 0.0],
79  applyAdaptedPVCuts = False
80  ), #end of pset
81  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
82  name = 'hiRegitDetachedTripletStepTight',
83  preFilterName = 'hiRegitDetachedTripletStepLoose',
84  d0_par2 = [9999.0, 0.0],
85  dz_par2 = [9999.0, 0.0],
86  applyAdaptedPVCuts = False
87  ),
88  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
89  name = 'hiRegitDetachedTripletStep',
90  preFilterName = 'hiRegitDetachedTripletStepTight',
91  d0_par2 = [9999.0, 0.0],
92  dz_par2 = [9999.0, 0.0],
93  applyAdaptedPVCuts = False
94  ),
95  ) #end of vpset
96  ) #end of clone
97 
98 
99 hiRegitDetachedTripletStep = cms.Sequence(hiRegitDetachedTripletStepClusters*
100  hiRegitDetachedTripletStepSeedLayers*
101  hiRegitDetachedTripletStepSeeds*
102  hiRegitDetachedTripletStepTrackCandidates*
103  hiRegitDetachedTripletStepTracks*
104  hiRegitDetachedTripletStepSelector
105  )
106 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...