Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('L1TEST')
0004 
0005 process.load('Configuration.StandardSequences.Services_cff')
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 process.MessageLogger.cout.threshold = cms.untracked.string('DEBUG')
0008 process.MessageLogger.debugModules = cms.untracked.vstring('L1-O2O')
0009 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(1)
0014     )
0015 
0016 process.source = cms.Source('EmptySource')
0017 
0018 # Other statements
0019 from Configuration.AlCa.GlobalTag import GlobalTag
0020 process.GlobalTag.connect = cms.string('frontier://FrontierProd/CMS_COND_31X_GLOBALTAG')
0021 process.GlobalTag.globaltag = cms.string('POSTLS162_V2::All')
0022 
0023 # New parameters
0024 process.load('L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
0025 process.caloConfigWriter = cms.EDAnalyzer("CaloConfigWriter")
0026 
0027 process.p = cms.Path(
0028     process.caloConfigWriter
0029 )
0030 
0031 from CondCore.DBCommon.CondDBSetup_cfi import CondDBSetup
0032 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0033     CondDBSetup,
0034     connect = cms.string('sqlite_file:l1config.db'),
0035     timetype = cms.untracked.string('runnumber'),
0036     toPut = cms.VPSet(
0037         cms.PSet(
0038             record = cms.string('L1TCaloConfigRcd'),
0039             tag = cms.string('L1TCaloConfigRcd_Testing')
0040         )
0041     )
0042 )