File indexing completed on 2024-04-06 12:22:28
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("tester")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0006 process.MessageLogger.cout.threshold = cms.untracked.string('DEBUG')
0007 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0008
0009 process.source = cms.Source("EmptySource", firstRun = cms.untracked.uint32(3))
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0011
0012 process.load("L1Trigger.L1TMuon.fakeGmtParams_cff")
0013
0014 process.getter = cms.EDAnalyzer("EventSetupRecordDataGetter",
0015 toGet = cms.VPSet(
0016 cms.PSet(
0017 record = cms.string('L1TMuonGlobalParamsRcd'),
0018 data = cms.vstring('L1TMuonGlobalParams')
0019 )
0020 ),
0021 verbose = cms.untracked.bool(True)
0022 )
0023
0024 from CondCore.CondDB.CondDB_cfi import CondDB
0025 CondDB.connect = cms.string('sqlite:l1config.db')
0026
0027
0028 outputDB = cms.Service("PoolDBOutputService",
0029 CondDB,
0030 toPut = cms.VPSet(
0031 cms.PSet(
0032 record = cms.string('L1TMuonGlobalParamsRcd'),
0033 tag = cms.string('L1TMuonGlobalParamsPrototype_Stage2v0_hlt')
0034 )
0035 )
0036 )
0037 outputDB.DBParameters.authenticationPath = '.'
0038 process.add_(outputDB)
0039
0040 process.l1gpw = cms.EDAnalyzer("L1TMuonGlobalParamsWriter", isO2Opayload = cms.untracked.bool(False))
0041
0042 process.p = cms.Path(process.getter + process.l1gpw)
0043