File indexing completed on 2024-04-06 12:02:01
0001
0002
0003
0004 import FWCore.ParameterSet.Config as cms
0005
0006 process = cms.Process("TEST")
0007 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0008 DBParameters = cms.PSet(
0009 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0010 authenticationMethod = cms.untracked.uint32(1)
0011 ),
0012 timetype = cms.string('runnumber'),
0013
0014 toGet = cms.VPSet(cms.PSet(
0015 record = cms.string('CSCBadWiresRcd'),
0016 tag = cms.string('CSCBadWires')
0017 )),
0018 connect = cms.string('sqlite_file:BadWires_17June2009.db')
0019 )
0020
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(1)
0023 )
0024
0025
0026 process.source = cms.Source("EmptySource",
0027 firstRun = cms.untracked.uint32(100001)
0028 )
0029
0030 process.analyze = cms.EDAnalyzer("CSCReadBadWiresAnalyzer",
0031 outputToFile = cms.bool(False),
0032 readBadChannels = cms.bool(True)
0033 )
0034
0035 process.printEventNumber = cms.OutputModule("AsciiOutputModule")
0036
0037 process.p = cms.Path(process.analyze)
0038 process.ep = cms.EndPath(process.printEventNumber)
0039