Skip to content

Commit

Permalink
Set correct CC tag labels for ECAL RecHit Producer.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomreis committed Jan 26, 2024
1 parent 0a26621 commit 7777bb4
Show file tree
Hide file tree
Showing 2 changed files with 16 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
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 7777bb4

Please sign in to comment.