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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
# The following comments couldn't be translated into the new config version:

#FrontierProd/CMS_COND_20X_ECAL" 
import FWCore.ParameterSet.Config as cms

#
# Ecal  calibrations from Frontier
#
from RecoLocalCalo.EcalRecProducers.getEcalConditions_frontier_cff import *
from CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi import *
ecalConditions.connect = 'frontier://FrontierProd/CMS_COND_20X_ECAL'
ecalConditions.toGet = cms.VPSet(cms.PSet(
    record = cms.string('EcalPedestalsRcd'),
    tag = cms.string('EcalPedestals_mc')
), 
    cms.PSet(
        record = cms.string('EcalADCToGeVConstantRcd'),
        tag = cms.string('EcalADCToGeVConstant_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalChannelStatusRcd'),
        tag = cms.string('EcalChannelStatus_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalGainRatiosRcd'),
        tag = cms.string('EcalGainRatios_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalIntercalibConstantsRcd'),
        tag = cms.string('EcalIntercalibConstants_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalIntercalibErrorsRcd'),
        tag = cms.string('EcalIntercalibErrors_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalWeightXtalGroupsRcd'),
        tag = cms.string('EcalWeightXtalGroups_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalTBWeightsRcd'),
        tag = cms.string('EcalTBWeights_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalLaserAlphasRcd'),
        tag = cms.string('EcalLaserAlphas_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalLaserAPDPNRatiosRcd'),
        tag = cms.string('EcalLaserAPDPNRatios_mc')
    ), 
    cms.PSet(
        record = cms.string('EcalLaserAPDPNRatiosRefRcd'),
        tag = cms.string('EcalLaserAPDPNRatiosRef_mc')
    ))