CMS 3D CMS Logo

Functions
customVFE Namespace Reference

Functions

def 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)
 
def custom_hgcroc_oot (process, oot_coefficients=vfe_proc.linearizationCfg_si.oot_coefficients)
 

Function Documentation

◆ custom_hgcroc_compression()

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  parameters = vfe_proc.clone(
22  compressionCfg_ldm = vfe_proc.compressionCfg_ldm.clone(
23  exponentBits=exponentBits,
24  mantissaBits=mantissaBits,
25  truncationBits=truncationBits_ldm,
26  rounding=rounding,
27  ),
28  compressionCfg_hdm = vfe_proc.compressionCfg_hdm.clone(
29  exponentBits=exponentBits,
30  mantissaBits=mantissaBits,
31  truncationBits=truncationBits_hdm,
32  rounding=rounding,
33  ),
34  )
35  process.l1tHGCalVFEProducer.ProcessorParameters = parameters
36  return process
37 

◆ custom_hgcroc_oot()

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  parameters = vfe_proc.clone(
7  linearizationCfg_si = vfe_proc.linearizationCfg_si.clone(oot_coefficients=oot_coefficients),
8  linearizationCfg_sc = vfe_proc.linearizationCfg_sc.clone(oot_coefficients=oot_coefficients),
9  )
10  process.l1tHGCalVFEProducer.ProcessorParameters = parameters
11  return process
12 
13