Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge CMSSW_9_4_X into CMSSW_9_4_AN_X.
- Loading branch information
Showing
46 changed files
with
551 additions
and
637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,3 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# import the full tracking equivalent of this file | ||
import RecoTracker.IterativeTracking.DetachedTripletStep_cff as _standard | ||
from FastSimulation.Tracking.SeedingMigration import _hitSetProducerToFactoryPSet | ||
|
||
# fast tracking mask producer | ||
import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi | ||
detachedTripletStepMasks = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(_standard.detachedTripletStepClusters) | ||
|
||
# tracking regions | ||
detachedTripletStepTrackingRegions = _standard.detachedTripletStepTrackingRegions.clone() | ||
|
||
# trajectory seeds | ||
import FastSimulation.Tracking.TrajectorySeedProducer_cfi | ||
detachedTripletStepSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone( | ||
layerList = _standard.detachedTripletStepSeedLayers.layerList.value(), | ||
trackingRegions = "detachedTripletStepTrackingRegions", | ||
hitMasks = cms.InputTag("detachedTripletStepMasks") | ||
) | ||
detachedTripletStepSeeds.seedFinderSelector.pixelTripletGeneratorFactory = _hitSetProducerToFactoryPSet(_standard.detachedTripletStepHitTriplets) | ||
|
||
# track candidates | ||
import FastSimulation.Tracking.TrackCandidateProducer_cfi | ||
detachedTripletStepTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone( | ||
src = cms.InputTag("detachedTripletStepSeeds"), | ||
MinNumberOfCrossedLayers = 3, | ||
hitMasks = cms.InputTag("detachedTripletStepMasks") | ||
) | ||
|
||
# tracks | ||
detachedTripletStepTracks = _standard.detachedTripletStepTracks.clone(TTRHBuilder = 'WithoutRefit') | ||
|
||
detachedTripletStepClassifier1 = _standard.detachedTripletStepClassifier1.clone() | ||
detachedTripletStepClassifier1.vertices = "firstStepPrimaryVerticesBeforeMixing" | ||
detachedTripletStepClassifier2 = _standard.detachedTripletStepClassifier2.clone() | ||
detachedTripletStepClassifier2.vertices = "firstStepPrimaryVerticesBeforeMixing" | ||
|
||
detachedTripletStep = _standard.detachedTripletStep.clone() | ||
|
||
# Final sequence | ||
DetachedTripletStep = cms.Sequence(detachedTripletStepMasks | ||
+detachedTripletStepTrackingRegions | ||
+detachedTripletStepSeeds | ||
+detachedTripletStepTrackCandidates | ||
+detachedTripletStepTracks | ||
+detachedTripletStepClassifier1*detachedTripletStepClassifier2 | ||
+detachedTripletStep | ||
) | ||
# all work is now done using fastSim era | ||
from RecoTracker.IterativeTracking.DetachedTripletStep_cff import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.