1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.Eras.Modifier_phase2_hgcalV16_cff
import phase2_hgcalV16
6 from .
import l1tHGCalTriggerGeometryESProducer_cfi
as geomparam
8 AllLayer_weights = cms.vdouble(0.0,
63 TrgLayer_weights = cms.vdouble(0.0,
122 for lid, lw
in enumerate(reco_weights):
123 if lid > (ecal_layers+1):
128 weights.append(lw+reco_weights[lid-1])
133 triggerWeights = cms.PSet(
137 phase2_hgcalV16.toModify(triggerWeights,
def trigger_dedx_weights(ecal_layers, reco_weights)