CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoTracker/TkNavigation/python/CfgNavigationSchool_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 CfgNavigationSchoolESProducer = cms.ESProducer("CfgNavigationSchoolESProducer",
00004                                                ComponentName = cms.string('CfgNavigationSchool'))
00005 
00006 defaultPSetWithIn=cms.PSet(IN = cms.vstring(''),OUT = cms.vstring(''))
00007 defaultPSetInverseRelation=cms.PSet(OUT = cms.vstring(''))
00008 defaultPSet=defaultPSetWithIn;
00009 parts={}
00010 parts["TIB%d"]=4
00011 parts["TOB%d"]=6
00012 parts["TEC%d_pos"]=9
00013 parts["TEC%d_neg"]=9
00014 parts["TID%d_pos"]=3
00015 parts["TID%d_neg"]=3
00016 parts["PXB%d"]=3
00017 parts["PXF%d_pos"]=2
00018 parts["PXF%d_neg"]=2
00019 
00020 import copy
00021 for p in parts.keys():
00022     for i in range(1,parts[p]+1):
00023         setattr(CfgNavigationSchoolESProducer,p%(i,),copy.copy(defaultPSet))
00024