CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
customizeMinPtForHitRecoveryInGluedDet.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 def esproducers_by_type(process, *types):
3  return (module for module in process._Process__esproducers.values() if module._TypedParameterizable__type in types)
5  for esp in esproducers_by_type(process, "Chi2MeasurementEstimatorESProducer", "Chi2ChargeMeasurementEstimatorESProducer"):
6  esp.MinPtForHitRecoveryInGluedDet = cms.double(value)
7  return process
9  return customizeMinPtForHitRecoveryInGluedDet(process,1000000)
10 
11