4 oot_coefficients=vfe_proc.linearizationCfg_si.oot_coefficients
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),
10 process.hgcalVFEProducer.ProcessorParameters = parameters
15 exponentBits=vfe_proc.compressionCfg_ldm.exponentBits,
16 mantissaBits=vfe_proc.compressionCfg_ldm.mantissaBits,
17 rounding=vfe_proc.compressionCfg_ldm.rounding,
18 truncationBits_ldm=vfe_proc.compressionCfg_ldm.truncationBits,
19 truncationBits_hdm=vfe_proc.compressionCfg_hdm.truncationBits,
21 parameters = vfe_proc.clone(
22 compressionCfg_ldm = vfe_proc.compressionCfg_ldm.clone(
23 exponentBits=exponentBits,
24 mantissaBits=mantissaBits,
25 truncationBits=truncationBits_ldm,
28 compressionCfg_hdm = vfe_proc.compressionCfg_hdm.clone(
29 exponentBits=exponentBits,
30 mantissaBits=mantissaBits,
31 truncationBits=truncationBits_hdm,
35 process.hgcalVFEProducer.ProcessorParameters = parameters
def custom_hgcroc_compression