Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:25

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     timetype = cms.string('timestamp'),
0025     toGet = cms.VPSet(cms.PSet(
0026         record = cms.string('LHCInfoRcd'),
0027         tag = cms.string('lhcinfo_test')
0028     ))
0029 )
0030 
0031 
0032 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0033     toGet = cms.VPSet(cms.PSet(
0034         record = cms.string('LHCInfoRcd'),
0035         data = cms.vstring('lhcinfo_test')
0036     )),
0037     verbose = cms.untracked.bool(True)
0038 )
0039 
0040 process.prod = cms.EDAnalyzer("LHCInfoESAnalyzer")
0041 
0042 process.asciiprint = cms.OutputModule("AsciiOutputModule")
0043 
0044 process.p = cms.Path(process.prod)
0045 process.ep = cms.EndPath(process.asciiprint)