Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # This config file can be used to retrieve constants from the Condition Data Base. 
0004 # Ricky Egeland 18/08/06 Modif Alex Zabi: change into cff file
0005 PoolDBESSource = cms.ESSource("PoolDBESSource",
0006     loadAll = cms.bool(True),
0007     toGet = cms.VPSet(cms.PSet(
0008         record = cms.string('EcalPedestalsRcd'),
0009         tag = cms.string('EcalPedestals_from_online')
0010     ), 
0011         cms.PSet(
0012             record = cms.string('EcalADCToGeVConstantRcd'),
0013             tag = cms.string('EcalADCToGeVConstant_prelim_V0')
0014         ), 
0015         cms.PSet(
0016             record = cms.string('EcalGainRatiosRcd'),
0017             tag = cms.string('EcalGainRatios_lab_prelim_V0')
0018         ), 
0019         cms.PSet(
0020             record = cms.string('EcalIntercalibConstantsRcd'),
0021             tag = cms.string('EcalIntercalibConstants_cosmic_1xtal_V0')
0022         ), 
0023         cms.PSet(
0024             record = cms.string('EcalWeightXtalGroupsRcd'),
0025             tag = cms.string('EcalWeightXtalGroups_standard_V0')
0026         ), 
0027         cms.PSet(
0028             record = cms.string('EcalTBWeightsRcd'),
0029             tag = cms.string('EcalTBWeights_standard_V0')
0030         )),
0031     messagelevel = cms.untracked.uint32(2),
0032     catalog = cms.untracked.string('relationalcatalog_oracle://cms_testbeam/CMS_ECAL_H4_COND'), ##cms_testbeam/CMS_ECAL_H4_COND"
0033 
0034     timetype = cms.string('runnumber'),
0035     connect = cms.string('oracle://cms_testbeam/CMS_ECAL_H4_COND'), ##cms_testbeam/CMS_ECAL_H4_COND"
0036 
0037     authenticationMethod = cms.untracked.uint32(1)
0038 )
0039 
0040 getCond = cms.EDAnalyzer("EventSetupRecordDataGetter",
0041     toGet = cms.VPSet(cms.PSet(
0042         record = cms.string('EcalPedestalsRcd'),
0043         data = cms.vstring('EcalPedestals')
0044     ), 
0045         cms.PSet(
0046             record = cms.string('EcalADCToGeVConstantRcd'),
0047             data = cms.vstring('EcalADCToGeVConstant')
0048         ), 
0049         cms.PSet(
0050             record = cms.string('EcalGainRatiosRcd'),
0051             data = cms.vstring('EcalGainRatios')
0052         ), 
0053         cms.PSet(
0054             record = cms.string('EcalIntercalibConstantsRcd'),
0055             data = cms.vstring('EcalIntercalibConstants')
0056         ), 
0057         cms.PSet(
0058             record = cms.string('EcalWeightXtalGroupsRcd'),
0059             data = cms.vstring('EcalWeightXtalGroups')
0060         ), 
0061         cms.PSet(
0062             record = cms.string('EcalTBWeightsRcd'),
0063             data = cms.vstring('EcalTBWeights')
0064         )),
0065     verbose = cms.untracked.bool(True)
0066 )
0067 
0068