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