1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
3 from .
import hgcalLayersCalibrationCoefficients_cfi
as layercalibparam
9 parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
10 parameters_c2d.calibSF_cluster = cms.double(factor)
11 parameters_c2d.applyLayerCalibration = cms.bool(
False)
16 weights=layercalibparam.TrgLayer_weights
18 parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
19 parameters_c2d.layerWeights = weights
20 parameters_c2d.applyLayerCalibration = cms.bool(
True)