Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # initialize magnetic field #########################
0004 
0005 # initialize geometry #####################
0006 
0007 # KFUpdatoerESProducer
0008 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import *
0009 # Chi2MeasurementEstimatorESProducer
0010 import TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi
0011 Chi2MeasurementEstimatorForP5 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
0012     ComponentName   = 'Chi2MeasurementEstimatorForP5',
0013     MaxChi2         = 100.,
0014     nSigma          = 4.,
0015     MaxDisplacement = 100,
0016     MaxSagitta      = -1,
0017     MinPtForHitRecoveryInGluedDet=100000
0018 )
0019 
0020 # PropagatorWithMaterialESProducer
0021 from TrackingTools.MaterialEffects.MaterialPropagator_cfi import *
0022 # PropagatorWithMaterialESProducer
0023 from TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi import *
0024 # stripCPE
0025 from RecoLocalTracker.SiStripRecHitConverter.StripCPE_cfi import *
0026 from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import *
0027 from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi import *
0028 #TransientTrackingBuilder
0029 from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi import *
0030 import RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi
0031 
0032 ## MeasurementTracker
0033 ##CTF_P5_MeasurementTracker = RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi.MeasurementTracker.clone()
0034 #replace CTF_P5_MeasurementTracker.pixelClusterProducer = ""
0035 
0036 # trajectory filtering
0037 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import *
0038 import TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff
0039 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi
0040 ckfBaseTrajectoryFilterP5 = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
0041     minPt             = 0.5,
0042     maxLostHits       = 4,
0043     maxConsecLostHits = 3
0044 )
0045 #replace ckfBaseTrajectoryFilterP5.minimumNumberOfHits =  4
0046 #
0047 ##CTF_P5_MeasurementTracker.ComponentName = 'CTF_P5' # useless duplication of MeasurementTracker
0048 GroupedCkfTrajectoryBuilderP5 = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
0049     trajectoryFilter = dict(refToPSet_ = 'ckfBaseTrajectoryFilterP5'),
0050     maxCand = 1,
0051     estimator = 'Chi2MeasurementEstimatorForP5'
0052 )