Skip to content
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

ECAL - Set correct CC tag labels for ECAL RecHit producer - 133x #43800

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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