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 customizeHitRecoveryInGluedDetTkSeedsOnly
 
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
def customizeMinPtForHitRecoveryInGluedDet.customizeHitRecoveryInGluedDetTkSeedsOnly (   process)

Definition at line 16 of file customizeMinPtForHitRecoveryInGluedDet.py.

16 
18  process = customizeMinPtForHitRecoveryInGluedDet(process,0.9)
19  if hasattr(process, "Chi2MeasurementEstimatorForP5"): # keep disabled for cosmics
20  process.Chi2MeasurementEstimatorForP5.MinPtForHitRecoveryInGluedDet = 100000
21  for X in "muonSeededMeasurementEstimatorForOutIn", "hitCollectorForOutInMuonSeeds":
22  if not hasattr(process, X): continue
23  getattr(process, X).MinPtForHitRecoveryInGluedDet = 100000
24  return process
25 
26 
27 
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)