1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
5 process.MessageLogger=cms.Service(
"MessageLogger",
6 destinations=cms.untracked.vstring(
"cout"),
7 cout=cms.untracked.PSet(
8 threshold=cms.untracked.string(
"INFO")
12 process.load(
"CondCore.CondDB.CondDB_cfi")
13 process.CondDB.connect = cms.string(
'CONNECT_STRING')
14 process.CondDB.DBParameters.authenticationPath = cms.untracked.string(
'POOL_AUTH_PATH')
16 process.source = cms.Source(
"EmptyIOVSource",
17 timetype = cms.string(
'runnumber'),
18 firstValue = cms.uint64(1),
19 lastValue = cms.uint64(1),
20 interval = cms.uint64(1)
23 process.es_omds = cms.ESSource(
"HcalOmdsCalibrations",
24 input = cms.VPSet(cms.PSet(
25 object = cms.string(
'CONDITION_TYPE'),
26 tag = cms.string(
'OMDS_CONDITION_TAG'),
27 version = cms.string(
'fakeversion'),
28 subversion = cms.int32(1),
29 iov_begin = cms.int32(OMDS_IOV),
30 accessor = cms.string(
'OMDS_ACCESSOR_STRING'),
31 query = cms.string(
'''
37 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
39 timetype = cms.untracked.string(
'runnumber'),
40 logconnect= cms.untracked.string(
'POOL_LOGCONNECT'),
41 toPut = cms.VPSet(cms.PSet(
42 record = cms.string(
'POOL_RECORD'),
43 tag = cms.string(
'POOL_OUTPUT_TAG')
47 process.mytest = cms.EDAnalyzer(
"HcalCONDITION_TYPEPopConAnalyzer",
48 record = cms.string(
'POOL_RECORD'),
49 loggingOn= cms.untracked.bool(
True),
50 SinceAppendMode=cms.bool(
True),
53 IOVRun=cms.untracked.uint32(POOL_IOV)
57 process.p = cms.Path(process.mytest)