CMS 3D CMS Logo

Functions
customCalibration Namespace Reference

Functions

def custom_cluster_calibration_global (process, factor=1.084)
 
def custom_cluster_calibration_layers (process, weights=layercalibparam.TrgLayer_weights)
 

Function Documentation

◆ custom_cluster_calibration_global()

def customCalibration.custom_cluster_calibration_global (   process,
  factor = 1.084 
)

Definition at line 8 of file customCalibration.py.

References custom_cluster_calibration_layers().

8  ):
9  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
10  parameters_c2d.calibSF_cluster = cms.double(factor)
11  parameters_c2d.applyLayerCalibration = cms.bool(False)
12  return process
13 
14 

◆ custom_cluster_calibration_layers()

def customCalibration.custom_cluster_calibration_layers (   process,
  weights = layercalibparam.TrgLayer_weights 
)

Definition at line 17 of file customCalibration.py.

Referenced by custom_cluster_calibration_global().

17  ):
18  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
19  parameters_c2d.layerWeights = weights
20  parameters_c2d.applyLayerCalibration = cms.bool(True)
21  return process
22