Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:19

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.L1TMuonEndCap.fakeEmtfParams_cff")
0013 
0014 process.getter = cms.EDAnalyzer("EventSetupRecordDataGetter",
0015    toGet = cms.VPSet(
0016        cms.PSet(
0017            record = cms.string('L1TMuonEndCapForestRcd'),
0018            data   = cms.vstring('L1TMuonEndCapForest')
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 #CondDB.connect = cms.string('oracle://cms_orcoff_prep/CMS_CONDITIONS')
0027 
0028 outputDB = cms.Service("PoolDBOutputService",
0029                        CondDB,
0030                        toPut   = cms.VPSet(
0031                            cms.PSet(
0032                                record = cms.string('L1TMuonEndCapForestRcd'),
0033                                tag = cms.string('L1TMuonEndCapForest')
0034                            )
0035                        )
0036 )
0037 outputDB.DBParameters.authenticationPath = '.'
0038 process.add_(outputDB)
0039 
0040 process.l1bpw = cms.EDAnalyzer("L1TMuonEndCapForestWriter", isO2Opayload = cms.untracked.bool(False))
0041 
0042 process.p = cms.Path(process.getter + process.l1bpw)
0043