CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoHI/HiTracking/python/hiRegitDetachedTripletStep_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 ################################### 3rd step: low-pT and displaced tracks from pixel triplets
00006 
00007 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00008 
00009 ###################################
00010 from RecoTracker.IterativeTracking.DetachedTripletStep_cff import *
00011 
00012 # NEW CLUSTERS (remove previously used clusters)
00013 hiRegitDetachedTripletStepClusters = cms.EDProducer("TrackClusterRemover",
00014                                                 clusterLessSolution= cms.bool(True),
00015                                                 oldClusterRemovalInfo = cms.InputTag("hiRegitPixelPairStepClusters"),
00016                                                 trajectories = cms.InputTag("hiRegitPixelPairStepTracks"),
00017                                                 overrideTrkQuals = cms.InputTag('hiRegitPixelPairStepSelector','hiRegitPixelPairStep'),
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 
00033 # SEEDING LAYERS
00034 hiRegitDetachedTripletStepSeedLayers =  RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeedLayers.clone(
00035     ComponentName = 'hiRegitDetachedTripletStepSeedLayers'
00036     )
00037 hiRegitDetachedTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
00038 hiRegitDetachedTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitDetachedTripletStepClusters')
00039 
00040 # seeding
00041 hiRegitDetachedTripletStepSeeds     = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepSeeds.clone()
00042 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00043 hiRegitDetachedTripletStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00044 hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitDetachedTripletStepSeedLayers'
00045 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00046 hiRegitDetachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00047 hiRegitDetachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.2
00048 
00049 # building: feed the new-named seeds
00050 hiRegitDetachedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryFilter.clone(
00051     ComponentName    = 'hiRegitDetachedTripletStepTrajectoryFilter'
00052     )
00053 
00054 hiRegitDetachedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrajectoryBuilder.clone(
00055     ComponentName        = 'hiRegitDetachedTripletStepTrajectoryBuilder',
00056     trajectoryFilterName = 'hiRegitDetachedTripletStepTrajectoryFilter',
00057     clustersToSkip       = cms.InputTag('hiRegitDetachedTripletStepClusters')
00058 )
00059 
00060 hiRegitDetachedTripletStepTrackCandidates        =  RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTrackCandidates.clone(
00061     src               = cms.InputTag('hiRegitDetachedTripletStepSeeds'),
00062     TrajectoryBuilder = 'hiRegitDetachedTripletStepTrajectoryBuilder',
00063     maxNSeeds=100000
00064     )
00065 
00066 # fitting: feed new-names
00067 hiRegitDetachedTripletStepTracks                 = RecoTracker.IterativeTracking.DetachedTripletStep_cff.detachedTripletStepTracks.clone(
00068     src                 = 'hiRegitDetachedTripletStepTrackCandidates',
00069     #AlgorithmName = cms.string('iter7'),
00070     AlgorithmName = cms.string('iter3'),
00071     )
00072 
00073 
00074 # Track selection
00075 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00076 hiRegitDetachedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00077     src='hiRegitDetachedTripletStepTracks',
00078     trackSelectors= cms.VPSet(
00079     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00080     name = 'hiRegitDetachedTripletStepLoose',
00081     d0_par2 = [9999.0, 0.0],
00082     dz_par2 = [9999.0, 0.0],
00083     applyAdaptedPVCuts = False
00084     ), #end of pset
00085     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00086     name = 'hiRegitDetachedTripletStepTight',
00087     preFilterName = 'hiRegitDetachedTripletStepLoose',
00088     d0_par2 = [9999.0, 0.0],
00089     dz_par2 = [9999.0, 0.0],
00090     applyAdaptedPVCuts = False
00091     ),
00092     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00093     name = 'hiRegitDetachedTripletStep',
00094     preFilterName = 'hiRegitDetachedTripletStepTight',
00095     d0_par2 = [9999.0, 0.0],
00096     dz_par2 = [9999.0, 0.0],
00097     applyAdaptedPVCuts = False
00098     ),
00099     ) #end of vpset
00100     ) #end of clone  
00101 
00102 
00103 hiRegitDetachedTripletStep = cms.Sequence(hiRegitDetachedTripletStepClusters*
00104                                           hiRegitDetachedTripletStepSeeds*
00105                                           hiRegitDetachedTripletStepTrackCandidates*
00106                                           hiRegitDetachedTripletStepTracks*
00107                                           hiRegitDetachedTripletStepSelector
00108                                           )
00109