Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import RecoTracker.FinalTrackSelectors.selectLoose_cfi
0004 import RecoTracker.FinalTrackSelectors.selectTight_cfi
0005 import RecoTracker.FinalTrackSelectors.selectHighPurity_cfi
0006 
0007 zeroStepWithLooseQuality = RecoTracker.FinalTrackSelectors.selectLoose_cfi.selectLoose.clone(
0008     src = 'preFilterZeroStepTracks',
0009     keepAllTracks = False, ## we only keep those who pass the filter
0010     copyExtras = False,
0011     copyTrajectories = True
0012 )
0013 
0014 zeroStepWithTightQuality = RecoTracker.FinalTrackSelectors.selectTight_cfi.selectTight.clone(
0015     src = 'zeroStepWithLooseQuality',
0016     keepAllTracks = True,
0017     copyExtras = False,
0018     copyTrajectories = True
0019     )
0020 
0021 zeroStepTracksWithQuality = RecoTracker.FinalTrackSelectors.selectHighPurity_cfi.selectHighPurity.clone(
0022     src = 'zeroStepWithTightQuality',
0023     keepAllTracks = True,
0024     copyExtras = False,
0025     copyTrajectories = True
0026     )
0027 
0028 
0029 firstStepWithLooseQuality = RecoTracker.FinalTrackSelectors.selectLoose_cfi.selectLoose.clone(
0030     src = 'preFilterStepOneTracks',
0031     keepAllTracks = False, ## we only keep those who pass the filter
0032     copyExtras = False,
0033     copyTrajectories = True
0034     )
0035 
0036 firstStepWithTightQuality = RecoTracker.FinalTrackSelectors.selectTight_cfi.selectTight.clone(
0037     src = 'firstStepWithLooseQuality',
0038     keepAllTracks = True,
0039     copyExtras = False,
0040     copyTrajectories = True
0041     )
0042 preMergingFirstStepTracksWithQuality = RecoTracker.FinalTrackSelectors.selectHighPurity_cfi.selectHighPurity.clone(
0043     src = 'firstStepWithTightQuality',
0044     keepAllTracks = True,
0045     copyExtras = False,
0046     copyTrajectories = True
0047     )
0048 
0049 # Track filtering and quality.
0050 #   input:    preFilterZeroStepTracks
0051 #   output:   zeroStepTracksWithQuality
0052 #   sequence: tracksWithQualityZeroStep
0053 tracksWithQualityZeroStepTask = cms.Task(zeroStepWithLooseQuality, zeroStepWithTightQuality, zeroStepTracksWithQuality)
0054 tracksWithQualityZeroStep = cms.Sequence(tracksWithQualityZeroStepTask)
0055 
0056 # Track filtering and quality.
0057 #   input:    preFilterStepOneTracks
0058 #   output:   firstStepTracksWithQuality
0059 #   sequence: tracksWithQuality
0060 tracksWithQualityStepOneTask = cms.Task(firstStepWithLooseQuality, firstStepWithTightQuality, preMergingFirstStepTracksWithQuality)
0061 tracksWithQualityStepOne = cms.Sequence(tracksWithQualityStepOneTask)
0062