Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("dbsourcetest")
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 process.maxEvents = cms.untracked.PSet(
0011   input = cms.untracked.int32(-1)
0012 )
0013 
0014 process.source= cms.Source("PoolSource",
0015         processingMode=cms.untracked.string('RunsAndLumis'),        
0016         fileNames=cms.untracked.vstring(
0017         #'file:/data/cmsdata/200786/FC7E661B-C3E8-E111-A23E-003048D2BDD8.root'
0018         'file:testLumiProd-200786.root'
0019         )
0020 )
0021 
0022 process.LumiCorrectionSource=cms.ESSource("LumiCorrectionSource",
0023         authpath=cms.untracked.string('/afs/cern.ch/cms/lumi/DB'),
0024         connect=cms.string('oracle://cms_orcon_adg/cms_lumi_prod')
0025         #connect=cms.string('frontier://LumiCalc/CMS_LUMI_PROD'),
0026         #normtag=cms.untracked.string('HFV2a')
0027         #datatag=cms.untracked.string('v3')
0028 )
0029 process.prod = cms.EDAnalyzer("TestLumiCorrectionSource")
0030 
0031 process.p = cms.Path(process.prod)
0032