CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/FastSimulation/Tracking/python/IterativeInitialStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ### STEP 0 ###
00004 
00005 # seeding
00006 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
00007 iterativeInitialSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
00008 iterativeInitialSeeds.firstHitSubDetectorNumber = [1]
00009 iterativeInitialSeeds.firstHitSubDetectors = [1]
00010 iterativeInitialSeeds.secondHitSubDetectorNumber = [2]
00011 iterativeInitialSeeds.secondHitSubDetectors = [1, 2]
00012 iterativeInitialSeeds.thirdHitSubDetectorNumber = [2]
00013 iterativeInitialSeeds.thirdHitSubDetectors = [1, 2]
00014 iterativeInitialSeeds.seedingAlgo = ['InitialPixelTriplets']
00015 iterativeInitialSeeds.minRecHits = [3] 
00016 iterativeInitialSeeds.pTMin = [0.3]
00017 iterativeInitialSeeds.maxD0 = [1.]
00018 iterativeInitialSeeds.maxZ0 = [30.]
00019 iterativeInitialSeeds.numberOfHits = [3]
00020 iterativeInitialSeeds.originRadius = [1.0] # note: standard tracking uses 0.03, but this value gives a much better agreement in rate and shape for iter0
00021 iterativeInitialSeeds.originHalfLength = [15.9] 
00022 iterativeInitialSeeds.originpTMin = [0.6] 
00023 iterativeInitialSeeds.zVertexConstraint = [-1.0]
00024 iterativeInitialSeeds.primaryVertices = ['none']
00025 
00026 # candidate producer
00027 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00028 iterativeInitialTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00029 iterativeInitialTrackCandidates.SeedProducer = cms.InputTag("iterativeInitialSeeds","InitialPixelTriplets")
00030 iterativeInitialTrackCandidates.TrackProducers = ['globalPixelWithMaterialTracks']
00031 iterativeInitialTrackCandidates.MinNumberOfCrossedLayers = 3
00032 
00033 # track producer
00034 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00035 iterativeInitialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00036 iterativeInitialTracks.src = 'iterativeInitialTrackCandidates'
00037 iterativeInitialTracks.TTRHBuilder = 'WithoutRefit'
00038 iterativeInitialTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
00039 iterativeInitialTracks.Propagator = 'PropagatorWithMaterial'
00040 
00041 # track merger
00042 initialStepTracks = cms.EDProducer("FastTrackMerger",
00043                                    TrackProducers = cms.VInputTag(cms.InputTag("iterativeInitialTrackCandidates"),
00044                                                                   cms.InputTag("iterativeInitialTracks")),
00045                                    trackAlgo = cms.untracked.uint32(4) # iter0
00046                                    )
00047 
00048 # Final selection
00049 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00050 initialStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00051         src='initialStepTracks',
00052         trackSelectors= cms.VPSet(
00053             RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00054                 name = 'initialStepLoose',
00055                             ), #end of pset
00056                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00057                 name = 'initialStepTight',
00058                             preFilterName = 'initialStepLoose',
00059                             ),
00060                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00061                 name = 'initialStep',
00062                             preFilterName = 'initialStepTight',
00063                             ),
00064             ) #end of vpset
00065         ) #end of clone
00066 
00067 
00068 # Final sequence
00069 iterativeInitialStep = cms.Sequence(iterativeInitialSeeds
00070                                     +iterativeInitialTrackCandidates
00071                                     +iterativeInitialTracks
00072                                     +initialStepTracks
00073                                     +initialStepSelector)
00074 
00075