Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:48:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MuonNumberingTest")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008     )
0009 
0010 process.MessageLogger = cms.Service("MessageLogger",
0011     cerr = cms.untracked.PSet(
0012         enable = cms.untracked.bool(False)
0013     ),
0014     cout = cms.untracked.PSet(
0015         enable = cms.untracked.bool(True),
0016         enableStatistics = cms.untracked.bool(True),
0017         noLineBreaks = cms.untracked.bool(True),
0018         threshold = cms.untracked.string('WARNING')
0019     ),
0020     files = cms.untracked.PSet(
0021         muonNumbering = cms.untracked.PSet(
0022             DEBUG = cms.untracked.PSet(
0023                 limit = cms.untracked.int32(0)
0024             ),
0025             ERROR = cms.untracked.PSet(
0026                 limit = cms.untracked.int32(0)
0027             ),
0028             Geometry = cms.untracked.PSet(
0029                 limit = cms.untracked.int32(-1)
0030             ),
0031             INFO = cms.untracked.PSet(
0032                 limit = cms.untracked.int32(0)
0033             ),
0034             WARNING = cms.untracked.PSet(
0035                 limit = cms.untracked.int32(0)
0036             ),
0037             enableStatistics = cms.untracked.bool(True),
0038             noLineBreaks = cms.untracked.bool(True),
0039             threshold = cms.untracked.string('INFO')
0040         )
0041     )
0042 )
0043 
0044 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0045                                             confGeomXMLFiles = cms.FileInPath('Geometry/MuonCommonData/data/cms-test-muon-geometry-2015.xml'),
0046                                             appendToDataLabel = cms.string('MUON')
0047                                             )
0048 
0049 process.DDSpecParRegistryESProducer = cms.ESProducer("DDSpecParRegistryESProducer",
0050                                                      appendToDataLabel = cms.string('MUON')
0051                                                      )
0052 
0053 process.MuonNumberingESProducer = cms.ESProducer("MuonNumberingESProducer",
0054                                                  label = cms.string('MUON'),
0055                                                  key = cms.string('MuonCommonNumbering')
0056                                                  )
0057 
0058 process.test = cms.EDAnalyzer("DDTestMuonNumbering")
0059 
0060 process.p = cms.Path(process.test)