Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 process.maxEvents = cms.untracked.PSet(
0005     input = cms.untracked.int32(1)
0006 )
0007 process.source = cms.Source("EmptySource",
0008     lastRun = cms.untracked.uint32(1),
0009     timetype = cms.string('runnumber'),
0010     firstRun = cms.untracked.uint32(1),
0011     interval = cms.uint32(1)
0012 )
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         enable = cms.untracked.bool(True),
0020         threshold = cms.untracked.string('INFO')
0021     )
0022 )
0023 
0024 process.Timing = cms.Service("Timing")
0025 
0026 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0027     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0028     DBParameters = cms.PSet(
0029         messageLevel = cms.untracked.int32(2),
0030         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0031     ),
0032     timetype = cms.string('runnumber'),
0033     toGet = cms.VPSet(cms.PSet(
0034         record = cms.string("SiStripBadStripRcd"),
0035         tag = cms.string("SiStripBadStrip_test1")
0036 #        record = cms.string('SiStripBadStripRcd'),
0037 #        tag = cms.string('SiStripBadChannel_v1')
0038     )),
0039     connect = cms.string('sqlite_file:dbfile.db')
0040 )
0041 
0042 process.prod = cms.EDFilter("SiStripBadStripReader",
0043     #printDebug = cms.untracked.bool(True)
0044 )
0045 
0046 #process.print = cms.OutputModule("AsciiOutputModule")
0047 
0048 process.p = cms.Path(process.prod)
0049 #process.ep = cms.EndPath(process.print)
0050 
0051