CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/Tracking/python/IterativeLowPtTripletStep_cff.py

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