Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-19 00:05:09

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.L1TMuonOverlap.fakeOmtfFwVersion_cff")
0013 
0014 process.getter = cms.EDAnalyzer("EventSetupRecordDataGetter",
0015    toGet = cms.VPSet(
0016        cms.PSet(
0017            record = cms.string('L1TMuonOverlapFwVersionRcd'),
0018            data   = cms.vstring('L1TMuonOverlapFwVersion')
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 outputDB = cms.Service("PoolDBOutputService",
0028                        CondDB,
0029                        toPut   = cms.VPSet(
0030                            cms.PSet(
0031                                record = cms.string('L1TMuonOverlapFwVersionRcd'),
0032                                tag = cms.string('L1TMuonOverlapFwVersionPrototype_Stage2v0_hlt')
0033                            )
0034                        )
0035 )
0036 outputDB.DBParameters.authenticationPath = '.'
0037 process.add_(outputDB)
0038 
0039 process.l1opw = cms.EDAnalyzer("L1TMuonOverlapFwVersionTester", isO2Opayload = cms.untracked.bool(False), writeToDB = cms.untracked.bool(True))
0040 
0041 process.p = cms.Path(process.getter + process.l1opw)
0042