test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DetIdAssociatorESProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Use this object to make changes when different configurations are active
4 from Configuration.StandardSequences.Eras import eras
5 
6 ecalDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
7  ComponentName = cms.string('EcalDetIdAssociator'),
8  etaBinSize = cms.double(0.02),
9  nEta = cms.int32(300),
10  nPhi = cms.int32(360)
11 )
12 
13 hcalDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
14  ComponentName = cms.string('HcalDetIdAssociator'),
15  etaBinSize = cms.double(0.087),
16  nEta = cms.int32(70),
17  nPhi = cms.int32(72)
18 )
19 
20 hoDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
21  ComponentName = cms.string('HODetIdAssociator'),
22  etaBinSize = cms.double(0.087),
23  nEta = cms.int32(30),
24  nPhi = cms.int32(72)
25 )
26 
27 caloDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
28  ComponentName = cms.string('CaloDetIdAssociator'),
29  etaBinSize = cms.double(0.087),
30  nEta = cms.int32(70),
31  nPhi = cms.int32(72)
32 )
33 
34 muonDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
35  ComponentName = cms.string('MuonDetIdAssociator'),
36  etaBinSize = cms.double(0.125),
37  nEta = cms.int32(48),
38  nPhi = cms.int32(48),
39  includeBadChambers = cms.bool(False)
40 )
41 
42 # If running in Run 2, include bad chambers
43 eras.run2_common.toModify( muonDetIdAssociator, includeBadChambers = True )
44 
45 preshowerDetIdAssociator = cms.ESProducer("DetIdAssociatorESProducer",
46  ComponentName = cms.string('PreshowerDetIdAssociator'),
47  etaBinSize = cms.double(0.1),
48  nEta = cms.int32(60),
49  nPhi = cms.int32(30)
50 )
51 
52