CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/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 layers
00006 #import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi
00007 #initialLayerList = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.pixellayertriplets.clone(
00008 #    ComponentName = 'initialLayerList'
00009 #    )
00010 
00011 # seeding
00012 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
00013 iterativeInitialSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
00014 iterativeInitialSeeds.firstHitSubDetectorNumber = [1]
00015 iterativeInitialSeeds.firstHitSubDetectors = [1]
00016 iterativeInitialSeeds.secondHitSubDetectorNumber = [2]
00017 iterativeInitialSeeds.secondHitSubDetectors = [1, 2]
00018 iterativeInitialSeeds.thirdHitSubDetectorNumber = [2]
00019 iterativeInitialSeeds.thirdHitSubDetectors = [1, 2]
00020 iterativeInitialSeeds.seedingAlgo = ['InitialPixelTriplets']
00021 iterativeInitialSeeds.minRecHits = [3] 
00022 iterativeInitialSeeds.pTMin = [0.3]
00023 iterativeInitialSeeds.maxD0 = [1.]
00024 iterativeInitialSeeds.maxZ0 = [30.]
00025 iterativeInitialSeeds.numberOfHits = [3]
00026 iterativeInitialSeeds.originRadius = [1.0] # note: standard Tracking uses 0.03, but this value gives a much better agreement in rate and shape for iter0
00027 iterativeInitialSeeds.originHalfLength = [15.9] 
00028 iterativeInitialSeeds.originpTMin = [0.6] 
00029 iterativeInitialSeeds.zVertexConstraint = [-1.0]
00030 iterativeInitialSeeds.primaryVertices = ['none']
00031 # new (AG)
00032 iterativeInitialSeeds.newSyntax = False
00033 iterativeInitialSeeds.layerList = ['BPix1+BPix2+BPix3',
00034                                    'BPix1+BPix2+FPix1_pos',
00035                                    'BPix1+BPix2+FPix1_neg',
00036                                    'BPix1+FPix1_pos+FPix2_pos',
00037                                    'BPix1+FPix1_neg+FPix2_neg']
00038 
00039 # candidate producer
00040 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00041 iterativeInitialTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00042 iterativeInitialTrackCandidates.SeedProducer = cms.InputTag("iterativeInitialSeeds","InitialPixelTriplets")
00043 iterativeInitialTrackCandidates.TrackProducers = ['globalPixelWithMaterialTracks']
00044 iterativeInitialTrackCandidates.MinNumberOfCrossedLayers = 3
00045 
00046 # track producer
00047 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00048 iterativeInitialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00049 iterativeInitialTracks.src = 'iterativeInitialTrackCandidates'
00050 iterativeInitialTracks.TTRHBuilder = 'WithoutRefit'
00051 iterativeInitialTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
00052 iterativeInitialTracks.Propagator = 'PropagatorWithMaterial'
00053 
00054 # track merger
00055 initialStepTracks = cms.EDProducer("FastTrackMerger",
00056                                    TrackProducers = cms.VInputTag(cms.InputTag("iterativeInitialTrackCandidates"),
00057                                                                   cms.InputTag("iterativeInitialTracks")),
00058                                    trackAlgo = cms.untracked.uint32(4) # iter0
00059                                    )
00060 
00061 # Final selection
00062 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
00063 initialStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
00064         src='initialStepTracks',
00065         trackSelectors= cms.VPSet(
00066             RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00067                 name = 'initialStepLoose',
00068                             ), #end of pset
00069                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00070                 name = 'initialStepTight',
00071                             preFilterName = 'initialStepLoose',
00072                             ),
00073                     RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00074                 name = 'initialStep',
00075                             preFilterName = 'initialStepTight',
00076                             ),
00077             ) #end of vpset
00078         ) #end of clone
00079 
00080 
00081 # Final sequence
00082 iterativeInitialStep = cms.Sequence(iterativeInitialSeeds
00083                                     +iterativeInitialTrackCandidates
00084                                     +iterativeInitialTracks
00085                                     +initialStepTracks
00086                                     +initialStepSelector)
00087 
00088