CMS 3D CMS Logo

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

Functions

def custom_hgcroc_compression
 
def custom_hgcroc_oot
 

Function Documentation

def customVFE.custom_hgcroc_compression (   process,
  exponentBits = vfe_proc.compressionCfg_ldm.exponentBits,
  mantissaBits = vfe_proc.compressionCfg_ldm.mantissaBits,
  rounding = vfe_proc.compressionCfg_ldm.rounding,
  truncationBits_ldm = vfe_proc.compressionCfg_ldm.truncationBits,
  truncationBits_hdm = vfe_proc.compressionCfg_hdm.truncationBits 
)

Definition at line 20 of file customVFE.py.

Referenced by custom_hgcroc_oot().

20 
21  ):
22  parameters = vfe_proc.clone(
23  compressionCfg_ldm = vfe_proc.compressionCfg_ldm.clone(
24  exponentBits=exponentBits,
25  mantissaBits=mantissaBits,
26  truncationBits=truncationBits_ldm,
27  rounding=rounding,
28  ),
29  compressionCfg_hdm = vfe_proc.compressionCfg_hdm.clone(
30  exponentBits=exponentBits,
31  mantissaBits=mantissaBits,
32  truncationBits=truncationBits_hdm,
33  rounding=rounding,
34  ),
35  )
36  process.hgcalVFEProducer.ProcessorParameters = parameters
37  return process
def customVFE.custom_hgcroc_oot (   process,
  oot_coefficients = vfe_proc.linearizationCfg_si.oot_coefficients 
)

Definition at line 5 of file customVFE.py.

References custom_hgcroc_compression().

5 
6  ):
7  parameters = vfe_proc.clone(
8  linearizationCfg_si = vfe_proc.linearizationCfg_si.clone(oot_coefficients=oot_coefficients),
9  linearizationCfg_sc = vfe_proc.linearizationCfg_sc.clone(oot_coefficients=oot_coefficients),
10  )
11  process.hgcalVFEProducer.ProcessorParameters = parameters
12  return process
13