00001 import FWCore.ParameterSet.Config as cms
00002
00003 src1 = cms.ESSource("PoolDBESSource",
00004 loadAll = cms.bool(True),
00005 toGet = cms.VPSet(cms.PSet(
00006 record = cms.string('EcalTBWeightsRcd'),
00007 tag = cms.string('EcalTBWeightsSM')
00008 ),
00009 cms.PSet(
00010 record = cms.string('EcalWeightXtalGroupsRcd'),
00011 tag = cms.string('EcalWeightXtalGroupsSM')
00012 )),
00013 messagelevel = cms.untracked.uint32(1),
00014 catalog = cms.untracked.string('file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/PoolFileCatalog_Default.xml'),
00015 timetype = cms.string('runnumber'),
00016 connect = cms.string('sqlite_file:/afs/cern.ch/cms/ECAL/testbeam/pedestal/2006/WEIGHTS/ecalwgt_Default.db'),
00017 authenticationMethod = cms.untracked.uint32(0)
00018 )
00019
00020 src2 = cms.ESSource("EcalTrivialConditionRetriever",
00021
00022 EBpedRMSX12 = cms.untracked.double(1.26),
00023 weightsForTB = cms.untracked.bool(False),
00024 producedEcalPedestals = cms.untracked.bool(True),
00025
00026 getWeightsFromFile = cms.untracked.bool(False),
00027 producedEcalWeights = cms.untracked.bool(False),
00028 EEpedRMSX12 = cms.untracked.double(2.87),
00029 producedEcalIntercalibConstants = cms.untracked.bool(True),
00030 producedEcalGainRatios = cms.untracked.bool(True),
00031 producedEcalADCToGeVConstant = cms.untracked.bool(True)
00032 )
00033
00034 getCond = cms.EDFilter("EventSetupRecordDataGetter",
00035 toGet = cms.VPSet(cms.PSet(
00036 record = cms.string('EcalTBWeightsRcd'),
00037 data = cms.vstring('EcalTBWeights')
00038 ),
00039 cms.PSet(
00040 record = cms.string('EcalWeightXtalGroupsRcd'),
00041 data = cms.vstring('EcalWeightXtalGroups')
00042 )),
00043 verbose = cms.untracked.bool(True)
00044 )
00045
00046