00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from recoLocalTracker.Configuration.RecoLocalTracker_cff import *
00005 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import *
00006
00007 from RecoPixelVertexing.PixelLowPtUtilities.common_cff import *
00008 from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import *
00009 from RecoHI.HiTracking.PixelProtoTracks_cfi import *
00010 import RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi
00011 pixel3PrimTracks = RecoPixelVertexing.PixelLowPtUtilities.AllPixelTracks_cfi.allPixelTracks.clone()
00012 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
00013 primSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone()
00014 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
00015 primTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
00016 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00017 globalPrimTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00018 from RecoVZero.VZeroFinding.VZeros_cff import *
00019 pixelVertices = cms.EDProducer("PixelVertexProducerMedian",
00020 TrackCollection = cms.string("pixel3ProtoTracks"),
00021 PtMin = cms.double(0.5)
00022 )
00023 firstStep = cms.Sequence(pixel3ProtoTracks*pixelVertices*pixel3PrimTracks*primSeeds*primTrackCandidates*globalPrimTracks)
00024 heavyIonTracking = cms.Sequence(firstStep)
00025
00026 esprefRHProd = cms.ESPrefer("TkTransientTrackingRecHitBuilderESProducer","myBuilder")
00027
00028 pixel3ProtoTracks.RegionFactoryPSet.ComponentName = "HITrackingRegionProducer"
00029 pixel3ProtoTracks.passLabel = 'Pixel triplet tracks for vertexing'
00030 pixel3ProtoTracks.RegionFactoryPSet.RegionPSet.ptMin = 0.5
00031 pixel3ProtoTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.1
00032 pixel3PrimTracks.passLabel = 'Pixel triplet tracks with vertex constraint'
00033 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.useFoundVertices = True
00034 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.VertexCollection = 'pixelVertices'
00035 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.fixedError = 0.2
00036 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.ptMin = 0.5
00037 pixel3PrimTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.2
00038 primSeeds.tripletList = ['pixel3PrimTracks']
00039 primTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedSeeds'
00040 primTrackCandidates.SeedProducer = 'primSeeds'
00041 primTrackCandidates.RedundantSeedCleaner = 'none'
00042 globalPrimTracks.src = 'primTrackCandidates'
00043 globalPrimTracks.TrajectoryInEvent = True
00044
00045
00046 hiTrackingWithOfflineBeamSpot = cms.Sequence(offlineBeamSpot*trackerlocalreco*heavyIonTracking)
00047