CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customCalibration Namespace Reference

Functions

def custom_cluster_calibration_global
 
def custom_cluster_calibration_layers
 

Function Documentation

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  ):
10  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
11  parameters_c2d.calibSF_cluster = cms.double(factor)
12  parameters_c2d.applyLayerCalibration = cms.bool(False)
13  return process
14 
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  ):
19  parameters_c2d = process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters
20  parameters_c2d.layerWeights = weights
21  parameters_c2d.applyLayerCalibration = cms.bool(True)
22  return process