1 import FWCore.ParameterSet.Config
as cms
3 src1 = cms.ESSource(
"PoolDBESSource",
4 loadAll = cms.bool(
True),
5 toGet = cms.VPSet(cms.PSet(
6 record = cms.string(
'EcalIntercalibConstantsRcd'),
7 tag = cms.string(
'EcalIntercalibConstants')
10 record = cms.string(
'EcalADCToGeVConstantRcd'),
11 tag = cms.string(
'EcalADCToGeVConstant')
13 messagelevel = cms.untracked.uint32(1),
14 catalog = cms.untracked.string(
'file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2004/v2/PoolFileCatalog.xml'),
15 timetype = cms.string(
'runnumber'),
16 connect = cms.string(
'sqlite_file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2004/v2/ecal2004condDB.db'),
17 authenticationMethod = cms.untracked.uint32(0)
20 getCalibrations = cms.EDAnalyzer(
"EventSetupRecordDataGetter",
21 toGet = cms.VPSet(cms.PSet(
22 record = cms.string(
'EcalIntercalibConstantsRcd'),
23 data = cms.vstring(
'EcalIntercalibConstants')
26 record = cms.string(
'EcalADCToGeVConstantRcd'),
27 data = cms.vstring(
'EcalADCToGeVConstant')
29 verbose = cms.untracked.bool(
True)