CMS 3D CMS Logo

hiRegitDetachedTripletStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
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  BPix = dict(skipClusters = 'hiRegitDetachedTripletStepClusters'),
36  FPix = dict(skipClusters = 'hiRegitDetachedTripletStepClusters')
37 )
38 
40 #import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
41 # seeding
42 hiRegitDetachedTripletStepSeeds = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeeds.clone(
43  RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
44  RegionPSet = dict(ptMin = 1.2)
45  ),
46  ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
47  OrderedHitsFactoryPSet = dict(
48  SeedingLayers = 'hiRegitDetachedTripletStepSeedLayers'
49  #GeneratorPSet = dict(SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone()),
50  ),
51 )
52 # building: feed the new-named seeds
53 hiRegitDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilterBase.clone()
54 hiRegitDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
55  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitDetachedTripletStepTrajectoryFilter')),
56  clustersToSkip = cms.InputTag('hiRegitDetachedTripletStepClusters')
57 )
58 
59 hiRegitDetachedTripletStepTrackCandidates = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
60  src = 'hiRegitDetachedTripletStepSeeds',
61  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitDetachedTripletStepTrajectoryBuilder')),
62  maxNSeeds=100000
63 )
64 
65 # fitting: feed new-names
66 hiRegitDetachedTripletStepTracks = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
67  src = 'hiRegitDetachedTripletStepTrackCandidates',
68  #AlgorithmName = 'jetCoreRegionalStep',
69  AlgorithmName = 'detachedTripletStep',
70 )
71 
72 
73 # Track selection
75 hiRegitDetachedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
76  src = 'hiRegitDetachedTripletStepTracks',
77  trackSelectors = cms.VPSet(
78  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
79  name = 'hiRegitDetachedTripletStepLoose',
80  d0_par2 = [9999.0, 0.0],
81  dz_par2 = [9999.0, 0.0],
82  applyAdaptedPVCuts = False
83  ), #end of pset
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
85  name = 'hiRegitDetachedTripletStepTight',
86  preFilterName = 'hiRegitDetachedTripletStepLoose',
87  d0_par2 = [9999.0, 0.0],
88  dz_par2 = [9999.0, 0.0],
89  applyAdaptedPVCuts = False
90  ),
91  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
92  name = 'hiRegitDetachedTripletStep',
93  preFilterName = 'hiRegitDetachedTripletStepTight',
94  d0_par2 = [9999.0, 0.0],
95  dz_par2 = [9999.0, 0.0],
96  applyAdaptedPVCuts = False
97  ),
98  ) #end of vpset
99 ) #end of clone
100 
101 
102 hiRegitDetachedTripletStepTask = cms.Task(hiRegitDetachedTripletStepClusters,
103  hiRegitDetachedTripletStepSeedLayers,
104  hiRegitDetachedTripletStepSeeds,
105  hiRegitDetachedTripletStepTrackCandidates,
106  hiRegitDetachedTripletStepTracks,
107  hiRegitDetachedTripletStepSelector
108  )
109 hiRegitDetachedTripletStep = cms.Sequence(hiRegitDetachedTripletStepTask)
DetachedTripletStep_cff
hiMultiTrackSelector_cfi
ClusterShapeHitFilterESProducer_cfi
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...