Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-10 06:14:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
0004 ################################### 1st step:pixel-triplet seeding, lower-pT;
0005 
0006 from RecoHI.HiTracking.HITrackingRegionProducer_cfi import *
0007 
0008 ###################################
0009 import RecoTracker.IterativeTracking.LowPtTripletStep_cff
0010 
0011 
0012 # NEW CLUSTERS (remove previously used clusters)
0013 hiRegitLowPtTripletStepClusters = cms.EDProducer("HITrackClusterRemover",
0014                                      clusterLessSolution= cms.bool(True),
0015                                      oldClusterRemovalInfo = cms.InputTag("hiRegitInitialStepClusters"),
0016                                      trajectories = cms.InputTag("hiRegitInitialStepTracks"),
0017                                      overrideTrkQuals = cms.InputTag('hiRegitInitialStepSelector','hiRegitInitialStep'),
0018                                      TrackQuality = cms.string('highPurity'),
0019                                      pixelClusters = cms.InputTag("siPixelClusters"),
0020                                      stripClusters = cms.InputTag("siStripClusters"),
0021                                      Common = cms.PSet(
0022                         maxChi2 = cms.double(9.0),
0023                         ),
0024                          Strip = cms.PSet(
0025                         maxChi2 = cms.double(9.0),
0026                         #Yen-Jie's mod to preserve merged clusters
0027                         maxSize = cms.uint32(2)
0028                         )
0029                                      )
0030 
0031 
0032 # SEEDING LAYERS
0033 hiRegitLowPtTripletStepSeedLayers =  RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeedLayers.clone(
0034     BPix = dict(skipClusters = 'hiRegitLowPtTripletStepClusters'),
0035     FPix = dict(skipClusters = 'hiRegitLowPtTripletStepClusters')
0036 )
0037 
0038 from RecoPixelVertexing.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
0039 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
0040 # seeds
0041 hiRegitLowPtTripletStepSeeds     = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepSeeds.clone(
0042     RegionFactoryPSet = HiTrackingRegionFactoryFromJetsBlock.clone(
0043     RegionPSet = dict(ptMin = 0.4)
0044     ),
0045     ClusterCheckPSet = dict(doClusterCheck = False), # do not check for max number of clusters pixel or strips
0046     OrderedHitsFactoryPSet = dict(
0047     SeedingLayers = 'hiRegitLowPtTripletStepSeedLayers',
0048     GeneratorPSet = dict (
0049         SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone()
0050     ),
0051     ),
0052 )
0053 
0054 # building: feed the new-named seeds
0055 hiRegitLowPtTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepStandardTrajectoryFilter.clone()
0056 
0057 
0058 hiRegitLowPtTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTrajectoryBuilder.clone(
0059     trajectoryFilter = dict(refToPSet_ = 'hiRegitLowPtTripletStepTrajectoryFilter'),
0060     clustersToSkip = 'hiRegitLowPtTripletStepClusters',
0061 )
0062 
0063 # track candidates
0064 hiRegitLowPtTripletStepTrackCandidates        =  RecoTracker.IterativeTracking.LowPtTripletStep_cff._lowPtTripletStepTrackCandidatesCkf.clone(
0065     src               = 'hiRegitLowPtTripletStepSeeds',
0066     TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitLowPtTripletStepTrajectoryBuilder')),
0067     maxNSeeds = 100000
0068 )
0069 
0070 # fitting: feed new-names
0071 hiRegitLowPtTripletStepTracks                 = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
0072     src                 = 'hiRegitLowPtTripletStepTrackCandidates',
0073     #AlgorithmName = 'pixelLessStep'
0074     AlgorithmName = 'lowPtTripletStep'
0075 )
0076 
0077 
0078 # Track selection
0079 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
0080 hiRegitLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
0081     src = 'hiRegitLowPtTripletStepTracks',
0082     trackSelectors = cms.VPSet(
0083        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
0084            name = 'hiRegitLowPtTripletStepLoose',
0085            d0_par2 = [9999.0, 0.0],
0086            dz_par2 = [9999.0, 0.0],
0087            applyAdaptedPVCuts = False
0088        ), #end of pset
0089        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
0090            name = 'hiRegitLowPtTripletStepTight',
0091            preFilterName = 'hiRegitLowPtTripletStepLoose',
0092            d0_par2 = [9999.0, 0.0],
0093            dz_par2 = [9999.0, 0.0],
0094            applyAdaptedPVCuts = False
0095        ),
0096        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
0097            name = 'hiRegitLowPtTripletStep',
0098            preFilterName = 'hiRegitLowPtTripletStepTight',
0099            d0_par2 = [9999.0, 0.0],
0100            dz_par2 = [9999.0, 0.0],
0101            applyAdaptedPVCuts = False
0102        ),
0103     ) #end of vpset
0104 ) #end of clone  
0105 
0106 
0107 hiRegitLowPtTripletStepTask = cms.Task(hiRegitLowPtTripletStepClusters,
0108                                        hiRegitLowPtTripletStepSeedLayers,
0109                                        hiRegitLowPtTripletStepSeeds,
0110                                        hiRegitLowPtTripletStepTrackCandidates,
0111                                        hiRegitLowPtTripletStepTracks,
0112                                        hiRegitLowPtTripletStepSelector)
0113 hiRegitLowPtTripletStep = cms.Sequence(hiRegitLowPtTripletStepTask)
0114 
0115