CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # step 4
00004 
00005 # seeding
00006 #from FastSimulation.Tracking.IterativeFourthSeedProducer_cff import *
00007 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
00008 iterativePixelLessSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
00009 iterativePixelLessSeeds.firstHitSubDetectorNumber = [3]
00010 iterativePixelLessSeeds.firstHitSubDetectors = [3, 4, 6]
00011 iterativePixelLessSeeds.secondHitSubDetectorNumber = [3]
00012 iterativePixelLessSeeds.secondHitSubDetectors = [3, 4, 6]
00013 iterativePixelLessSeeds.thirdHitSubDetectorNumber = [0]
00014 iterativePixelLessSeeds.thirdHitSubDetectors = []
00015 iterativePixelLessSeeds.seedingAlgo = ['PixelLessPairs']
00016 ###iterativePixelLessSeeds.minRecHits = [5]
00017 iterativePixelLessSeeds.minRecHits = [3]
00018 iterativePixelLessSeeds.pTMin = [0.3]
00019 #cut on fastsim simtracks. I think it should be removed for the 4th step
00020 #iterativePixelLessSeeds.maxD0 = [20.]
00021 #iterativePixelLessSeeds.maxZ0 = [50.]
00022 iterativePixelLessSeeds.maxD0 = [99.]
00023 iterativePixelLessSeeds.maxZ0 = [99.]
00024 #-----
00025 iterativePixelLessSeeds.numberOfHits = [2]
00026 #values for the seed compatibility constraint
00027 iterativePixelLessSeeds.originRadius = [2.0]
00028 iterativePixelLessSeeds.originHalfLength = [10.0]
00029 iterativePixelLessSeeds.originpTMin = [0.6] # was 0.5
00030 iterativePixelLessSeeds.zVertexConstraint = [-1.0]
00031 iterativePixelLessSeeds.primaryVertices = ['none']
00032 
00033 # candidate producer
00034 #from FastSimulation.Tracking.IterativeFourthCandidateProducer_cff import *
00035 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00036 iterativePixelLessTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00037 iterativePixelLessTrackCandidates.SeedProducer = cms.InputTag("iterativePixelLessSeeds","PixelLessPairs")
00038 iterativePixelLessTrackCandidates.TrackProducers = ['initialStepTracks', 'lowPtTripletStepTracks', 'pixelPairStepTracks', 'detachedTripletStepTracks','mixedTripletStepTracks'] # add 0 and 0.5 ?
00039 iterativePixelLessTrackCandidates.KeepFittedTracks = False
00040 iterativePixelLessTrackCandidates.MinNumberOfCrossedLayers = 6 # was 5
00041 
00042 
00043 # track producer
00044 #from FastSimulation.Tracking.IterativeFourthTrackProducer_cff import *
00045 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00046 iterativePixelLessTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00047 iterativePixelLessTracks.src = 'iterativePixelLessTrackCandidates'
00048 iterativePixelLessTracks.TTRHBuilder = 'WithoutRefit'
00049 ##iterativePixelLessTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
00050 iterativePixelLessTracks.Fitter = 'KFFittingSmootherFourth'
00051 iterativePixelLessTracks.Propagator = 'PropagatorWithMaterial'
00052 
00053 
00054 # track merger
00055 #from FastSimulation.Tracking.IterativeFourthTrackMerger_cfi import *
00056 pixelLessStepTracks = cms.EDProducer("FastTrackMerger",
00057                                      TrackProducers = cms.VInputTag(cms.InputTag("iterativePixelLessTrackCandidates"),
00058                                                                     cms.InputTag("iterativePixelLessTracks")),
00059                                      RemoveTrackProducers =  cms.untracked.VInputTag(cms.InputTag("initialStepTracksr"),
00060                                                                                      cms.InputTag("lowPtTripletStepTracks"),   
00061                                                                                      cms.InputTag("pixelPairStepTracks"),   
00062                                                                                      cms.InputTag("detachedTripletStepTracks"),     
00063                                                                                      cms.InputTag("mixedTripletStepTracks")),     
00064                                      trackAlgo = cms.untracked.uint32(9),
00065                                      MinNumberOfTrajHits = cms.untracked.uint32(6), # was 5
00066                                      MaxLostTrajHits = cms.untracked.uint32(0)
00067                                      )
00068 
00069 # track selection
00070 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00071 pixelLessStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00072         src='pixelLessStepTracks',
00073             trackSelectors= cms.VPSet(
00074             RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00075                 name = 'pixelLessStepLoose',
00076                             chi2n_par = 0.5,
00077                             res_par = ( 0.003, 0.001 ),
00078                             minNumberLayers = 5,
00079                             maxNumberLostLayers = 1,
00080                             minNumber3DLayers = 3,
00081                             d0_par1 = ( 1.5, 4.0 ),
00082                             dz_par1 = ( 1.5, 4.0 ),
00083                             d0_par2 = ( 1.5, 4.0 ),
00084                             dz_par2 = ( 1.5, 4.0 )
00085                             ),
00086                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00087                 name = 'pixelLessStepTight',
00088                             preFilterName = 'pixelLessStepLoose',
00089                             chi2n_par = 0.35,
00090                             res_par = ( 0.003, 0.001 ),
00091                             minNumberLayers = 5,
00092                             maxNumberLostLayers = 0,
00093                             minNumber3DLayers = 3,
00094                             d0_par1 = ( 1.2, 4.0 ),
00095                             dz_par1 = ( 1.2, 4.0 ),
00096                             d0_par2 = ( 1.2, 4.0 ),
00097                             dz_par2 = ( 1.2, 4.0 )
00098                             ),
00099                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00100                 name = 'pixelLessStep',
00101                             preFilterName = 'pixelLessStepTight',
00102                             chi2n_par = 0.25,
00103                             res_par = ( 0.003, 0.001 ),
00104                             minNumberLayers = 5,
00105                             maxNumberLostLayers = 0,
00106                             minNumber3DLayers = 3,
00107                             d0_par1 = ( 1., 4.0 ),
00108                             dz_par1 = ( 1., 4.0 ),
00109                             d0_par2 = ( 1., 4.0 ),
00110                             dz_par2 = ( 1., 4.0 )
00111                             ),
00112                     ) #end of vpset
00113             ) #end of clone
00114 
00115 
00116 # sequence
00117 iterativePixelLessStep = cms.Sequence(iterativePixelLessSeeds+
00118                                       iterativePixelLessTrackCandidates+
00119                                       iterativePixelLessTracks+
00120                                       pixelLessStepTracks+
00121                                       pixelLessStepSelector)
00122