CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoHI/HiTracking/python/hiRegitMixedTripletStep_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 ################################### 4th step: large impact parameter tracking using mixed-triplet seeding
00006 
00007 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
00008 
00009 ###################################
00010 from RecoTracker.IterativeTracking.MixedTripletStep_cff import *
00011 
00012 # NEW CLUSTERS (remove previously used clusters)
00013 hiRegitMixedTripletStepClusters = cms.EDProducer("TrackClusterRemover",
00014                                                 clusterLessSolution= cms.bool(True),
00015                                                 oldClusterRemovalInfo = cms.InputTag("hiRegitDetachedTripletStepClusters"),
00016                                                 trajectories = cms.InputTag("hiRegitDetachedTripletStepTracks"),
00017                                                 overrideTrkQuals = cms.InputTag('hiRegitDetachedTripletStepSelector','hiRegitDetachedTripletStep'),
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 A
00034 hiRegitMixedTripletStepSeedLayersA =  RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone(
00035     ComponentName = 'hiRegitMixedTripletStepSeedLayersA'
00036     )
00037 hiRegitMixedTripletStepSeedLayersA.BPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
00038 hiRegitMixedTripletStepSeedLayersA.FPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
00039 hiRegitMixedTripletStepSeedLayersA.TEC.skipClusters  = cms.InputTag('hiRegitMixedTripletStepClusters')
00040 hiRegitMixedTripletStepSeedLayersA.layerList = cms.vstring('BPix1+BPix2+BPix3',
00041                                                            'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
00042                                                            'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
00043                                                            'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
00044                                                            'FPix1_pos+FPix2_pos+TEC1_pos', 'FPix1_neg+FPix2_neg+TEC1_neg',)
00045 
00046 # SEEDS A
00047 hiRegitMixedTripletStepSeedsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsA.clone()
00048 hiRegitMixedTripletStepSeedsA.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00049 hiRegitMixedTripletStepSeedsA.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00050 hiRegitMixedTripletStepSeedsA.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMixedTripletStepSeedLayersA'
00051 hiRegitMixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.ptMin = 1.0
00052 
00053 # SEEDING LAYERS B
00054 hiRegitMixedTripletStepSeedLayersB =  RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone(
00055     ComponentName = 'hiRegitMixedTripletStepSeedLayersB',
00056     )
00057 hiRegitMixedTripletStepSeedLayersB.BPix.skipClusters = cms.InputTag('hiRegitMixedTripletStepClusters')
00058 hiRegitMixedTripletStepSeedLayersB.TIB.skipClusters  = cms.InputTag('hiRegitMixedTripletStepClusters')
00059 hiRegitMixedTripletStepSeedLayersB.layerList = cms.vstring('BPix2+BPix3+TIB1','BPix2+BPix3+TIB2')
00060 
00061 hiRegitMixedTripletStepSeedsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsB.clone()
00062 hiRegitMixedTripletStepSeedsB.RegionFactoryPSet                                           = HiTrackingRegionFactoryFromJetsBlock.clone()
00063 hiRegitMixedTripletStepSeedsB.ClusterCheckPSet.doClusterCheck                             = False # do not check for max number of clusters pixel or strips
00064 hiRegitMixedTripletStepSeedsB.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMixedTripletStepSeedLayersB'
00065 hiRegitMixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.ptMin = 1.0
00066 
00067 # combine seeds
00068 hiRegitMixedTripletStepSeeds = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeeds.clone(
00069     seedCollections = cms.VInputTag(
00070         cms.InputTag('hiRegitMixedTripletStepSeedsA'),
00071         cms.InputTag('hiRegitMixedTripletStepSeedsB'),
00072         )
00073     )
00074 
00075 # track building
00076 hiRegitMixedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryFilter.clone(
00077     ComponentName        = 'hiRegitMixedTripletStepTrajectoryFilter'
00078    )
00079 
00080 hiRegitMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
00081     ComponentName        = 'hiRegitMixedTripletStepTrajectoryBuilder',
00082     trajectoryFilterName = 'hiRegitMixedTripletStepTrajectoryFilter',
00083     clustersToSkip       = cms.InputTag('hiRegitMixedTripletStepClusters'),
00084 )
00085 
00086 hiRegitMixedTripletStepTrackCandidates        =  RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrackCandidates.clone(
00087     src               = cms.InputTag('hiRegitMixedTripletStepSeeds'),
00088     TrajectoryBuilder = 'hiRegitMixedTripletStepTrajectoryBuilder',
00089     maxNSeeds = 100000
00090     )
00091 
00092 # fitting: feed new-names
00093 hiRegitMixedTripletStepTracks                 = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
00094     src                 = 'hiRegitMixedTripletStepTrackCandidates',
00095     #AlgorithmName = cms.string('iter8'),
00096     AlgorithmName = cms.string('iter4'),
00097     )
00098 
00099 # Track selection
00100 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00101 hiRegitMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00102     src='hiRegitMixedTripletStepTracks',
00103     trackSelectors= cms.VPSet(
00104     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00105     name = 'hiRegitMixedTripletStepLoose',
00106     d0_par2 = [9999.0, 0.0],
00107     dz_par2 = [9999.0, 0.0],
00108     applyAdaptedPVCuts = False
00109     ), #end of pset
00110     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00111     name = 'hiRegitMixedTripletStepTight',
00112     preFilterName = 'hiRegitMixedTripletStepLoose',
00113     d0_par2 = [9999.0, 0.0],
00114     dz_par2 = [9999.0, 0.0],
00115     applyAdaptedPVCuts = False
00116     ),
00117     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00118     name = 'hiRegitMixedTripletStep',
00119     preFilterName = 'hiRegitMixedTripletStepTight',
00120     d0_par2 = [9999.0, 0.0],
00121     dz_par2 = [9999.0, 0.0],
00122     applyAdaptedPVCuts = False
00123     ),
00124     ) #end of vpset
00125     ) #end of clone  
00126 
00127 hiRegitMixedTripletStep = cms.Sequence(hiRegitMixedTripletStepClusters*
00128                                        hiRegitMixedTripletStepSeedsA*
00129                                        hiRegitMixedTripletStepSeedsB*
00130                                        hiRegitMixedTripletStepSeeds*
00131                                        hiRegitMixedTripletStepTrackCandidates*
00132                                        hiRegitMixedTripletStepTracks*
00133                                        hiRegitMixedTripletStepSelector
00134                                        )