CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
00004 ################################### 5th step: large impact parameter tracking using TIB/TID/TEC stereo layer seeding
00005 
00006 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00007 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
00008 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
00009 
00010 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex      = True
00011 
00012 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
00013 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed      = 0.2
00014 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed      = 0.2
00015 
00016 ###################################
00017 from RecoTracker.IterativeTracking.PixelLessStep_cff import *
00018 
00019 # remove previously used clusters
00020 hiRegitMuPixelLessStepClusters = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepClusters.clone(
00021     oldClusterRemovalInfo = cms.InputTag("hiRegitMuMixedTripletStepClusters"),
00022     trajectories     = cms.InputTag("hiRegitMuMixedTripletStepTracks"),
00023     overrideTrkQuals = cms.InputTag('hiRegitMuMixedTripletStep'),
00024 )
00025 
00026 # SEEDING LAYERS
00027 hiRegitMuPixelLessStepSeedLayers =  RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone(
00028     ComponentName = 'hiRegitMuPixelLessStepSeedLayers',
00029     )
00030 hiRegitMuPixelLessStepSeedLayers.TIB.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
00031 hiRegitMuPixelLessStepSeedLayers.TID.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
00032 hiRegitMuPixelLessStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
00033 
00034 
00035 # seeding
00036 hiRegitMuPixelLessStepSeeds     = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeeds.clone()
00037 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
00038 hiRegitMuPixelLessStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00039 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt        = 1.5
00040 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR          = 2.0 # default = 0.2
00041 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region   = 10. # this give you the length 
00042 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz      = 0. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
00043 hiRegitMuPixelLessStepSeeds.OrderedHitsFactoryPSet.SeedingLayers                        = 'hiRegitMuPixelLessStepSeedLayers'
00044 
00045 
00046 # building: feed the new-named seeds
00047 hiRegitMuPixelLessStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryFilter.clone(
00048     ComponentName        = 'hiRegitMuPixelLessStepTrajectoryFilter'
00049     )
00050 hiRegitMuPixelLessStepTrajectoryFilter.filterPset.minPt              = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00051 
00052 hiRegitMuPixelLessStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryBuilder.clone(
00053     ComponentName        = 'hiRegitMuPixelLessStepTrajectoryBuilder',
00054     trajectoryFilterName = 'hiRegitMuPixelLessStepTrajectoryFilter',
00055     clustersToSkip = cms.InputTag('hiRegitMuPixelLessStepClusters'),
00056 )
00057 
00058 hiRegitMuPixelLessStepTrackCandidates        =  RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrackCandidates.clone(
00059     src               = cms.InputTag('hiRegitMuPixelLessStepSeeds'),
00060     TrajectoryBuilder = 'hiRegitMuPixelLessStepTrajectoryBuilder'
00061     )
00062 
00063 # fitting: feed new-names
00064 hiRegitMuPixelLessStepTracks                 = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTracks.clone(
00065     src                 = 'hiRegitMuPixelLessStepTrackCandidates'
00066 )
00067 
00068 
00069 hiRegitMuPixelLessStepSelector               = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSelector.clone( 
00070     src                 ='hiRegitMuPixelLessStepTracks',
00071     vertices            = cms.InputTag("hiSelectedVertex"),
00072     trackSelectors = cms.VPSet(  
00073         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00074             name = 'hiRegitMuPixelLessStepLoose',
00075             chi2n_par = 0.5,
00076             res_par = ( 0.003, 0.001 ),
00077             minNumberLayers = 5,
00078             maxNumberLostLayers = 1,
00079             minNumber3DLayers = 3,
00080             d0_par1 = ( 1.5, 4.0 ),
00081             dz_par1 = ( 1.5, 4.0 ),
00082             d0_par2 = ( 1.5, 4.0 ),
00083             dz_par2 = ( 1.5, 4.0 )
00084             ),
00085         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00086             name = 'hiRegitMuPixelLessStepTight',
00087             preFilterName = 'hiRegitMuPixelLessStepLoose',
00088             chi2n_par = 0.35,
00089             res_par = ( 0.003, 0.001 ),
00090             minNumberLayers = 5,
00091             maxNumberLostLayers = 0,
00092             minNumber3DLayers = 3,
00093             d0_par1 = ( 1.2, 4.0 ),
00094             dz_par1 = ( 1.2, 4.0 ),
00095             d0_par2 = ( 1.2, 4.0 ),
00096             dz_par2 = ( 1.2, 4.0 )
00097             ),
00098         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00099             name = 'hiRegitMuPixelLessStep',
00100             preFilterName = 'hiRegitMuPixelLessStepTight',
00101             chi2n_par = 0.25,
00102             res_par = ( 0.003, 0.001 ),
00103             minNumberLayers = 5,
00104             maxNumberLostLayers = 0,
00105             minNumber3DLayers = 3,
00106             d0_par1 = ( 1., 4.0 ),
00107             dz_par1 = ( 1., 4.0 ),
00108             d0_par2 = ( 1., 4.0 ),
00109             dz_par2 = ( 1., 4.0 )
00110             ),
00111         ) #end of vpset
00112 
00113     )
00114 
00115 hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuPixelLessStepClusters*
00116                                         hiRegitMuPixelLessStepSeeds*
00117                                         hiRegitMuPixelLessStepTrackCandidates*
00118                                         hiRegitMuPixelLessStepTracks*
00119                                         hiRegitMuPixelLessStepSelector)
00120 
00121 
00122