CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiTracking/python/hiRegitInitialStep_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 
00007 ###################################  
00008 from RecoTracker.IterativeTracking.InitialStep_cff import *
00009 
00010 #################################
00011 # Filter on quality tracks
00012 hiGeneralTrackFilter = cms.EDProducer("QualityFilter",
00013                                       TrackQuality = cms.string('highPurity'),
00014                                       recTracks = cms.InputTag("hiGeneralTracks")
00015                                       )
00016 
00017 # NEW CLUSTERS (remove previously used clusters)
00018 hiRegitInitialStepClusters = cms.EDProducer("TrackClusterRemover",
00019                                             clusterLessSolution= cms.bool(True),
00020                                             oldClusterRemovalInfo = cms.InputTag("hiPixelPairClusters"),
00021                                             trajectories = cms.InputTag("hiGeneralTrackFilter"),
00022                                             TrackQuality = cms.string('highPurity'),
00023                                             pixelClusters = cms.InputTag("siPixelClusters"),
00024                                             stripClusters = cms.InputTag("siStripClusters"),
00025                                             Common = cms.PSet(
00026     maxChi2 = cms.double(9.0),
00027     ),
00028                                             Strip = cms.PSet(
00029     maxChi2 = cms.double(9.0),
00030     )
00031                                             )
00032 
00033 
00034 
00035 # seeding
00036 hiRegitInitialStepSeeds     = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeeds.clone()
00037 hiRegitInitialStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00038 hiRegitInitialStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00039 hiRegitInitialStepSeeds.skipClusters = cms.InputTag('hiRegitInitialStepClusters')
00040 hiRegitInitialStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
00041 
00042 # building: feed the new-named seeds
00043 hiRegitInitialStepTrajectoryFilter = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryFilter.clone(
00044     ComponentName = 'hiRegitInitialStepTrajectoryFilter'
00045     )
00046 
00047 
00048 hiRegitInitialStepTrajectoryBuilder = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryBuilder.clone(
00049     ComponentName        = 'hiRegitInitialStepTrajectoryBuilder',
00050     trajectoryFilterName = 'hiRegitInitialStepTrajectoryFilter',
00051     clustersToSkip = cms.InputTag('hiRegitInitialStepClusters')
00052 )
00053 
00054 # track candidates
00055 hiRegitInitialStepTrackCandidates        =  RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrackCandidates.clone(
00056     src               = cms.InputTag('hiRegitInitialStepSeeds'),
00057     TrajectoryBuilder = 'hiRegitInitialStepTrajectoryBuilder',
00058     maxNSeeds = 100000
00059     )
00060 
00061 # fitting: feed new-names
00062 hiRegitInitialStepTracks                 = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTracks.clone(
00063     src                 = 'hiRegitInitialStepTrackCandidates',
00064     AlgorithmName = cms.string('iter0')
00065 )
00066 
00067 
00068 # Track selection
00069 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00070 hiRegitInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00071     src='hiRegitInitialStepTracks',
00072     trackSelectors= cms.VPSet(
00073     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00074     name = 'hiRegitInitialStepLoose',
00075     d0_par2 = [9999.0, 0.0],
00076     dz_par2 = [9999.0, 0.0],
00077     applyAdaptedPVCuts = False
00078     ), #end of pset
00079     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00080     name = 'hiRegitInitialStepTight',
00081     preFilterName = 'hiRegitInitialStepLoose',
00082     d0_par2 = [9999.0, 0.0],
00083     dz_par2 = [9999.0, 0.0],
00084     applyAdaptedPVCuts = False
00085     ),
00086     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00087     name = 'hiRegitInitialStep',
00088     preFilterName = 'hiRegitInitialStepTight',
00089     d0_par2 = [9999.0, 0.0],
00090     dz_par2 = [9999.0, 0.0],
00091     applyAdaptedPVCuts = False
00092     ),
00093     ) #end of vpset
00094     ) #end of clone  
00095 
00096 
00097 hiRegitInitialStep = cms.Sequence(hiGeneralTrackFilter*
00098                                   hiRegitInitialStepClusters*
00099                                   hiRegitInitialStepSeeds*
00100                                   hiRegitInitialStepTrackCandidates*
00101                                   hiRegitInitialStepTracks*
00102                                   hiRegitInitialStepSelector)
00103 
00104