CMS 3D CMS Logo

Functions | Variables
hgcalLayersCalibrationCoefficients_cfi Namespace Reference

Functions

def trigger_dedx_weights (ecal_layers, reco_weights)
 

Variables

 AllLayer_weights
 
 TrgLayer_weights
 
 triggerWeights
 
 weights
 

Function Documentation

◆ trigger_dedx_weights()

def hgcalLayersCalibrationCoefficients_cfi.trigger_dedx_weights (   ecal_layers,
  reco_weights 
)

Definition at line 120 of file hgcalLayersCalibrationCoefficients_cfi.py.

120 def trigger_dedx_weights(ecal_layers, reco_weights):
121  weights = []
122  for lid, lw in enumerate(reco_weights):
123  if lid > (ecal_layers+1):
124  weights.append(lw)
125  else:
126  # Only half the layers are read in the EE at L1T
127  if (lid % 2) == 1:
128  weights.append(lw+reco_weights[lid-1])
129  else:
130  weights.append(0)
131  return weights
132 

Variable Documentation

◆ AllLayer_weights

hgcalLayersCalibrationCoefficients_cfi.AllLayer_weights

Definition at line 8 of file hgcalLayersCalibrationCoefficients_cfi.py.

◆ TrgLayer_weights

hgcalLayersCalibrationCoefficients_cfi.TrgLayer_weights

Definition at line 63 of file hgcalLayersCalibrationCoefficients_cfi.py.

◆ triggerWeights

hgcalLayersCalibrationCoefficients_cfi.triggerWeights

Definition at line 133 of file hgcalLayersCalibrationCoefficients_cfi.py.

◆ weights

hgcalLayersCalibrationCoefficients_cfi.weights

Definition at line 134 of file hgcalLayersCalibrationCoefficients_cfi.py.