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_vfe(process,
6  linearization_si=vfe_proc.linearizationCfg_si,
7  linearization_sc=vfe_proc.linearizationCfg_sc,
8  compression_ldm=vfe_proc.compressionCfg_ldm,
9  compression_hdm=vfe_proc.compressionCfg_hdm,
10  ):
11  producer = process.hgcalVFEProducer.clone(
12  ProcessorParameters = vfe_proc.clone(
13  linearizationCfg_si = linearization_sc,
14  linearizationCfg_sc = linearization_sc,
15  compressionCfg_ldm = compression_ldm,
16  compressionCfg_hdm = compression_hdm,
17  )
18  )
19  return producer
hgcalVFEProducer_cfi
vfe.create_vfe
def create_vfe(process, linearization_si=vfe_proc.linearizationCfg_si, linearization_sc=vfe_proc.linearizationCfg_sc, compression_ldm=vfe_proc.compressionCfg_ldm, compression_hdm=vfe_proc.compressionCfg_hdm)
Definition: vfe.py:5