00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from FastSimulation.Tracking.GlobalPixelSeedProducer_cff import *
00005 from FastSimulation.Tracking.GlobalPixelSeedProducerForElectrons_cff import *
00006
00007
00008 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00009
00010 globalPixelTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00011 globalPixelTrackCandidates.SeedProducer = cms.InputTag("globalPixelSeeds","GlobalPixel")
00012
00013 globalPixelTrackCandidatesForElectrons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00014 globalPixelTrackCandidatesForElectrons.SeedProducer = cms.InputTag("globalPixelSeedsForElectrons","GlobalPixel")
00015 globalPixelTrackCandidatesForElectrons.TrackProducers = ['globalPixelWithMaterialTracks']
00016
00017 globalPixelTrackCandidatesForPhotons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00018 globalPixelTrackCandidatesForPhotons.SeedProducer = cms.InputTag("globalPixelSeedsForPhotons","GlobalPixel")
00019 globalPixelTrackCandidatesForPhotons.TrackProducers = ['globalPixelWithMaterialTracks']
00020
00021
00022 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00023
00024 globalPixelWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00025 globalPixelWithMaterialTracks.src = 'globalPixelTrackCandidates'
00026 globalPixelWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00027 globalPixelWithMaterialTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
00028 globalPixelWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00029 globalPixelWithMaterialTracks.TrajectoryInEvent = cms.bool(True)
00030
00031 globalPixelWithMaterialTracksForElectrons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00032 globalPixelWithMaterialTracksForElectrons.src = 'globalPixelTrackCandidatesForElectrons'
00033 globalPixelWithMaterialTracksForElectrons.TTRHBuilder = 'WithoutRefit'
00034 globalPixelWithMaterialTracksForElectrons.Fitter = 'KFFittingSmootherWithOutlierRejection'
00035 globalPixelWithMaterialTracksForElectrons.Propagator = 'PropagatorWithMaterial'
00036 globalPixelWithMaterialTracksForElectrons.TrajectoryInEvent = cms.bool(True)
00037
00038 globalPixelWithMaterialTracksForPhotons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00039 globalPixelWithMaterialTracksForPhotons.src = 'globalPixelTrackCandidatesForElectrons'
00040 globalPixelWithMaterialTracksForPhotons.TTRHBuilder = 'WithoutRefit'
00041 globalPixelWithMaterialTracksForPhotons.Fitter = 'KFFittingSmootherWithOutlierRejection'
00042 globalPixelWithMaterialTracksForPhotons.Propagator = 'PropagatorWithMaterial'
00043 globalPixelWithMaterialTracksForPhotons.TrajectoryInEvent = cms.bool(True)
00044
00045
00046 globalPixelTracking = cms.Sequence(globalPixelSeeds*
00047 globalPixelTrackCandidates*
00048 globalPixelWithMaterialTracks*
00049 globalPixelSeedsForPhotons*
00050 globalPixelTrackCandidatesForPhotons*
00051 globalPixelWithMaterialTracksForPhotons*
00052 globalPixelSeedsForElectrons*
00053 globalPixelTrackCandidatesForElectrons*
00054 globalPixelWithMaterialTracksForElectrons)