Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DBGeometryTest")
0004 process.load('FWCore.MessageLogger.MessageLogger_cfi')
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load('CondCore.CondDB.CondDB_cfi')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 
0009 from Configuration.AlCa.autoCond import autoCond
0010 process.GlobalTag.globaltag = autoCond['mc']
0011 
0012 process.source = cms.Source("EmptySource")
0013 process.XMLFromDBSource.label='Ideal'
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(1)
0017 )
0018 
0019 process.myprint = cms.OutputModule("AsciiOutputModule")
0020 
0021 XMLFromDBSource = cms.ESProducer("XMLIdealGeometryESProducer",
0022                                  rootDDName = cms.string('cms:OCMS'),
0023                                  )
0024 
0025 process.pDB = cms.EDAnalyzer("PerfectGeometryAnalyzer",
0026                              dumpPosInfo = cms.untracked.bool(True),
0027                              label = cms.untracked.string(''),
0028                              isMagField = cms.untracked.bool(False),
0029                              dumpSpecs = cms.untracked.bool(True),
0030                              dumpGeoHistory = cms.untracked.bool(True),
0031                              outFileName = cms.untracked.string('GTDB'),
0032                              numNodesToDump = cms.untracked.uint32(0),
0033                              fromDB = cms.untracked.bool(True),
0034                              ddRootNodeName = cms.untracked.string('cms:OCMS')
0035                              )
0036 
0037 process.MessageLogger = cms.Service("MessageLogger",
0038     cerr = cms.untracked.PSet(
0039         enable = cms.untracked.bool(False)
0040     ),
0041     debugModules = cms.untracked.vstring('*'),
0042     files = cms.untracked.PSet(
0043         readDBdebug = cms.untracked.PSet(
0044             DEBUG = cms.untracked.PSet(
0045                 limit = cms.untracked.int32(-1)
0046             ),
0047             INFO = cms.untracked.PSet(
0048                 limit = cms.untracked.int32(-1)
0049             ),
0050             extension = cms.untracked.string('.out'),
0051             noLineBreaks = cms.untracked.bool(True),
0052             threshold = cms.untracked.string('DEBUG')
0053         ),
0054         readDBerrors = cms.untracked.PSet(
0055             extension = cms.untracked.string('.out'),
0056             threshold = cms.untracked.string('ERROR')
0057         )
0058     )
0059 )
0060 
0061 process.Timing = cms.Service("Timing")
0062 
0063 process.p1 = cms.Path(process.pDB)
0064 process.e1 = cms.EndPath(process.myprint)