-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Addition of single iteration Patatrack and LST HLT configurations and workflows #46828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
08ed70d
f7f4f00
3514abf
181e137
0f32bd0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| # This modifier sets the LST (Phase-2 line segment tracking) used for track seeding | ||
| # Needs to be used on top of the trackingLST modifier | ||
| seedingLST = cms.Modifier() |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| # This modifier merges the initialStep and highPtTripletStep iterations | ||
| # to a single iteration using Patatrack pixel tracks with >3 hits as seeds | ||
| singleIterPatatrack = cms.Modifier() | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| def _addProcessModulesDevLST(process): | ||
| process.hltESPModulesDevLST = cms.ESProducer('LSTModulesDevESProducer@alpaka', | ||
| appendToDataLabel = cms.string(''), | ||
| alpaka = cms.untracked.PSet( | ||
| backend = cms.untracked.string('') | ||
| ) | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.trackingLST_cff import trackingLST | ||
| modifyConfigurationForTrackingLSTModulesDevLST_ = trackingLST.makeProcessModifier(_addProcessModulesDevLST) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| def _addProcessTTRHBuilderWithoutRefit(process): | ||
| process.hltESPTTRHBuilderWithoutRefit = cms.ESProducer("TkTransientTrackingRecHitBuilderESProducer", | ||
| ComponentName = cms.string('WithoutRefit'), | ||
VourMa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ComputeCoarseLocalPositionFromDisk = cms.bool(False), | ||
| Matcher = cms.string('Fake'), | ||
| Phase2StripCPE = cms.string(''), | ||
| PixelCPE = cms.string('Fake'), | ||
| StripCPE = cms.string('Fake') | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.trackingLST_cff import trackingLST | ||
| modifyConfigurationForTrackingLSTTTRHBuilderWithoutRefit_ = trackingLST.makeProcessModifier(_addProcessTTRHBuilderWithoutRefit) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,3 +24,58 @@ | |
| trackAlgoPriorityOrder = cms.string('trackAlgoPriorityOrder'), | ||
| writeOnlyTrkQuals = cms.bool(False) | ||
| ) | ||
|
|
||
| _hltGeneralTracksSingleIterPatatrack = hltGeneralTracks.clone( | ||
| TrackProducers = ["hltInitialStepTrackSelectionHighPurity"], | ||
| hasSelector = [0], | ||
| indivShareFrac = [1.0], | ||
| selectedTrackQuals = ["hltInitialStepTrackSelectionHighPurity"], | ||
| setsToMerge = [cms.PSet( | ||
| pQual = cms.bool(True), | ||
| tLists = cms.vint32(0) | ||
| )] | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.singleIterPatatrack_cff import singleIterPatatrack | ||
| singleIterPatatrack.toReplaceWith(hltGeneralTracks, _hltGeneralTracksSingleIterPatatrack) | ||
|
|
||
| _hltGeneralTracksLST = hltGeneralTracks.clone( | ||
| TrackProducers = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTrackSelectionHighPuritypLSTCLST", "hltInitialStepTracksT5TCLST", "hltHighPtTripletStepTrackSelectionHighPurity"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as a generic note, I'm proposing to monitor the intermediate track collection produced in the HLT menu at #46823.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree and, in fact, I have already done this while I was preparing the PR: please check this commit. Especially given the presence of #46823, I thought I would include it in a next PR (after rebasing) but let me know whether it makes sense to include it already and whether you have an comments on the implementation.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
let's do it as a follow-up step (incidentally, I think we need to change the event content of the step in which the HLT runs in order to make the collections available for the step when the DQM is run).
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed, in my tests I was manually keeping the extra collections in the |
||
| hasSelector = [0,0,0,0], | ||
| indivShareFrac = [0.1,0.1,0.1,0.1], | ||
| selectedTrackQuals = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTrackSelectionHighPuritypLSTCLST", "hltInitialStepTracksT5TCLST", "hltHighPtTripletStepTrackSelectionHighPurity"], | ||
| setsToMerge = [cms.PSet( | ||
| pQual = cms.bool(True), | ||
| tLists = cms.vint32(0,1,2,3) | ||
| )] | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.trackingLST_cff import trackingLST | ||
| trackingLST.toReplaceWith(hltGeneralTracks, _hltGeneralTracksLST) | ||
|
|
||
| _hltGeneralTracksLSTSingleIterPatatrack = hltGeneralTracks.clone( | ||
| TrackProducers = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTrackSelectionHighPuritypLSTCLST", "hltInitialStepTracksT5TCLST"], | ||
| hasSelector = [0,0,0], | ||
| indivShareFrac = [0.1,0.1,0.1], | ||
| selectedTrackQuals = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTrackSelectionHighPuritypLSTCLST", "hltInitialStepTracksT5TCLST"], | ||
| setsToMerge = [cms.PSet( | ||
| pQual = cms.bool(True), | ||
| tLists = cms.vint32(0,1,2) | ||
| )] | ||
| ) | ||
|
|
||
| (singleIterPatatrack & trackingLST).toReplaceWith(hltGeneralTracks, _hltGeneralTracksLSTSingleIterPatatrack) | ||
|
|
||
| _hltGeneralTracksLSTSeeding = hltGeneralTracks.clone( | ||
| TrackProducers = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTracksT5TCLST", "hltHighPtTripletStepTrackSelectionHighPuritypLSTCLST"], | ||
| hasSelector = [0,0,0], | ||
| indivShareFrac = [0.1,0.1,0.1], | ||
| selectedTrackQuals = ["hltInitialStepTrackSelectionHighPuritypTTCLST", "hltInitialStepTracksT5TCLST", "hltHighPtTripletStepTrackSelectionHighPuritypLSTCLST"], | ||
| setsToMerge = [cms.PSet( | ||
| pQual = cms.bool(True), | ||
| tLists = cms.vint32(0,1,2) | ||
| )] | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.seedingLST_cff import seedingLST | ||
| (seedingLST & trackingLST).toReplaceWith(hltGeneralTracks, _hltGeneralTracksLSTSeeding) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| hltHighPtTripletStepSeedTracksLST = cms.EDProducer( | ||
| "TrackFromSeedProducer", | ||
| src = cms.InputTag("hltHighPtTripletStepSeeds"), | ||
| beamSpot = cms.InputTag("hltOnlineBeamSpot"), | ||
| TTRHBuilder = cms.string("WithoutRefit") | ||
| ) | ||
|
|
||
VourMa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltHighPtTripletStepTrackCandidates_cfi import hltHighPtTripletStepTrackCandidates as _hltHighPtTripletStepTrackCandidates | ||
| hltHighPtTripletStepTrackCandidatespLSTCLST = _hltHighPtTripletStepTrackCandidates.clone( src = "hltInitialStepTrackCandidates:pLSTSsLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltHighPtTripletStepTrackCutClassifier_cfi import hltHighPtTripletStepTrackCutClassifier as _hltHighPtTripletStepTrackCutClassifier | ||
| hltHighPtTripletStepTrackCutClassifierpLSTCLST = _hltHighPtTripletStepTrackCutClassifier.clone( src = "hltHighPtTripletStepTrackspLSTCLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltHighPtTripletStepTrackSelectionHighPurity_cfi import hltHighPtTripletStepTrackSelectionHighPurity as _hltHighPtTripletStepTrackSelectionHighPurity | ||
| hltHighPtTripletStepTrackSelectionHighPuritypLSTCLST = _hltHighPtTripletStepTrackSelectionHighPurity.clone( | ||
| originalMVAVals = "hltHighPtTripletStepTrackCutClassifierpLSTCLST:MVAValues", | ||
| originalQualVals = "hltHighPtTripletStepTrackCutClassifierpLSTCLST:QualityMasks", | ||
| originalSource = "hltHighPtTripletStepTrackspLSTCLST" | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltHighPtTripletStepTracks_cfi import hltHighPtTripletStepTracks as _hltHighPtTripletStepTracks | ||
| hltHighPtTripletStepTrackspLSTCLST = _hltHighPtTripletStepTracks.clone( src = "hltHighPtTripletStepTrackCandidatespLSTCLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| hltInitialStepSeedTracksLST = cms.EDProducer( | ||
| "TrackFromSeedProducer", | ||
| src = cms.InputTag("hltInitialStepSeeds"), | ||
| beamSpot = cms.InputTag("hltOnlineBeamSpot"), | ||
| TTRHBuilder = cms.string("WithoutRefit") | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTrackCutClassifier_cfi import hltInitialStepTrackCutClassifier as _hltInitialStepTrackCutClassifier | ||
| hltInitialStepTrackCutClassifierpLSTCLST = _hltInitialStepTrackCutClassifier.clone( src = "hltInitialStepTrackspLSTCLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTrackCutClassifier_cfi import hltInitialStepTrackCutClassifier as _hltInitialStepTrackCutClassifier | ||
| hltInitialStepTrackCutClassifierpTTCLST = _hltInitialStepTrackCutClassifier.clone( src = "hltInitialStepTrackspTTCLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTrackSelectionHighPurity_cfi import hltInitialStepTrackSelectionHighPurity as _hltInitialStepTrackSelectionHighPurity | ||
| hltInitialStepTrackSelectionHighPuritypLSTCLST = _hltInitialStepTrackSelectionHighPurity.clone( | ||
| originalMVAVals = "hltInitialStepTrackCutClassifierpLSTCLST:MVAValues", | ||
| originalQualVals = "hltInitialStepTrackCutClassifierpLSTCLST:QualityMasks", | ||
| originalSource = "hltInitialStepTrackspLSTCLST" | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTrackSelectionHighPurity_cfi import hltInitialStepTrackSelectionHighPurity as _hltInitialStepTrackSelectionHighPurity | ||
| hltInitialStepTrackSelectionHighPuritypTTCLST = _hltInitialStepTrackSelectionHighPurity.clone( | ||
| originalMVAVals = "hltInitialStepTrackCutClassifierpTTCLST:MVAValues", | ||
| originalQualVals = "hltInitialStepTrackCutClassifierpTTCLST:QualityMasks", | ||
| originalSource = "hltInitialStepTrackspTTCLST" | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTracks_cfi import hltInitialStepTracks as _hltInitialStepTracks | ||
| hltInitialStepTracksT5TCLST = _hltInitialStepTracks.clone( src = "hltInitialStepTrackCandidates:t5TCsLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTracks_cfi import hltInitialStepTracks as _hltInitialStepTracks | ||
| hltInitialStepTrackspLSTCLST = _hltInitialStepTracks.clone( src = "hltInitialStepTrackCandidates:pLSTCsLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from ..modules.hltInitialStepTracks_cfi import hltInitialStepTracks as _hltInitialStepTracks | ||
| hltInitialStepTrackspTTCLST = _hltInitialStepTracks.clone( src = "hltInitialStepTrackCandidates:pTTCsLST" ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| hltLST = cms.EDProducer('LSTProducer@alpaka', | ||
| pixelSeedInput = cms.InputTag('hltPixelSeedInputLST'), | ||
| phase2OTHitsInput = cms.InputTag('hltPhase2OTHitsInputLST'), | ||
| verbose = cms.bool(False), | ||
| nopLSDupClean = cms.bool(False), | ||
| tcpLSTriplets = cms.bool(False), | ||
| mightGet = cms.optional.untracked.vstring, | ||
| alpaka = cms.untracked.PSet( | ||
| backend = cms.untracked.string('') | ||
| ) | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.trackingLST_cff import trackingLST | ||
| from Configuration.ProcessModifiers.seedingLST_cff import seedingLST | ||
| (seedingLST & trackingLST).toModify(hltLST, nopLSDupClean = True, | ||
| tcpLSTriplets = True ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| hltPhase2OTHitsInputLST = cms.EDProducer('LSTPhase2OTHitsInputProducer', | ||
| phase2OTRecHits = cms.InputTag('hltSiPhase2RecHits'), | ||
| mightGet = cms.optional.untracked.vstring | ||
| ) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| hltPixelSeedInputLST = cms.EDProducer('LSTPixelSeedInputProducer', | ||
| beamSpot = cms.InputTag('hltOnlineBeamSpot'), | ||
| seedTracks = cms.VInputTag( | ||
| 'hltInitialStepSeedTracksLST', | ||
| 'hltHighPtTripletStepSeedTracksLST' | ||
| ) | ||
| ) | ||
|
|
||
| _hltPixelSeedInputLSTSingleIterPatatrack = hltPixelSeedInputLST.clone( | ||
| seedTracks = ['hltInitialStepSeedTracksLST'] | ||
| ) | ||
|
|
||
| from Configuration.ProcessModifiers.singleIterPatatrack_cff import singleIterPatatrack | ||
| singleIterPatatrack.toReplaceWith(hltPixelSeedInputLST, _hltPixelSeedInputLSTSingleIterPatatrack) | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| from RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi import siPhase2RecHits as _siPhase2RecHits | ||
| hltSiPhase2RecHits = _siPhase2RecHits.clone( src = "hltSiPhase2Clusters" ) | ||
VourMa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.