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

def customCalibration.custom_cluster_calibration_global (   process,
  factor = 1.084 
)

Definition at line 7 of file customCalibration.py.

References custom_cluster_calibration_layers().

7  ):
8  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
9  parameters_c2d.calibSF_cluster = cms.double(factor)
10  parameters_c2d.applyLayerCalibration = cms.bool(False)
11  return process
12 
13 
def customCalibration.custom_cluster_calibration_layers (   process,
  weights = layercalibparam.TrgLayer_weights 
)

Definition at line 16 of file customCalibration.py.

Referenced by custom_cluster_calibration_global().

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