Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:42:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'sqlite_file:lhcinfo_pop_test.db'
0007 process.CondDBCommon.DBParameters.authenticationPath = '.'
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010   input = cms.untracked.int32(-1)
0011 )
0012 
0013 
0014 process.source = cms.Source("EmptyIOVSource",
0015     timetype = cms.string('timestamp'),
0016     firstValue = cms.uint64(6477060826480649336),
0017     lastValue = cms.uint64(6477060826480649336),
0018     interval = cms.uint64( 3600 << 32 )
0019 )
0020 
0021 
0022 process.rn = cms.ESSource("PoolDBESSource",
0023     process.CondDBCommon,
0024     toGet = cms.VPSet(cms.PSet(
0025         record = cms.string('LHCInfoRcd'),
0026         tag = cms.string('lhcinfo_test')
0027     ))
0028 )
0029 
0030 
0031 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0032     toGet = cms.VPSet(cms.PSet(
0033         record = cms.string('LHCInfoRcd'),
0034         data = cms.vstring('lhcinfo_test')
0035     )),
0036     verbose = cms.untracked.bool(True)
0037 )
0038 
0039 process.prod = cms.EDAnalyzer("LHCInfoESAnalyzer")
0040 
0041 process.asciiprint = cms.OutputModule("AsciiOutputModule")
0042 
0043 process.p = cms.Path(process.prod)
0044 process.ep = cms.EndPath(process.asciiprint)