CMS 3D CMS Logo

Functions
vfe Namespace Reference

Functions

def create_compression (process, exponent=4, mantissa=4, rounding=True)
 

Function Documentation

def vfe.create_compression (   process,
  exponent = 4,
  mantissa = 4,
  rounding = True 
)

Definition at line 8 of file vfe.py.

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
14