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

Copy muonDetIdAssociator customisation changes to eras #11654

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,5 +1,8 @@
import FWCore.ParameterSet.Config as cms

# Use this object to make changes when different configurations are active
from Configuration.StandardSequences.Eras import eras

ecalDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
ComponentName = cms.string('EcalDetIdAssociator'),
etaBinSize = cms.double(0.02),
Expand Down Expand Up @@ -36,6 +39,9 @@
includeBadChambers = cms.bool(False)
)

# If running in Run 2, include bad chambers
eras.run2_common.toModify( muonDetIdAssociator, includeBadChambers = True )

preshowerDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
ComponentName = cms.string('PreshowerDetIdAssociator'),
etaBinSize = cms.double(0.1),
Expand Down