CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiMuonAlgos/python/HiRegitMuonPixelPairStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ################################################################################### 
00004 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
00005 ################################### 2nd step: pixel pairs
00006 
00007 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00008 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
00009 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
00010 
00011 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex      = True
00012 
00013 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
00014 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed      = 0.2
00015 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed      = 0.2
00016 
00017 
00018 ###################################
00019 from RecoTracker.IterativeTracking.PixelPairStep_cff import *
00020 
00021 # NEW CLUSTERS (remove previously used clusters)
00022 hiRegitMuPixelPairStepClusters = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepClusters.clone(
00023     oldClusterRemovalInfo = cms.InputTag("hiRegitMuLowPtTripletStepClusters"),
00024     trajectories = cms.InputTag("hiRegitMuLowPtTripletStepTracks"),
00025     overrideTrkQuals = cms.InputTag('hiRegitMuLowPtTripletStepSelector','hiRegitMuLowPtTripletStep'),
00026 )
00027 
00028 
00029 # SEEDING LAYERS
00030 hiRegitMuPixelPairStepSeedLayers =  RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedLayers.clone(
00031     ComponentName = 'hiRegitMuPixelPairStepSeedLayers'
00032     )
00033 hiRegitMuPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')
00034 hiRegitMuPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuPixelPairStepClusters')
00035 
00036 
00037 
00038 # seeding
00039 hiRegitMuPixelPairStepSeeds     = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone()
00040 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
00041 hiRegitMuPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00042 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt        = 1.5
00043 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR          = 0.01 # default = 0.2
00044 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region   = 0.03 # this give you the length 
00045 hiRegitMuPixelPairStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz      = 0. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
00046 hiRegitMuPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuPixelPairStepSeedLayers'
00047 
00048 
00049 # building: feed the new-named seeds
00050 hiRegitMuPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone(
00051     ComponentName    = 'hiRegitMuPixelPairStepTrajectoryFilter'
00052     )
00053 hiRegitMuPixelPairStepTrajectoryFilter.filterPset.minPt = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00054 
00055 hiRegitMuPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
00056     ComponentName        = 'hiRegitMuPixelPairStepTrajectoryBuilder',
00057     trajectoryFilterName = 'hiRegitMuPixelPairStepTrajectoryFilter',
00058     clustersToSkip       = cms.InputTag('hiRegitMuPixelPairStepClusters'),
00059 )
00060 
00061 # trackign candidate
00062 hiRegitMuPixelPairStepTrackCandidates        =  RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
00063     src               = cms.InputTag('hiRegitMuPixelPairStepSeeds'),
00064     TrajectoryBuilder = 'hiRegitMuPixelPairStepTrajectoryBuilder'
00065     )
00066 
00067 # fitting: feed new-names
00068 hiRegitMuPixelPairStepTracks                 = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
00069     src                 = 'hiRegitMuPixelPairStepTrackCandidates'
00070 )
00071 
00072 
00073 hiRegitMuPixelPairStepSelector               = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSelector.clone( 
00074     src                 ='hiRegitMuPixelPairStepTracks',
00075     vertices            = cms.InputTag("hiSelectedVertex"),
00076     trackSelectors= cms.VPSet(
00077         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00078             name = 'hiRegitMuPixelPairStepLoose',
00079             ), #end of pset
00080         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00081             name = 'hiRegitMuPixelPairStepTight',
00082             preFilterName = 'hiRegitMuPixelPairStepLoose',
00083             ),
00084         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00085             name = 'hiRegitMuPixelPairStep',
00086             preFilterName = 'hiRegitMuPixelPairStepTight',
00087             ),
00088         ) #end of vpset
00089 )
00090 
00091 hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
00092                                         hiRegitMuPixelPairStepSeeds*
00093                                         hiRegitMuPixelPairStepTrackCandidates*
00094                                         hiRegitMuPixelPairStepTracks*
00095                                         hiRegitMuPixelPairStepSelector)