Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 #                                       { string record = "EcalIntercalibConstantsRcd"
0006 #                                         string tag = "EcalIntercalibConstants_trivial" },
0007 
0008 import FWCore.ParameterSet.Config as cms
0009 
0010 process = cms.Process("TEST")
0011 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0012     toGet = cms.VPSet(cms.PSet(
0013         record = cms.string('EcalIntercalibConstantsRcd'),
0014         tag = cms.string('miscalib0.00')
0015     ), 
0016         cms.PSet(
0017             record = cms.string('EcalPedestalsRcd'),
0018             tag = cms.string('EcalPedestals_trivial')
0019         ), 
0020         cms.PSet(
0021             record = cms.string('EcalADCToGeVConstantRcd'),
0022             tag = cms.string('EcalADCToGeVConstant_trivial')
0023         ), 
0024         cms.PSet(
0025             record = cms.string('EcalGainRatiosRcd'),
0026             tag = cms.string('EcalGainRatios_trivial')
0027         ), 
0028         cms.PSet(
0029             record = cms.string('EcalWeightXtalGroupsRcd'),
0030             tag = cms.string('EcalWeightXtalGroups_trivial')
0031         ), 
0032         cms.PSet(
0033             record = cms.string('EcalTBWeightsRcd'),
0034             tag = cms.string('EcalTBWeights_trivial')
0035         )),
0036     messagelevel = cms.untracked.uint32(2),
0037     catalog = cms.untracked.string('relationalcatalog_oracle://cms_orcoff_int2r/CMS_COND_GENERAL'), ##cms_orcoff_int2r/CMS_COND_GENERAL"
0038 
0039     timetype = cms.string('runnumber'),
0040     connect = cms.string('oracle://cms_orcoff_int2r/CMS_COND_ECAL'), ##cms_orcoff_int2r/CMS_COND_ECAL"
0041 
0042     authenticationMethod = cms.untracked.uint32(1)
0043 )
0044 
0045 process.source = cms.Source("EmptySource",
0046     maxEvents = cms.untracked.int32(1),
0047     numberEventsInRun = cms.untracked.uint32(1),
0048     firstRun = cms.untracked.uint32(1)
0049 )
0050 
0051 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0052     toGet = cms.VPSet(cms.PSet(
0053         record = cms.string('EcalIntercalibConstantsRcd'),
0054         data = cms.vstring('EcalIntercalibConstants')
0055     ), 
0056         cms.PSet(
0057             record = cms.string('EcalPedestalsRcd'),
0058             data = cms.vstring('EcalPedestals')
0059         ), 
0060         cms.PSet(
0061             record = cms.string('EcalADCToGeVConstantRcd'),
0062             data = cms.vstring('EcalADCToGeVConstant')
0063         ), 
0064         cms.PSet(
0065             record = cms.string('EcalGainRatiosRcd'),
0066             data = cms.vstring('EcalGainRatios')
0067         ), 
0068         cms.PSet(
0069             record = cms.string('EcalWeightXtalGroupsRcd'),
0070             data = cms.vstring('EcalWeightXtalGroups')
0071         ), 
0072         cms.PSet(
0073             record = cms.string('EcalTBWeightsRcd'),
0074             data = cms.vstring('EcalTBWeights')
0075         )),
0076     verbose = cms.untracked.bool(True)
0077 )
0078 
0079 process.printer = cms.OutputModule("AsciiOutputModule")
0080 
0081 process.p = cms.Path(process.get)
0082 process.ep = cms.EndPath(process.printer)
0083