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 6 of file customCalibration.py.

7  factor=1.084
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 15 of file customCalibration.py.

16  weights=layercalibparam.TrgLayer_weights
17  ):
18  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
19  parameters_c2d.layerWeights = weights
20  parameters_c2d.applyLayerCalibration = cms.bool(True)
21  return process
customCalibration.custom_cluster_calibration_layers
def custom_cluster_calibration_layers(process, weights=layercalibparam.TrgLayer_weights)
Definition: customCalibration.py:15
customCalibration.custom_cluster_calibration_global
def custom_cluster_calibration_global(process, factor=1.084)
Definition: customCalibration.py:6