CMS 3D CMS Logo

vfe.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 def create_compression(process,
5  exponent=4,
6  mantissa=4,
7  rounding=True
8  ):
9  producer = process.hgcalVFEProducer.clone()
10  producer.ProcessorParameters.exponentBits = cms.uint32(exponent)
11  producer.ProcessorParameters.mantissaBits = cms.uint32(mantissa)
12  producer.ProcessorParameters.rounding = cms.bool(rounding)
13  return producer
def create_compression(process, exponent=4, mantissa=4, rounding=True)
Definition: vfe.py:8