CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CfgNavigationSchool_cfi.py
Go to the documentation of this file.
2 
3 CfgNavigationSchoolESProducer = cms.ESProducer("CfgNavigationSchoolESProducer",
4  ComponentName = cms.string('CfgNavigationSchool'))
5 
6 defaultPSetWithIn=cms.PSet(IN = cms.vstring(''),OUT = cms.vstring(''))
7 defaultPSetInverseRelation=cms.PSet(OUT = cms.vstring(''))
8 defaultPSet=defaultPSetWithIn;
9 parts={}
10 parts["TIB%d"]=4
11 parts["TOB%d"]=6
12 parts["TEC%d_pos"]=9
13 parts["TEC%d_neg"]=9
14 parts["TID%d_pos"]=3
15 parts["TID%d_neg"]=3
16 parts["PXB%d"]=3
17 parts["PXF%d_pos"]=2
18 parts["PXF%d_neg"]=2
19 
20 import copy
21 for p in parts.keys():
22  for i in range(1,parts[p]+1):
23  setattr(CfgNavigationSchoolESProducer,p%(i,),copy.copy(defaultPSet))
24