CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiMuonAlgos/python/HiRegitMuonTobTecStep_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 ################################### 6th step: very large impact parameter trackng using TOB+TEC ring 5 seeding --pair
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.TobTecStep_cff import *
00018 
00019 # remove previously used clusters
00020 hiRegitMuTobTecStepClusters = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepClusters.clone(
00021     oldClusterRemovalInfo = cms.InputTag("hiRegitMuPixelLessStepClusters"),
00022     trajectories     = cms.InputTag("hiRegitMuPixelLessStepTracks"),
00023     overrideTrkQuals = cms.InputTag('hiRegitMuPixelLessStepSelector','hiRegitMuPixelLessStep')
00024 )
00025 
00026 # SEEDING LAYERS
00027 hiRegitMuTobTecStepSeedLayers =  RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedLayers.clone(
00028     ComponentName    = cms.string('hiRegitMuTobTecStepSeedLayers'),
00029      )
00030 hiRegitMuTobTecStepSeedLayers.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
00031 hiRegitMuTobTecStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
00032 
00033 
00034 # seeding
00035 hiRegitMuTobTecStepSeeds     = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeeds.clone()
00036 hiRegitMuTobTecStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
00037 hiRegitMuTobTecStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00038 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt        = 1.5
00039 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR          = 6.0 # default = 0.2
00040 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region   = 30.0 # this give you the length 
00041 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz      = 0. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
00042 hiRegitMuTobTecStepSeeds.OrderedHitsFactoryPSet.SeedingLayers                        = 'hiRegitMuTobTecStepSeedLayers'
00043 
00044 # building: feed the new-named seeds
00045 hiRegitMuTobTecStepInOutTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepInOutTrajectoryFilter.clone(
00046     ComponentName        = 'hiRegitMuTobTecStepInOutTrajectoryFilter'
00047     )
00048 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minPt  = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00049 
00050 hiRegitMuTobTecStepTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryFilter.clone(
00051     ComponentName        = 'hiRegitMuTobTecStepTrajectoryFilter',
00052     )
00053 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minPt              = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00054 
00055 hiRegitMuTobTecStepTrajectoryBuilder = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryBuilder.clone(
00056     ComponentName             = 'hiRegitMuTobTecStepTrajectoryBuilder',
00057     trajectoryFilterName      = 'hiRegitMuTobTecStepTrajectoryFilter',
00058     inOutTrajectoryFilterName = 'hiRegitMuTobTecStepInOutTrajectoryFilter',
00059     clustersToSkip            = cms.InputTag('hiRegitMuTobTecStepClusters'),
00060 )
00061 
00062 hiRegitMuTobTecStepTrackCandidates        =  RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrackCandidates.clone(
00063     src               = cms.InputTag('hiRegitMuTobTecStepSeeds'),
00064     TrajectoryBuilder = 'hiRegitMuTobTecStepTrajectoryBuilder'
00065     )
00066 
00067 # fitting: feed new-names
00068 hiRegitMuTobTecStepTracks                 = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTracks.clone(
00069     src                 = 'hiRegitMuTobTecStepTrackCandidates'
00070 )
00071 
00072 
00073 hiRegitMuTobTecStepSelector               = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSelector.clone( 
00074     src                 ='hiRegitMuTobTecStepTracks',
00075     vertices            = cms.InputTag("hiSelectedVertex"),
00076     trackSelectors= cms.VPSet(
00077         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00078             name = 'hiRegitMuTobTecStepLoose',
00079             chi2n_par = 0.4,
00080             res_par = ( 0.003, 0.001 ),
00081             minNumberLayers = 5,
00082             maxNumberLostLayers = 1,
00083             minNumber3DLayers = 2,
00084             d0_par1 = ( 2.0, 4.0 ),
00085             dz_par1 = ( 1.8, 4.0 ),
00086             d0_par2 = ( 2.0, 4.0 ),
00087             dz_par2 = ( 1.8, 4.0 )
00088             ),
00089         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00090             name = 'hiRegitMuTobTecStepTight',
00091             preFilterName = 'hiRegitMuTobTecStepLoose',
00092             chi2n_par = 0.3,
00093             res_par = ( 0.003, 0.001 ),
00094             minNumberLayers = 5,
00095             maxNumberLostLayers = 0,
00096             minNumber3DLayers = 2,
00097             d0_par1 = ( 1.5, 4.0 ),
00098             dz_par1 = ( 1.4, 4.0 ),
00099             d0_par2 = ( 1.5, 4.0 ),
00100             dz_par2 = ( 1.4, 4.0 )
00101             ),
00102         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00103             name = 'hiRegitMuTobTecStep',
00104             preFilterName = 'hiRegitMuTobTecStepTight',
00105             chi2n_par = 0.2,
00106             res_par = ( 0.003, 0.001 ),
00107             minNumberLayers = 5,
00108             maxNumberLostLayers = 0,
00109             minNumber3DLayers = 2,
00110             d0_par1 = ( 1.4, 4.0 ),
00111             dz_par1 = ( 1.3, 4.0 ),
00112             d0_par2 = ( 1.4, 4.0 ),
00113             dz_par2 = ( 1.3, 4.0 )
00114             ),
00115         ) #end of vpset
00116   
00117 )
00118 
00119 hiRegitMuonTobTecStep = cms.Sequence(hiRegitMuTobTecStepClusters*
00120                                      hiRegitMuTobTecStepSeeds*
00121                                      hiRegitMuTobTecStepTrackCandidates*
00122                                      hiRegitMuTobTecStepTracks*
00123                                      hiRegitMuTobTecStepSelector)
00124 
00125 
00126