CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiMuonAlgos/python/HiRegitMuonLowPtTripletStep_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 ################################### 1st step:pixel-triplet seeding, lower-pT;
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.LowPtTripletStep_cff import *
00018 
00019 # remove previously used clusters
00020 hiRegitMuLowPtTripletStepClusters = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepClusters.clone(
00021     trajectories     = cms.InputTag("hiRegitMuInitialStepTracks"),
00022     overrideTrkQuals = cms.InputTag('hiRegitMuInitialStepSelector','hiRegitMuInitialStep'),
00023 )
00024 
00025 # SEEDING LAYERS
00026 hiRegitMuLowPtTripletStepSeedLayers =  RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeedLayers.clone(
00027     ComponentName = 'hiRegitMuLowPtTripletStepSeedLayers'
00028     )
00029 hiRegitMuLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
00030 hiRegitMuLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitMuLowPtTripletStepClusters')
00031 
00032 # seeds
00033 hiRegitMuLowPtTripletStepSeeds     = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone()
00034 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
00035 hiRegitMuLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00036 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt        = 1.
00037 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR          = 0.03 # default = 0.2
00038 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region   = 0. # this give you the length 
00039 hiRegitMuLowPtTripletStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz      = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
00040 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers                                  = 'hiRegitMuLowPtTripletStepSeedLayers'
00041 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00042 hiRegitMuLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00043 
00044 
00045 # building: feed the new-named seeds
00046 hiRegitMuLowPtTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryFilter.clone(
00047     ComponentName = 'hiRegitMuLowPtTripletStepTrajectoryFilter'
00048     )
00049 hiRegitMuLowPtTripletStepTrajectoryFilter.filterPset.minPt              = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00050 
00051 
00052 hiRegitMuLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
00053     ComponentName        = 'hiRegitMuLowPtTripletStepTrajectoryBuilder',
00054     trajectoryFilterName = 'hiRegitMuLowPtTripletStepTrajectoryFilter',
00055     clustersToSkip = cms.InputTag('hiRegitMuLowPtTripletStepClusters'),
00056 )
00057 
00058 # track candidates
00059 hiRegitMuLowPtTripletStepTrackCandidates        =  RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrackCandidates.clone(
00060     src               = cms.InputTag('hiRegitMuLowPtTripletStepSeeds'),
00061     TrajectoryBuilder = 'hiRegitMuLowPtTripletStepTrajectoryBuilder'
00062     )
00063 
00064 # fitting: feed new-names
00065 hiRegitMuLowPtTripletStepTracks                 = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
00066     src                 = 'hiRegitMuLowPtTripletStepTrackCandidates'
00067 )
00068 
00069 
00070 hiRegitMuLowPtTripletStepSelector               = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSelector.clone( 
00071     src                 ='hiRegitMuLowPtTripletStepTracks',
00072     vertices            = cms.InputTag("hiSelectedVertex"),
00073     trackSelectors= cms.VPSet(
00074         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00075             name = 'hiRegitMuLowPtTripletStepLoose',
00076             ), #end of pset
00077         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00078             name = 'hiRegitMuLowPtTripletStepTight',
00079             preFilterName = 'hiRegitMuLowPtTripletStepLoose',
00080             ),
00081         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00082             name = 'hiRegitMuLowPtTripletStep',
00083             preFilterName = 'hiRegitMuLowPtTripletStepTight',
00084             ),
00085         ) #end of vpset
00086 )
00087 
00088 hiRegitMuonLowPtTripletStep = cms.Sequence(hiRegitMuLowPtTripletStepClusters*
00089                                            hiRegitMuLowPtTripletStepSeeds*
00090                                            hiRegitMuLowPtTripletStepTrackCandidates*
00091                                            hiRegitMuLowPtTripletStepTracks*
00092                                            hiRegitMuLowPtTripletStepSelector)
00093 
00094 
00095