CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoHI/HiTracking/python/HISelectedTracks_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #from RecoHI.HiTracking.hiMultiTrackSelector_cfi import *
00004 
00005 # Track selection
00006 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
00007 hiInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
00008     src='hiGlobalPrimTracks',
00009     trackSelectors= cms.VPSet(
00010     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
00011     name = 'hiInitialStepLoose',
00012     keepAllTracks = True  # Make an exception for the 1st iteration
00013     ), #end of pset
00014     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
00015     name = 'hiInitialStepTight',
00016     preFilterName = 'hiInitialStepLoose',
00017     ),
00018     RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
00019     name = 'hiInitialStep',
00020     preFilterName = 'hiInitialStepTight',
00021     ),
00022     ) #end of vpset
00023     ) #end of clone  
00024 
00025 
00026 
00027 # using the tracklist merger with one collection simply applies the quality flags
00028 import RecoTracker.FinalTrackSelectors.trackListMerger_cfi
00029 hiSelectedTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
00030     TrackProducers = cms.VInputTag(cms.InputTag('hiGlobalPrimTracks')),
00031     hasSelector=cms.vint32(1),
00032     selectedTrackQuals = cms.VInputTag(cms.InputTag("hiInitialStepSelector","hiInitialStep")),
00033     copyExtras = True,
00034     makeReKeyedSeeds = cms.untracked.bool(False)
00035     )
00036 
00037 #complete sequence
00038 hiTracksWithQuality = cms.Sequence(hiInitialStepSelector
00039                                    * hiSelectedTracks)