1 import FWCore.ParameterSet.Config
as cms
5 ecalDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
6 ComponentName = cms.string(
'EcalDetIdAssociator'),
7 etaBinSize = cms.double(0.02),
12 hcalDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
13 ComponentName = cms.string(
'HcalDetIdAssociator'),
14 etaBinSize = cms.double(0.087),
17 hcalRegion = cms.int32(2)
20 hoDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
21 ComponentName = cms.string(
'HODetIdAssociator'),
22 etaBinSize = cms.double(0.087),
27 caloDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
28 ComponentName = cms.string(
'CaloDetIdAssociator'),
29 etaBinSize = cms.double(0.087),
34 muonDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
35 ComponentName = cms.string(
'MuonDetIdAssociator'),
36 etaBinSize = cms.double(0.125),
39 includeBadChambers = cms.bool(
False),
40 includeGEM = cms.bool(
False),
41 includeME0 = cms.bool(
False)
45 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
46 run2_common.toModify( muonDetIdAssociator, includeBadChambers =
True )
49 from Configuration.Eras.Modifier_run3_GEM_cff
import run3_GEM
50 run3_GEM.toModify( muonDetIdAssociator, includeGEM =
True )
51 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
52 phase2_muon.toModify( muonDetIdAssociator, includeME0 =
True )
53 phase2_muon.toModify( hcalDetIdAssociator, hcalRegion = 1 )
55 preshowerDetIdAssociator = cms.ESProducer(
"DetIdAssociatorESProducer",
56 ComponentName = cms.string(
'PreshowerDetIdAssociator'),
57 etaBinSize = cms.double(0.1),