Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:54

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("CSCGeometryWriter")
0005 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0006 
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010         input = cms.untracked.int32(1)
0011         )
0012 process.source = cms.Source("EmptyIOVSource",
0013                                 lastValue = cms.uint64(1),
0014                                 timetype = cms.string('runnumber'),
0015                                 firstValue = cms.uint64(1),
0016                                 interval = cms.uint64(1)
0017                             )
0018 
0019 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0020                                           DBParameters = cms.PSet(
0021                                                           messageLevel = cms.untracked.int32(0),
0022                                                           authenticationPath = cms.untracked.string('.')
0023                                                            ),
0024                                           timetype = cms.untracked.string('runnumber'),
0025                                           BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0026                                           connect = cms.string('sqlite_file:myfile.db'),
0027                                           toPut = cms.VPSet(cms.PSet(record = cms.string('CSCRecoGeometryRcd'),tag = cms.string('XMLFILE_TEST_01')),
0028                                                             cms.PSet(record = cms.string('CSCRecoDigiParametersRcd'),tag = cms.string('XMLFILE_TEST_02')))
0029                               )
0030 
0031 process.CSCGeometryWriter = cms.EDAnalyzer("CSCRecoIdealDBLoader")
0032 
0033 process.MessageLogger = cms.Service("MessageLogger",
0034     cerr = cms.untracked.PSet(
0035         enable = cms.untracked.bool(False)
0036     ),
0037     debugModules = cms.untracked.vstring('*'),
0038     files = cms.untracked.PSet(
0039         debug = cms.untracked.PSet(
0040             CSC = cms.untracked.PSet(
0041                 limit = cms.untracked.int32(-1)
0042             ),
0043             CSCGeometryBuilderFromDDD = cms.untracked.PSet(
0044                 limit = cms.untracked.int32(-1)
0045             ),
0046             CSCNumbering = cms.untracked.PSet(
0047                 limit = cms.untracked.int32(-1)
0048             ),
0049             DEBUG = cms.untracked.PSet(
0050                 limit = cms.untracked.int32(0)
0051             ),
0052             INFO = cms.untracked.PSet(
0053                 limit = cms.untracked.int32(0)
0054             ),
0055             RadialStripTopology = cms.untracked.PSet(
0056                 limit = cms.untracked.int32(-1)
0057             ),
0058             extension = cms.untracked.string('.out'),
0059             noLineBreaks = cms.untracked.bool(True),
0060             threshold = cms.untracked.string('DEBUG')
0061         ),
0062         errors = cms.untracked.PSet(
0063             extension = cms.untracked.string('.out'),
0064             threshold = cms.untracked.string('ERROR')
0065         ),
0066         log = cms.untracked.PSet(
0067             extension = cms.untracked.string('.out')
0068         )
0069     )
0070 )
0071 
0072 process.myprint = cms.OutputModule("AsciiOutputModule")
0073 
0074 process.p1 = cms.Path(process.CSCGeometryWriter)
0075 process.ep = cms.EndPath(process.myprint)