00001 import FWCore.ParameterSet.Config as cms 00002 00003 from TrackingTools.TrackFitters.KFTrajectoryFitterESProducer_cfi import * 00004 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import * 00005 00006 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cff import * 00007 # Pattern Recognition and Fit 00008 from RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff import * 00009 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import * 00010 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import * 00011 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi 00012 #FILTER 00013 nuclearCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone() 00014 import RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi 00015 #TRAJECTORY BUILDER 00016 nuclearCkfTrajectoryBuilder = RecoTracker.CkfPattern.CkfTrajectoryBuilderESProducer_cfi.CkfTrajectoryBuilder.clone() 00017 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi 00018 #TRACK CANDIDATES 00019 nuclearTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone() 00020 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi 00021 #TRACKS 00022 nuclearWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00023 from RecoTracker.NuclearSeedGenerator.NuclearSeed_cfi import * 00024 from RecoVertex.NuclearInteractionProducer.NuclearInteraction_cfi import * 00025 from RecoTracker.NuclearSeedGenerator.NuclearTrackCorrector_cfi import * 00026 nuclear_interaction = cms.Sequence(nuclearSeed*nuclearTrackCandidates*nuclearWithMaterialTracks*nuclearInteractionMaker) 00027 nuclear_interaction_and_correction = cms.Sequence(nuclear_interaction*TrackCorrector) 00028 nuclearCkfTrajectoryFilter.ComponentName = 'nuclearCkfTrajectoryFilter' 00029 nuclearCkfTrajectoryFilter.filterPset.minPt = 0.3 00030 nuclearCkfTrajectoryFilter.filterPset.maxLostHits = 1 00031 nuclearCkfTrajectoryFilter.filterPset.minimumNumberOfHits = 3 00032 nuclearCkfTrajectoryBuilder.ComponentName = 'nuclearCkfTrajectoryBuilder' 00033 nuclearCkfTrajectoryBuilder.trajectoryFilterName = 'nuclearCkfTrajectoryFilter' 00034 nuclearCkfTrajectoryBuilder.alwaysUseInvalidHits = False 00035 nuclearTrackCandidates.SeedProducer = 'nuclearSeed' 00036 nuclearTrackCandidates.TrajectoryBuilder = 'nuclearCkfTrajectoryBuilder' 00037 nuclearTrackCandidates.RedundantSeedCleaner = 'none' 00038 nuclearWithMaterialTracks.src = 'nuclearTrackCandidates' 00039 #FittingSmootherRK.MinNumberOfHits = 3 00040