CMS 3D CMS Logo

vfe.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 def create_compression(process,
6  exponent=vfe_proc.exponentBits,
7  mantissa=vfe_proc.mantissaBits,
8  rounding=vfe_proc.rounding,
9  oot_coefficients=vfe_proc.oot_coefficients
10  ):
11  producer = process.hgcalVFEProducer.clone(
12  ProcessorParameters = vfe_proc.clone(
13  exponentBits = exponent,
14  mantissaBits = mantissa,
15  rounding = rounding,
16  oot_coefficients = oot_coefficients
17  )
18  )
19  return producer
hgcalVFEProducer_cfi
vfe.create_compression
def create_compression(process, exponent=vfe_proc.exponentBits, mantissa=vfe_proc.mantissaBits, rounding=vfe_proc.rounding, oot_coefficients=vfe_proc.oot_coefficients)
Definition: vfe.py:5