CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiTracking/python/hiRegitLowPtTripletStep_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 
00008 ###################################
00009 from RecoTracker.IterativeTracking.LowPtTripletStep_cff import *
00010 
00011 
00012 # NEW CLUSTERS (remove previously used clusters)
00013 hiRegitLowPtTripletStepClusters = cms.EDProducer("TrackClusterRemover",
00014                                      clusterLessSolution= cms.bool(True),
00015                                      oldClusterRemovalInfo = cms.InputTag("hiRegitInitialStepClusters"),
00016                                      trajectories = cms.InputTag("hiRegitInitialStepTracks"),
00017                                      overrideTrkQuals = cms.InputTag('hiRegitInitialStepSelector','hiRegitInitialStep'),
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 hiRegitLowPtTripletStepSeedLayers =  RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeedLayers.clone(
00034     ComponentName = 'hiRegitLowPtTripletStepSeedLayers'
00035     )
00036 hiRegitLowPtTripletStepSeedLayers.BPix.skipClusters = cms.InputTag('hiRegitLowPtTripletStepClusters')
00037 hiRegitLowPtTripletStepSeedLayers.FPix.skipClusters = cms.InputTag('hiRegitLowPtTripletStepClusters')
00038 
00039 # seeds
00040 hiRegitLowPtTripletStepSeeds     = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone()
00041 hiRegitLowPtTripletStepSeeds.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00042 hiRegitLowPtTripletStepSeeds.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00043 hiRegitLowPtTripletStepSeeds.OrderedHitsFactoryPSet.SeedingLayers                                  = 'hiRegitLowPtTripletStepSeedLayers'
00044 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
00045 hiRegitLowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
00046 hiRegitLowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.4
00047 
00048 
00049 # building: feed the new-named seeds
00050 hiRegitLowPtTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryFilter.clone(
00051     ComponentName = 'hiRegitLowPtTripletStepTrajectoryFilter'
00052     )
00053 
00054 
00055 hiRegitLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
00056     ComponentName        = 'hiRegitLowPtTripletStepTrajectoryBuilder',
00057     trajectoryFilterName = 'hiRegitLowPtTripletStepTrajectoryFilter',
00058     clustersToSkip = cms.InputTag('hiRegitLowPtTripletStepClusters'),
00059 )
00060 
00061 # track candidates
00062 hiRegitLowPtTripletStepTrackCandidates        =  RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrackCandidates.clone(
00063     src               = cms.InputTag('hiRegitLowPtTripletStepSeeds'),
00064     TrajectoryBuilder = 'hiRegitLowPtTripletStepTrajectoryBuilder',
00065     maxNSeeds = 100000
00066     )
00067 
00068 # fitting: feed new-names
00069 hiRegitLowPtTripletStepTracks                 = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
00070     src                 = 'hiRegitLowPtTripletStepTrackCandidates',
00071     #AlgorithmName = cms.string('iter5')
00072     AlgorithmName = cms.string('iter1')
00073 )
00074 
00075 
00076 # Track selection
00077 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00078 hiRegitLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00079     src='hiRegitLowPtTripletStepTracks',
00080     trackSelectors= cms.VPSet(
00081     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00082     name = 'hiRegitLowPtTripletStepLoose',
00083     d0_par2 = [9999.0, 0.0],
00084     dz_par2 = [9999.0, 0.0],
00085     applyAdaptedPVCuts = False
00086     ), #end of pset
00087     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00088     name = 'hiRegitLowPtTripletStepTight',
00089     preFilterName = 'hiRegitLowPtTripletStepLoose',
00090     d0_par2 = [9999.0, 0.0],
00091     dz_par2 = [9999.0, 0.0],
00092     applyAdaptedPVCuts = False
00093     ),
00094     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00095     name = 'hiRegitLowPtTripletStep',
00096     preFilterName = 'hiRegitLowPtTripletStepTight',
00097     d0_par2 = [9999.0, 0.0],
00098     dz_par2 = [9999.0, 0.0],
00099     applyAdaptedPVCuts = False
00100     ),
00101     ) #end of vpset
00102     ) #end of clone  
00103 
00104 
00105 hiRegitLowPtTripletStep = cms.Sequence(hiRegitLowPtTripletStepClusters*
00106                                        hiRegitLowPtTripletStepSeeds*
00107                                        hiRegitLowPtTripletStepTrackCandidates*
00108                                        hiRegitLowPtTripletStepTracks*
00109                                        hiRegitLowPtTripletStepSelector)
00110 
00111 
00112