CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoHI/HiMuonAlgos/python/HiRegitMuonInitialStep_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 ################################### 0st step:pixel-triplet seeding, high-pT;
00005 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00006 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
00007 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
00008 
00009 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex      = True
00010 
00011 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseFixedRegion = True
00012 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed      = 0.2
00013 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed      = 0.2
00014 
00015 
00016 ###################################  
00017 from RecoTracker.IterativeTracking.InitialStep_cff import *
00018 
00019 # seeding
00020 hiRegitMuInitialStepSeeds     = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeeds.clone()
00021 hiRegitMuInitialStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
00022 hiRegitMuInitialStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00023 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt        = 1.5
00024 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR          = 0.03 # default = 0.2
00025 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region   = 0. # this give you the length 
00026 hiRegitMuInitialStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz      = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
00027 
00028 
00029 # building: feed the new-named seeds
00030 hiRegitMuInitialStepTrajectoryFilter = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryFilter.clone(
00031     ComponentName = 'hiRegitMuInitialStepTrajectoryFilter'
00032     )
00033 hiRegitMuInitialStepTrajectoryFilter.filterPset.minPt              = 1.4 # after each new hit, apply pT cut for traj w/ at least minHitsMinPt = cms.int32(3),
00034 
00035 
00036 hiRegitMuInitialStepTrajectoryBuilder = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryBuilder.clone(
00037     ComponentName        = 'hiRegitMuInitialStepTrajectoryBuilder',
00038     trajectoryFilterName = 'hiRegitMuInitialStepTrajectoryFilter'
00039 )
00040 
00041 # track candidates
00042 hiRegitMuInitialStepTrackCandidates        =  RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrackCandidates.clone(
00043     src               = cms.InputTag('hiRegitMuInitialStepSeeds'),
00044     TrajectoryBuilder = 'hiRegitMuInitialStepTrajectoryBuilder'
00045     )
00046 
00047 # fitting: feed new-names
00048 hiRegitMuInitialStepTracks                 = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTracks.clone(
00049     src                 = 'hiRegitMuInitialStepTrackCandidates'
00050 )
00051 
00052 
00053 hiRegitMuInitialStepSelector               = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSelector.clone( 
00054     src                 ='hiRegitMuInitialStepTracks',
00055     vertices            = cms.InputTag("hiSelectedVertex"),
00056     trackSelectors= cms.VPSet(
00057         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
00058             name = 'hiRegitMuInitialStepLoose',
00059             ), #end of pset
00060         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
00061             name = 'hiRegitMuInitialStepTight',
00062             preFilterName = 'hiRegitMuInitialStepLoose',
00063             ),
00064         RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
00065             name = 'hiRegitMuInitialStep',
00066             preFilterName = 'hiRegitMuInitialStepTight',
00067             ),
00068         ) #end of vpset
00069     )
00070 
00071 hiRegitMuonInitialStep = cms.Sequence(hiRegitMuInitialStepSeeds*
00072                                       hiRegitMuInitialStepTrackCandidates*
00073                                       hiRegitMuInitialStepTracks*
00074                                       hiRegitMuInitialStepSelector)
00075