CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vfe.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 class CreateVfe(object):
6  def __init__(self,
7  linearization_si=vfe_proc.linearizationCfg_si,
8  linearization_sc=vfe_proc.linearizationCfg_sc,
9  compression_ldm=vfe_proc.compressionCfg_ldm,
10  compression_hdm=vfe_proc.compressionCfg_hdm,
11  ):
12  self.processor = vfe_proc.clone(
13  linearizationCfg_si = linearization_si,
14  linearizationCfg_sc = linearization_sc,
15  compressionCfg_ldm = compression_ldm,
16  compressionCfg_hdm = compression_hdm,
17  )
18 
19  def __call__(self, process):
20  producer = process.hgcalVFEProducer.clone(
21  ProcessorParameters = self.processor
22  )
23  return producer
def __call__
Definition: vfe.py:19
def __init__
Definition: vfe.py:11