File indexing completed on 2024-04-06 12:03:30
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 firstRun = cms.untracked.uint32(1),
0009 numberEventsInRun = cms.untracked.uint32(1),
0010 )
0011
0012 process.MessageLogger = cms.Service("MessageLogger",
0013 cout = cms.untracked.PSet(
0014 threshold = cms.untracked.string('INFO')
0015 ),
0016 destinations = cms.untracked.vstring('cout')
0017 )
0018
0019 process.Timing = cms.Service("Timing")
0020
0021 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0022 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0023 DBParameters = cms.PSet(
0024 messageLevel = cms.untracked.int32(2),
0025 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0026 ),
0027 timetype = cms.string('runnumber'),
0028 toGet = cms.VPSet(cms.PSet(
0029 record = cms.string('SiStripBadStripRcd'),
0030 tag = cms.string('SiStripBadChannel_v1')
0031 )),
0032 connect = cms.string('sqlite_file:SiStripConditionsDBFile.db')
0033 )
0034
0035 process.prod = cms.EDAnalyzer("SiStripBadStripReader",
0036 printDebug = cms.untracked.bool(True)
0037 )
0038
0039 process.print = cms.OutputModule("AsciiOutputModule")
0040
0041 process.p = cms.Path(process.prod)
0042 process.ep = cms.EndPath(process.print)
0043
0044