Skip to content

Commit

Permalink
Replace siPhase2Clusters and siPhase2RecHits offline clones with full…
Browse files Browse the repository at this point in the history
…y specified configurations
  • Loading branch information
VourMa committed Dec 2, 2024
1 parent 3514abf commit 181e137
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import FWCore.ParameterSet.Config as cms

from RecoLocalTracker.SiPhase2Clusterizer.phase2TrackerClusterizer_cfi import siPhase2Clusters as _siPhase2Clusters
hltSiPhase2Clusters = _siPhase2Clusters.clone()
# Clusterizer options
hltSiPhase2Clusters = cms.EDProducer('Phase2TrackerClusterizer',
src = cms.InputTag("mix", "Tracker"),
maxClusterSize = cms.uint32(0), # was 8
maxNumberClusters = cms.uint32(0)
)

from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
premix_stage2.toModify(hltSiPhase2Clusters, src = "mixData:Tracker")
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import FWCore.ParameterSet.Config as cms

from RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi import siPhase2RecHits as _siPhase2RecHits
hltSiPhase2RecHits = _siPhase2RecHits.clone( src = "hltSiPhase2Clusters" )

# RecHits options
hltSiPhase2RecHits = cms.EDProducer("Phase2TrackerRecHits",
src = cms.InputTag("hltSiPhase2Clusters"),
Phase2StripCPE = cms.ESInputTag("phase2StripCPEESProducer", "Phase2StripCPE")
)

0 comments on commit 181e137

Please sign in to comment.