File indexing completed on 2024-04-06 12:02:44
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("retrieveCTPPSBeamParametersTest")
0004
0005
0006 process.load("CondCore.CondDB.CondDB_cfi")
0007
0008
0009 process.CondDB.connect = 'sqlite_file:CTPPSBeamParameters.db'
0010
0011 process.MessageLogger = cms.Service("MessageLogger",
0012 cerr = cms.untracked.PSet(
0013 enable = cms.untracked.bool(False)
0014 ),
0015 cout = cms.untracked.PSet(
0016 enable = cms.untracked.bool(True),
0017 threshold = cms.untracked.string('INFO')
0018 )
0019 )
0020
0021 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0022 process.CondDB,
0023 DumpStat=cms.untracked.bool(True),
0024 toGet = cms.VPSet(cms.PSet(
0025 record = cms.string('CTPPSBeamParametersRcd'),
0026 tag = cms.string("CTPPSBeamParameters_v1")
0027 )),
0028 )
0029
0030 process.get = cms.EDAnalyzer("RetrieveCTPPSBeamParameters",
0031 verbose = cms.untracked.bool(True)
0032 )
0033
0034
0035 process.source = cms.Source("EmptyIOVSource",
0036 timetype = cms.string('runnumber'),
0037 firstValue = cms.uint64(3),
0038 lastValue = cms.uint64(3),
0039 interval = cms.uint64(1)
0040
0041
0042
0043
0044
0045 )
0046
0047 process.path = cms.Path(process.get)