Skip to content

Commit

Permalink
simplify tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Oct 24, 2019
1 parent 2b54fbd commit 3ffdf28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions RecoTracker/Configuration/python/RecoTracker_cff.py
Expand Up @@ -38,6 +38,4 @@
trackingGlobalReco = cms.Sequence(trackingGlobalRecoTask)

from Configuration.Eras.Modifier_fastSim_cff import fastSim
ckftracks_fast = cms.Sequence(doAlldEdXEstimators)
_fastSim_trackingGlobalReco = cms.Sequence(ckftracks_fast*trackExtrapolator)
fastSim.toReplaceWith(trackingGlobalReco,_fastSim_trackingGlobalReco)
fastSim.toReplaceWith(trackingGlobalRecoTask, cms.Task(doAlldEdXEstimatorsTask, trackExtrapolator))
6 changes: 1 addition & 5 deletions RecoTracker/DeDx/python/dedxEstimators_cff.py
Expand Up @@ -93,8 +93,4 @@
doAlldEdXEstimatorsTask = cms.Task(dedxTruncated40 , dedxHarmonic2 , dedxPixelHarmonic2 , dedxPixelAndStripHarmonic2T085 , dedxHitInfo)
doAlldEdXEstimators = cms.Sequence(doAlldEdXEstimatorsTask)

doFastdEdXEstimatorsTask = cms.Task(dedxHarmonic2, dedxPixelHarmonic2)
doFastdEdXEstimators = cms.Sequence(doFastdEdXEstimatorsTask)

fastSim.toReplaceWith(doAlldEdXEstimatorsTask, doFastdEdXEstimatorsTask)
fastSim.toReplaceWith(doAlldEdXEstimators, doFastdEdXEstimators)
fastSim.toReplaceWith(doAlldEdXEstimatorsTask, cms.Task(dedxHarmonic2, dedxPixelHarmonic2))

0 comments on commit 3ffdf28

Please sign in to comment.