00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff import * 00004 from RecoTracker.TransientTrackingRecHit.TTRHBuilders_cff import * 00005 00006 00007 # seeding 00008 from RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cff import * 00009 from RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff import * 00010 from RecoTracker.TkSeedGenerator.GlobalSeedsFromTripletsWithVertices_cff import * 00011 from RecoTracker.TkSeedGenerator.GlobalMixedSeeds_cff import * 00012 from RecoTracker.TkSeedGenerator.GlobalPixelSeeds_cff import * 00013 00014 import RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cfi 00015 newSeedFromPairs = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cfi.globalSeedsFromPairsWithVertices.clone() 00016 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTripletsWithVertices_cfi 00017 newSeedFromTriplets = RecoTracker.TkSeedGenerator.GlobalSeedsFromTripletsWithVertices_cfi.globalSeedsFromTripletsWithVertices.clone() 00018 import RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi 00019 newCombinedSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone() 00020 00021 newSeedFromPairs.RegionFactoryPSet.RegionPSet.ptMin = 0.9 00022 newSeedFromTriplets.RegionFactoryPSet.RegionPSet.ptMin = 0.5 00023 newCombinedSeeds.PairCollection = 'newSeedFromPairs' 00024 newCombinedSeeds.TripletCollection = 'newSeedFromTriplets' 00025 00026 # building 00027 from RecoTracker.RoadSearchTrackCandidateMaker.RoadSearchTrackCandidates_cff import * 00028 from RecoTracker.CkfPattern.CkfTrackCandidates_cff import * 00029 00030 import TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi 00031 newTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilterESProducer_cfi.trajectoryFilterESProducer.clone() 00032 00033 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi 00034 newTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilderESProducer_cfi.GroupedCkfTrajectoryBuilder.clone() 00035 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi 00036 newTrackCandidateMaker = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone() 00037 00038 newTrajectoryFilter.ComponentName = 'newTrajectoryFilter' 00039 newTrajectoryFilter.filterPset.minimumNumberOfHits = 3 00040 newTrajectoryFilter.filterPset.minPt = 0.3 00041 00042 newTrajectoryBuilder.ComponentName = 'newTrajectoryBuilder' 00043 newTrajectoryBuilder.trajectoryFilterName = 'newTrajectoryFilter' 00044 00045 newTrackCandidateMaker.SeedProducer = 'newCombinedSeeds' 00046 newTrackCandidateMaker.TrajectoryBuilder = 'newTrajectoryBuilder' 00047 00048 # fitting 00049 from RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff import * 00050 00051 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi 00052 preFilterFirstStepTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00053 preFilterFirstStepTracks.src = 'newTrackCandidateMaker' 00054 preFilterFirstStepTracks.Fitter = 'KFFittingSmootherWithOutliersRejectionAndRK' 00055 preFilterFirstStepTracks.AlgorithmName = 'ctf' 00056 00057 # Iterative steps 00058 from RecoTracker.IterativeTracking.iterativeTk_cff import * 00059 00060 00061 # RS 00062 from RecoTracker.RoadSearchSeedFinder.RoadSearchSeeds_cff import * 00063 from RecoTracker.RoadSearchCloudMaker.RoadSearchClouds_cff import * 00064 from RecoTracker.TrackProducer.RSFinalFitWithMaterial_cff import * 00065 00066 00067 # track collection filtering 00068 from RecoTracker.FinalTrackSelectors.TracksWithQuality_cff import * 00069 from RecoTracker.FinalTrackSelectors.MergeTrackCollections_cff import * 00070 00071 00072 newTracking = cms.Sequence(newSeedFromPairs*newSeedFromTriplets*newCombinedSeeds* 00073 newTrackCandidateMaker* 00074 preFilterFirstStepTracks* 00075 tracksWithQuality) 00076 00077 ckftracks = cms.Sequence(newTracking* 00078 iterTracking* 00079 trackCollectionMerging) 00080 00081 rstracks = cms.Sequence(roadSearchSeeds* 00082 roadSearchClouds*rsTrackCandidates* 00083 rsWithMaterialTracks) 00084 00085 00086