Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("dbtest")
0004 
0005 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0006 process.options = cms.untracked.PSet(
0007 #  wantSummary = cms.untracked.bool(True),
0008   Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0009 )
0010 
0011 _messageSettings = cms.untracked.PSet(
0012                 reportEvery = cms.untracked.int32(1),
0013                             limit = cms.untracked.int32(10000000)
0014                         )
0015 process.MessageLogger.cerr.GetManyWithoutRegistration = _messageSettings
0016 process.MessageLogger.cerr.GetByLabelWithoutRegistration = _messageSettings
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019   input = cms.untracked.int32(10)
0020 )
0021 
0022 process.source = cms.Source("EmptySource",
0023      numberEventsInRun = cms.untracked.uint32(10),
0024      firstRun = cms.untracked.uint32(124020),
0025      numberEventsInLuminosityBlock = cms.untracked.uint32(1),
0026      firstLuminosityBlock = cms.untracked.uint32(1)
0027 )
0028 
0029 process.DBService=cms.Service("DBService",
0030            authPath=cms.untracked.string('/afs/cern.ch/cms/DB/lumi')
0031 )
0032 process.lumiProducer=cms.EDProducer("LumiProducer",
0033 #           connect=cms.string('oracle://cms_orcoff_prep/cms_lumi_dev_offline'),
0034             connect=cms.string('frontier://cmsfrontier.cern.ch:8000/LumiPrep/CMS_LUMI_DEV_OFFLINE'),
0035 #           connect=cms.string('frontier://LumiPrep/CMS_LUMI_DEV_OFFLINE'),                         
0036 #           siteconfpath=cms.untracked.string('/afs/cern.ch/user/x/xiezhen/w1/lumical/CMSSW_3_5_0_pre5/src/RecoLuminosity/LumiProducer'),
0037            lumiversion=cms.untracked.string('0001') 
0038 )
0039 process.test = cms.EDAnalyzer("TestLumiProducer")
0040 process.out = cms.OutputModule("PoolOutputModule",
0041            fileName=cms.untracked.string("testLumiProd.root")
0042 )
0043 process.p1 = cms.Path(process.lumiProducer * process.test)
0044 process.e = cms.EndPath(process.out)