8 import FWCore.ParameterSet.Config
as cms
10 process = cms.Process(
"TEST")
11 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
12 toGet = cms.VPSet(cms.PSet(
13 record = cms.string(
'EcalIntercalibConstantsRcd'),
14 tag = cms.string(
'miscalib0.00')
17 record = cms.string(
'EcalPedestalsRcd'),
18 tag = cms.string(
'EcalPedestals_trivial')
21 record = cms.string(
'EcalADCToGeVConstantRcd'),
22 tag = cms.string(
'EcalADCToGeVConstant_trivial')
25 record = cms.string(
'EcalGainRatiosRcd'),
26 tag = cms.string(
'EcalGainRatios_trivial')
29 record = cms.string(
'EcalWeightXtalGroupsRcd'),
30 tag = cms.string(
'EcalWeightXtalGroups_trivial')
33 record = cms.string(
'EcalTBWeightsRcd'),
34 tag = cms.string(
'EcalTBWeights_trivial')
36 messagelevel = cms.untracked.uint32(2),
37 catalog = cms.untracked.string(
'relationalcatalog_oracle://cms_orcoff_int2r/CMS_COND_GENERAL'),
39 timetype = cms.string(
'runnumber'),
40 connect = cms.string(
'oracle://cms_orcoff_int2r/CMS_COND_ECAL'),
42 authenticationMethod = cms.untracked.uint32(1)
45 process.source = cms.Source(
"EmptySource",
46 maxEvents = cms.untracked.int32(1),
47 numberEventsInRun = cms.untracked.uint32(1),
48 firstRun = cms.untracked.uint32(1)
51 process.get = cms.EDAnalyzer(
"EventSetupRecordDataGetter",
52 toGet = cms.VPSet(cms.PSet(
53 record = cms.string(
'EcalIntercalibConstantsRcd'),
54 data = cms.vstring(
'EcalIntercalibConstants')
57 record = cms.string(
'EcalPedestalsRcd'),
58 data = cms.vstring(
'EcalPedestals')
61 record = cms.string(
'EcalADCToGeVConstantRcd'),
62 data = cms.vstring(
'EcalADCToGeVConstant')
65 record = cms.string(
'EcalGainRatiosRcd'),
66 data = cms.vstring(
'EcalGainRatios')
69 record = cms.string(
'EcalWeightXtalGroupsRcd'),
70 data = cms.vstring(
'EcalWeightXtalGroups')
73 record = cms.string(
'EcalTBWeightsRcd'),
74 data = cms.vstring(
'EcalTBWeights')
76 verbose = cms.untracked.bool(
True)
79 process.printer = cms.OutputModule(
"AsciiOutputModule")
81 process.p = cms.Path(process.get)
82 process.ep = cms.EndPath(process.printer)