1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.MessageLogger = cms.Service(
"MessageLogger",
6 cerr = cms.untracked.PSet(
7 enable = cms.untracked.bool(
False)
9 cout = cms.untracked.PSet(
10 enable = cms.untracked.bool(
True),
11 threshold = cms.untracked.string(
'DEBUG')
13 debugModules = cms.untracked.vstring(
'*')
16 process.source = cms.Source(
"EmptyIOVSource",
17 lastValue = cms.uint64(100000000000),
18 timetype = cms.string(
'runnumber'),
19 firstValue = cms.uint64(100000000000),
20 interval = cms.uint64(1)
23 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
25 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
29 process.CondDBCommon.connect =
'oracle://cms_orcon_prod/CMS_COND_31X_ECAL'
32 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
34 logconnect = cms.untracked.string(
'oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
36 toPut = cms.VPSet(cms.PSet(
37 record = cms.string(
'EcalADCToGeVConstantRcd'),
38 tag = cms.string(
'EcalADCToGeVConstant_v8_offline')
42 process.Test1 = cms.EDAnalyzer(
"ExTestEcalADCToGeVAnalyzer",
43 record = cms.string(
'EcalADCToGeVConstantRcd'),
44 loggingOn= cms.untracked.bool(
True),
45 IsDestDbCheckedInQueryLog=cms.untracked.bool(
True),
46 SinceAppendMode=cms.bool(
True),
48 FileLowField = cms.string(
'/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/ADCtoGeV_Boff.xml'),
49 FileHighField = cms.string(
'/nfshome0/popcondev/EcalTPGPopCon/CMSSW_3_11_0_ONLINE/src/CondTools/Ecal/python/ADCtoGeV_Bon.xml'),
50 firstRun = cms.string(
'98273'),
51 lastRun = cms.string(
'10000000'),
52 OnlineDBSID = cms.string(
'cms_omds_lb'),
53 OnlineDBUser = cms.string(
'cms_ecal_r'),
54 OnlineDBPassword = cms.string(
'*******'),
55 LocationSource = cms.string(
'P5'),
56 Location = cms.string(
'P5_Co'),
57 GenTag = cms.string(
'GLOBAL'),
58 RunType = cms.string(
'COSMICS')
62 process.p = cms.Path(process.Test1)