CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiTracking/python/hiRegitPixelPairStep_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ################################################################################### 
00004 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
00005 ################################### 2nd step: pixel pairs
00006 
00007 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00008 
00009 ###################################
00010 from RecoTracker.IterativeTracking.PixelPairStep_cff import *
00011 
00012 # NEW CLUSTERS (remove previously used clusters)
00013 hiRegitPixelPairStepClusters = cms.EDProducer("TrackClusterRemover",
00014                                      clusterLessSolution= cms.bool(True),
00015                                      oldClusterRemovalInfo = cms.InputTag("hiRegitLowPtTripletStepClusters"),
00016                                      trajectories = cms.InputTag("hiRegitLowPtTripletStepTracks"),
00017                                      overrideTrkQuals = cms.InputTag('hiRegitLowPtTripletStepSelector','hiRegitLowPtTripletStep'),
00018                                      TrackQuality = cms.string('highPurity'),
00019                                      pixelClusters = cms.InputTag("siPixelClusters"),
00020                                      stripClusters = cms.InputTag("siStripClusters"),
00021                                      Common = cms.PSet(
00022     maxChi2 = cms.double(9.0),
00023     ),
00024                                      Strip = cms.PSet(
00025     maxChi2 = cms.double(9.0),
00026     #Yen-Jie's mod to preserve merged clusters
00027     maxSize = cms.uint32(2)
00028     )
00029                                      )
00030 
00031 
00032 # SEEDING LAYERS
00033 hiRegitPixelPairStepSeedLayers =  RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedLayers.clone(
00034     ComponentName = 'hiRegitPixelPairStepSeedLayers'
00035     )
00036 hiRegitPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
00037 hiRegitPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitPixelPairStepClusters')
00038 
00039 
00040 
00041 # seeding
00042 hiRegitPixelPairStepSeeds     = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone()
00043 hiRegitPixelPairStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00044 hiRegitPixelPairStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00045 hiRegitPixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitPixelPairStepSeedLayers'
00046 hiRegitPixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
00047 
00048 
00049 # building: feed the new-named seeds
00050 hiRegitPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone(
00051     ComponentName    = 'hiRegitPixelPairStepTrajectoryFilter'
00052     )
00053 
00054 hiRegitPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
00055     ComponentName        = 'hiRegitPixelPairStepTrajectoryBuilder',
00056     trajectoryFilterName = 'hiRegitPixelPairStepTrajectoryFilter',
00057     clustersToSkip       = cms.InputTag('hiRegitPixelPairStepClusters'),
00058 )
00059 
00060 # trackign candidate
00061 hiRegitPixelPairStepTrackCandidates        =  RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
00062     src               = cms.InputTag('hiRegitPixelPairStepSeeds'),
00063     TrajectoryBuilder = 'hiRegitPixelPairStepTrajectoryBuilder',
00064     maxNSeeds = 100000
00065     )
00066 
00067 # fitting: feed new-names
00068 hiRegitPixelPairStepTracks                 = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
00069     src                 = 'hiRegitPixelPairStepTrackCandidates',
00070     #AlgorithmName = cms.string('iter6'),
00071     AlgorithmName = cms.string('iter2'),
00072     )
00073 
00074 
00075 # Track selection
00076 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00077 hiRegitPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00078     src='hiRegitPixelPairStepTracks',
00079     trackSelectors= cms.VPSet(
00080     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00081     name = 'hiRegitPixelPairStepLoose',
00082     d0_par2 = [9999.0, 0.0],
00083     dz_par2 = [9999.0, 0.0],
00084     applyAdaptedPVCuts = False
00085     ), #end of pset
00086     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00087     name = 'hiRegitPixelPairStepTight',
00088     preFilterName = 'hiRegitPixelPairStepLoose',
00089     d0_par2 = [9999.0, 0.0],
00090     dz_par2 = [9999.0, 0.0],
00091     applyAdaptedPVCuts = False
00092     ),
00093     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00094     name = 'hiRegitPixelPairStep',
00095     preFilterName = 'hiRegitPixelPairStepTight',
00096     d0_par2 = [9999.0, 0.0],
00097     dz_par2 = [9999.0, 0.0],
00098     applyAdaptedPVCuts = False
00099     ),
00100     ) #end of vpset
00101     ) #end of clone  
00102 
00103 hiRegitPixelPairStep = cms.Sequence(hiRegitPixelPairStepClusters*
00104                                     hiRegitPixelPairStepSeeds*
00105                                     hiRegitPixelPairStepTrackCandidates*
00106                                     hiRegitPixelPairStepTracks*
00107                                     hiRegitPixelPairStepSelector)
00108