src
RecoTracker
Configuration
python
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)
4
def
customizeMinPtForHitRecoveryInGluedDet
(process,value):
5
for
esp
in
esproducers_by_type
(process,
"Chi2MeasurementEstimatorESProducer"
,
"Chi2ChargeMeasurementEstimatorESProducer"
):
6
esp.MinPtForHitRecoveryInGluedDet = cms.double(value)
7
return
process
8
def
customizeHitRecoveryInGluedDetOff
(process):
9
return
customizeMinPtForHitRecoveryInGluedDet
(process,1000000)
10
11
customizeMinPtForHitRecoveryInGluedDet
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:1
customizeMinPtForHitRecoveryInGluedDet.customizeHitRecoveryInGluedDetOff
def customizeHitRecoveryInGluedDetOff(process)
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:8
customizeMinPtForHitRecoveryInGluedDet.esproducers_by_type
def esproducers_by_type(process, types)
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:2
customizeMinPtForHitRecoveryInGluedDet.customizeMinPtForHitRecoveryInGluedDet
def customizeMinPtForHitRecoveryInGluedDet(process, value)
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:4
Generated for CMSSW Reference Manual by
1.8.14