test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customizeMinPtForHitRecoveryInGluedDet Namespace Reference

Functions

def customizeHitRecoveryInGluedDetOff
 
def customizeHitRecoveryInGluedDetOn
 
def customizeMinPtForHitRecoveryInGluedDet
 
def esproducers_by_type
 

Function Documentation

def customizeMinPtForHitRecoveryInGluedDet.customizeHitRecoveryInGluedDetOff (   process)
def customizeMinPtForHitRecoveryInGluedDet.customizeHitRecoveryInGluedDetOn (   process)

Definition at line 10 of file customizeMinPtForHitRecoveryInGluedDet.py.

10 
12  process = customizeMinPtForHitRecoveryInGluedDet(process,0.9)
13  if hasattr(process, "Chi2MeasurementEstimatorForP5"): # keep disabled for cosmics
14  process.Chi2MeasurementEstimatorForP5.MinPtForHitRecoveryInGluedDet = 100000
15  return process
16 
17 
def customizeMinPtForHitRecoveryInGluedDet.customizeMinPtForHitRecoveryInGluedDet (   process,
  value 
)

Definition at line 4 of file customizeMinPtForHitRecoveryInGluedDet.py.

References esproducers_by_type().

4 
6  for esp in esproducers_by_type(process, "Chi2MeasurementEstimatorESProducer", "Chi2ChargeMeasurementEstimatorESProducer"):
7  esp.MinPtForHitRecoveryInGluedDet = cms.double(value)
return process
def customizeMinPtForHitRecoveryInGluedDet.esproducers_by_type (   process,
  types 
)

Definition at line 2 of file customizeMinPtForHitRecoveryInGluedDet.py.

Referenced by customizeMinPtForHitRecoveryInGluedDet().

2 
3 def esproducers_by_type(process, *types):
return (module for module in process._Process__esproducers.values() if module._TypedParameterizable__type in types)