Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 CfgNavigationSchoolESProducer = cms.ESProducer("CfgNavigationSchoolESProducer",
0004                                                ComponentName = cms.string('CfgNavigationSchool'),
0005                                                SimpleMagneticField = cms.string(''),
0006 #                                               SimpleMagneticField = cms.string('ParabolicMf'),
0007                                                )
0008 
0009 _defaultPSetWithIn=cms.PSet(IN = cms.vstring(''),OUT = cms.vstring(''))
0010 _defaultPSetInverseRelation=cms.PSet(OUT = cms.vstring(''))
0011 _defaultPSet=_defaultPSetWithIn;
0012 parts={}
0013 parts["TIB%d"]=4
0014 parts["TOB%d"]=6
0015 parts["TEC%d_pos"]=9
0016 parts["TEC%d_neg"]=9
0017 parts["TID%d_pos"]=3
0018 parts["TID%d_neg"]=3
0019 parts["PXB%d"]=3
0020 parts["PXF%d_pos"]=2
0021 parts["PXF%d_neg"]=2
0022 
0023 import copy
0024 for p in parts.keys():
0025     for i in range(1,parts[p]+1):
0026         setattr(CfgNavigationSchoolESProducer,p%(i,),copy.copy(_defaultPSet))
0027