Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:24

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     loadAll = cms.bool(True),
0010     timetype = cms.string('runnumber'),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('CSCDBChipSpeedCorrectionRcd'),
0013         tag = cms.string('CSCDBChipSpeedCorrection_new_popcon')
0014     )),
0015     #read from sqlite_file
0016     connect = cms.string('sqlite_file:DBChipSpeedCorrection.db'),
0017     # read from database
0018     #string connect="frontier://FrontierDev/CMS_COND_CSC"
0019     DBParameters = cms.PSet(
0020         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
0021         authenticationMethod = cms.untracked.uint32(1)
0022     )
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 process.source = cms.Source("EmptySource")
0029 
0030 process.prod = cms.EDAnalyzer("CSCChipSpeedCorrectionDBReadAnalyzer")
0031 
0032 process.output = cms.OutputModule("AsciiOutputModule")
0033 
0034 process.p = cms.Path(process.prod)
0035 process.ep = cms.EndPath(process.output)
0036