Skip to content

Commit

Permalink
rename modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lguzzi committed Jan 16, 2025
1 parent 8c2f00a commit c05a4f2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

# This modifier is used to enable vertex trimming in the tracking sequences
# and in all related reconstruction modules
vertexTrimming = cms.Modifier()
phase2_hlt_vertexTrimming = cms.Modifier()

Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
trackingRegionsSeedingLayers = cms.InputTag("")
)

from Configuration.ProcessModifiers.vertexTrimming_cff import vertexTrimming
vertexTrimming.toModify(hltHighPtTripletStepHitDoublets, trackingRegions = cms.InputTag('hltTrackingRegionFromTrimmedVertices'))
from Configuration.ProcessModifiers.phase2_hlt_vertexTrimming_cff import phase2_hlt_vertexTrimming
phase2_hlt_vertexTrimming.toModify(hltHighPtTripletStepHitDoublets, trackingRegions = cms.InputTag('hltTrackingRegionFromTrimmedVertices'))
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
from Configuration.ProcessModifiers.trackingLST_cff import trackingLST
trackingLST.toModify(hltInitialStepSeeds, includeFourthHit = True)

from Configuration.ProcessModifiers.vertexTrimming_cff import vertexTrimming
vertexTrimming.toModify(hltInitialStepSeeds, InputVertexCollection = cms.InputTag("hltPhase2TrimmedPixelVertices"))
from Configuration.ProcessModifiers.phase2_hlt_vertexTrimming_cff import phase2_hlt_vertexTrimming
phase2_hlt_vertexTrimming.toModify(hltInitialStepSeeds, InputVertexCollection = cms.InputTag("hltPhase2TrimmedPixelVertices"))
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from Configuration.ProcessModifiers.seedingLST_cff import seedingLST
(seedingLST & trackingLST).toReplaceWith(HLTHighPtTripletStepSequence, _HLTHighPtTripletStepSequenceLSTSeeding)

from Configuration.ProcessModifiers.vertexTrimming_cff import vertexTrimming
from Configuration.ProcessModifiers.phase2_hlt_vertexTrimming_cff import phase2_hlt_vertexTrimming
_HLTHighPtTripletStepSequenceTrimming = HLTHighPtTripletStepSequence.copy()
_HLTHighPtTripletStepSequenceTrimming.insert(0, hltTrackingRegionFromTrimmedVertices)
vertexTrimming.toReplaceWith(HLTHighPtTripletStepSequence, _HLTHighPtTripletStepSequenceTrimming)
phase2_hlt_vertexTrimming.toReplaceWith(HLTHighPtTripletStepSequence, _HLTHighPtTripletStepSequenceTrimming)
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from Configuration.ProcessModifiers.singleIterPatatrack_cff import singleIterPatatrack
singleIterPatatrack.toReplaceWith(HLTTrackingV61Sequence, HLTTrackingV61Sequence.copyAndExclude([HLTHighPtTripletStepSequence]))

from Configuration.ProcessModifiers.vertexTrimming_cff import vertexTrimming
from Configuration.ProcessModifiers.phase2_hlt_vertexTrimming_cff import phase2_hlt_vertexTrimming
_HLTTrackingV61SequenceTrimming = HLTTrackingV61Sequence.copy()
_HLTTrackingV61SequenceTrimming.insert(_HLTTrackingV61SequenceTrimming.index(hltPhase2PixelVertices)+1, hltPhase2TrimmedPixelVertices)
vertexTrimming.toReplaceWith(HLTTrackingV61Sequence, _HLTTrackingV61SequenceTrimming)
phase2_hlt_vertexTrimming.toReplaceWith(HLTTrackingV61Sequence, _HLTTrackingV61SequenceTrimming)

0 comments on commit c05a4f2

Please sign in to comment.