1 import FWCore.ParameterSet.Config
as cms
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)
def create_compression(process, exponent=4, mantissa=4, rounding=True)