CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/FastSimulation/Tracking/python/IterativePixelPairStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # step 1
00004 
00005 # seeding
00006 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
00007 iterativePixelPairSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
00008 iterativePixelPairSeeds.firstHitSubDetectorNumber = [2]
00009 iterativePixelPairSeeds.firstHitSubDetectors = [1, 2]
00010 iterativePixelPairSeeds.secondHitSubDetectorNumber = [2]
00011 iterativePixelPairSeeds.secondHitSubDetectors = [1, 2]
00012 iterativePixelPairSeeds.thirdHitSubDetectorNumber = [2]
00013 iterativePixelPairSeeds.thirdHitSubDetectors = [1, 2]
00014 iterativePixelPairSeeds.seedingAlgo = ['PixelPair']
00015 iterativePixelPairSeeds.minRecHits = [3]
00016 iterativePixelPairSeeds.pTMin = [0.3]
00017 iterativePixelPairSeeds.maxD0 = [5.]
00018 iterativePixelPairSeeds.maxZ0 = [50.]
00019 iterativePixelPairSeeds.numberOfHits = [2]
00020 iterativePixelPairSeeds.originRadius = [0.2]
00021 iterativePixelPairSeeds.originHalfLength = [17.5] 
00022 iterativePixelPairSeeds.originpTMin = [0.6]
00023 iterativePixelPairSeeds.zVertexConstraint = [-1.0]
00024 iterativePixelPairSeeds.primaryVertices = ['pixelVertices']
00025 
00026 # candidate producer
00027 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00028 iterativePixelPairCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00029 iterativePixelPairCandidates.SeedProducer = cms.InputTag("iterativePixelPairSeeds","PixelPair")
00030 iterativePixelPairCandidates.TrackProducers = ['lowPtTripletStepTracks']
00031 iterativePixelPairCandidates.KeepFittedTracks = False
00032 iterativePixelPairCandidates.MinNumberOfCrossedLayers = 2 # ?
00033 
00034 # track producer
00035 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00036 iterativePixelPairTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00037 iterativePixelPairTracks.src = 'iterativePixelPairCandidates'
00038 iterativePixelPairTracks.TTRHBuilder = 'WithoutRefit'
00039 iterativePixelPairTracks.Fitter = 'KFFittingSmootherSecond'
00040 iterativePixelPairTracks.Propagator = 'PropagatorWithMaterial'
00041 
00042 # track merger
00043 pixelPairStepTracks = cms.EDProducer("FastTrackMerger",
00044                                      TrackProducers = cms.VInputTag(cms.InputTag("iterativePixelPairCandidates"),
00045                                                                     cms.InputTag("iterativePixelPairTracks")),
00046                                      RemoveTrackProducers =  cms.untracked.VInputTag(cms.InputTag("initialStepTracks"),
00047                                                                                      cms.InputTag("lowPtTripletStepTracks")),
00048                                      trackAlgo = cms.untracked.uint32(6), # iter2
00049                                      MinNumberOfTrajHits = cms.untracked.uint32(3),
00050                                      MaxLostTrajHits = cms.untracked.uint32(1)
00051                                      )
00052 
00053 # Final selection
00054 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00055 pixelPairStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00056         src='pixelPairStepTracks',
00057             trackSelectors= cms.VPSet(
00058             RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00059                 name = 'pixelPairStepLoose',
00060                             ), #end of pset
00061                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00062                 name = 'pixelPairStepTight',
00063                             preFilterName = 'pixelPairStepLoose',
00064                             ),
00065                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00066                 name = 'pixelPairStep',
00067                             preFilterName = 'pixelPairStepTight',
00068                             ),
00069                     ) #end of vpset
00070             ) #end of clone
00071 
00072 # sequence
00073 iterativePixelPairStep = cms.Sequence(iterativePixelPairSeeds+
00074                                       iterativePixelPairCandidates+
00075                                       iterativePixelPairTracks+
00076                                       pixelPairStepTracks+
00077                                       pixelPairStepSelector)
00078 
00079