Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.L1TCalorimeter.caloParams_cfi import caloParamsSource
0004 import L1Trigger.L1TCalorimeter.caloParams_cfi
0005 caloStage2Params = L1Trigger.L1TCalorimeter.caloParams_cfi.caloParams.clone()
0006 
0007 import CondCore.ESSources.CondDBESSource_cfi
0008 es_pool_hf1x1 = CondCore.ESSources.CondDBESSource_cfi.GlobalTag.clone()
0009 
0010 es_pool_hf1x1.timetype = cms.string('runnumber')
0011 es_pool_hf1x1.toGet = cms.VPSet(
0012             cms.PSet(record = cms.string("HcalLutMetadataRcd"),
0013                      tag = cms.string("HcalLutMetadata_HFTP_1x1")
0014                      ),
0015             cms.PSet(record = cms.string("HcalElectronicsMapRcd"),
0016                      tag = cms.string("HcalElectronicsMap_HFTP_1x1")
0017                      )
0018             )
0019 es_pool_hf1x1.connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0020 es_pool_hf1x1.authenticationMethod = cms.untracked.uint32(0)
0021 
0022 es_prefer_es_pool_hf1x1 = cms.ESPrefer("PoolDBESSource", "es_pool_hf1x1")    
0023 
0024 #def L1TEventSetupForHF1x1TPs(process):
0025 #    process.es_pool_hf1x1 = cms.ESSource(
0026 #        "PoolDBESSource",
0027 #        #process.CondDBSetup,
0028 #        timetype = cms.string('runnumber'),
0029 #        toGet = cms.VPSet(
0030 #            cms.PSet(record = cms.string("HcalLutMetadataRcd"),
0031 #                     tag = cms.string("HcalLutMetadata_HFTP_1x1")
0032 #                     ),
0033 #            cms.PSet(record = cms.string("HcalElectronicsMapRcd"),
0034 #                     tag = cms.string("HcalElectronicsMap_HFTP_1x1")
0035 #                     )
0036 #            ),
0037 #        connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS'),
0038 #        authenticationMethod = cms.untracked.uint32(0)
0039 #        )
0040 #    process.es_prefer_es_pool_hf1x1 = cms.ESPrefer("PoolDBESSource", "es_pool_hf1x1")