Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:8
customizeMinPtForHitRecoveryInGluedDet.esproducers_by_type
def esproducers_by_type
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:2
customizeMinPtForHitRecoveryInGluedDet.customizeMinPtForHitRecoveryInGluedDet
def customizeMinPtForHitRecoveryInGluedDet
Definition:
customizeMinPtForHitRecoveryInGluedDet.py:4
Generated for CMSSW Reference Manual by
1.8.5