Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import FWCore.ParameterSet.Config as cms

#used for real DB conditions
from CondCore.DBCommon.CondDBSetup_cfi import *
cscConditions = cms.ESSource("PoolDBESSource",
    CondDBSetup,
    toGet = cms.VPSet(cms.PSet(
        record = cms.string('CSCGainsRcd'),
        tag = cms.string('CSCGains_ideal')
    ), 
        cms.PSet(
            record = cms.string('CSCNoiseMatrixRcd'),
            tag = cms.string('CSCNoiseMatrix_ideal')
        ), 
        cms.PSet(
            record = cms.string('CSCcrosstalkRcd'),
            tag = cms.string('CSCCrosstalk_ideal')
        ), 
        cms.PSet(
            record = cms.string('CSCPedestalsRcd'),
            tag = cms.string('CSCPedestals_ideal')
        )),
    connect = cms.string('frontier://FrontierDev/CMS_COND_CSC'), ##FrontierDev/CMS_COND_CSC"

)