Skip to content

Commit

Permalink
Merge pull request #43800 from thomreis/cc-timing-config-for-rechits-…
Browse files Browse the repository at this point in the history
…133x

ECAL - Set correct CC tag labels for ECAL RecHit producer - 133x
  • Loading branch information
cmsbuild authored Feb 7, 2024
2 parents d78aa0c + d32ddc2 commit c19ea12
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
process.ecalMultiFitUncalibRecHit.cpu.algoPSet.outOfTimeThresholdGain61mEB = 5.
process.ecalMultiFitUncalibRecHit.cpu.algoPSet.timeCalibTag = ':'
process.ecalMultiFitUncalibRecHit.cpu.algoPSet.timeOffsetTag = ':'
process.ecalRecHit.cpu.timeCalibTag = ':'
process.ecalRecHit.cpu.timeOffsetTag = ':'

process.ecalPhysicsFilter = cms.EDFilter("EcalMonitorPrescaler",
cosmics = cms.untracked.uint32(1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@

process.ecalRecHit.EEuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEE"
process.ecalRecHit.EBuncalibRecHitCollection = "ecalGlobalUncalibRecHit:EcalUncalibRecHitsEB"
process.ecalRecHit.timeCalibTag = ':'
process.ecalRecHit.timeOffsetTag = ':'

process.ecalPNDiodeMonitorTask.verbosity = 0
process.ecalPNDiodeMonitorTask.commonParameters.onlineMode = True
Expand Down
14 changes: 14 additions & 0 deletions RecoLocalCalo/EcalRecProducers/python/ecalRecHit_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,20 @@
recoverEBIsolatedChannels = False
)

# use CC timing method for Run3 and Phase 2 (carried over from Run3 era)
from Configuration.Eras.Modifier_run3_ecal_cff import run3_ecal
run3_ecal.toModify(ecalRecHit,
timeCalibTag = ':CC',
timeOffsetTag = ':CC'
)

# this overrides the modifications made by run3_ecal if both modifiers are active
from Configuration.ProcessModifiers.gpuValidationEcal_cff import gpuValidationEcal
gpuValidationEcal.toModify(ecalRecHit,
timeCalibTag = ':',
timeOffsetTag = ':'
)

# Phase 2 modifications
from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
phase2_ecal_devel.toModify(ecalRecHit,
Expand Down

0 comments on commit c19ea12

Please sign in to comment.