Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("ProcessOne")
00004
00005 process.MessageLogger = cms.Service("MessageLogger",
00006 debugModules = cms.untracked.vstring('*'),
00007 cout = cms.untracked.PSet(
00008 threshold = cms.untracked.string('DEBUG')
00009 ),
00010 destinations = cms.untracked.vstring('cout')
00011 )
00012
00013 process.source = cms.Source("EmptyIOVSource",
00014 lastValue = cms.uint64(100000000000),
00015 timetype = cms.string('runnumber'),
00016 firstValue = cms.uint64(100000000000),
00017 interval = cms.uint64(1)
00018 )
00019
00020 process.load("CondCore.DBCommon.CondDBCommon_cfi")
00021
00022
00023
00024 process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_31X_ECAL'
00025 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
00026
00027 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00028 process.CondDBCommon,
00029 logconnect = cms.untracked.string('sqlite_file:log.db'),
00030 toPut = cms.VPSet(cms.PSet(
00031 record = cms.string('EcalIntercalibConstantsRcd'),
00032 tag = cms.string('EcalIntercalibConstants_v9_offline')
00033 ))
00034 )
00035
00036 process.Test1 = cms.EDAnalyzer("ExTestEcalIntercalibAnalyzer",
00037 record = cms.string('EcalIntercalibConstantsRcd'),
00038 loggingOn= cms.untracked.bool(True),
00039 IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
00040 SinceAppendMode=cms.bool(True),
00041 Source=cms.PSet(
00042 FileLowField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Boff.xml'),
00043 FileHighField = cms.string('/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/interCalib_Bon.xml'),
00044 Value_Bon = cms.untracked.double(0.75585),
00045 firstRun = cms.string('98273'),
00046 lastRun = cms.string('10000000'),
00047 OnlineDBSID = cms.string('cms_omds_lb'),
00048 OnlineDBUser = cms.string('cms_ecal_r'),
00049 OnlineDBPassword = cms.string('*******'),
00050 LocationSource = cms.string('P5'),
00051 Location = cms.string('P5_Co'),
00052 GenTag = cms.string('GLOBAL'),
00053 RunType = cms.string('COSMICS')
00054 )
00055 )
00056
00057 process.p = cms.Path(process.Test1)