test
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.
1 import FWCore.ParameterSet.Config as cms
2 
3 CfgNavigationSchoolESProducer = cms.ESProducer("CfgNavigationSchoolESProducer",
4  ComponentName = cms.string('CfgNavigationSchool'),
5  SimpleMagneticField = cms.string(''),
6 # SimpleMagneticField = cms.string('ParabolicMf'),
7  )
8 
9 _defaultPSetWithIn=cms.PSet(IN = cms.vstring(''),OUT = cms.vstring(''))
10 _defaultPSetInverseRelation=cms.PSet(OUT = cms.vstring(''))
11 _defaultPSet=_defaultPSetWithIn;
12 parts={}
13 parts["TIB%d"]=4
14 parts["TOB%d"]=6
15 parts["TEC%d_pos"]=9
16 parts["TEC%d_neg"]=9
17 parts["TID%d_pos"]=3
18 parts["TID%d_neg"]=3
19 parts["PXB%d"]=3
20 parts["PXF%d_pos"]=2
21 parts["PXF%d_neg"]=2
22 
23 import copy
24 for p in parts.keys():
25  for i in range(1,parts[p]+1):
26  setattr(CfgNavigationSchoolESProducer,p%(i,),copy.copy(_defaultPSet))
27