Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 import SimTracker.TrackAssociation.TrackAssociatorByChi2_cfi
00004 import SimTracker.TrackAssociation.TrackAssociatorByHits_cfi
00005 import Validation.RecoTrack.MultiTrackValidator_cfi
00006 from SimTracker.TrackAssociation.LhcParametersDefinerForTP_cfi import *
00007 from SimTracker.TrackAssociation.CosmicParametersDefinerForTP_cfi import *
00008 from Validation.RecoTrack.PostProcessorTracker_cfi import *
00009 import PhysicsTools.RecoAlgos.recoTrackSelector_cfi
00010
00011 TrackAssociatorByHitsRecoDenom= SimTracker.TrackAssociation.TrackAssociatorByHits_cfi.TrackAssociatorByHits.clone(
00012 ComponentName = cms.string('TrackAssociatorByHitsRecoDenom'),
00013 SimToRecoDenominator = cms.string('reco')
00014 )
00015
00016 cutsRecoTracksZero = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00017 cutsRecoTracksZero.algorithm=cms.vstring("iter0")
00018
00019 cutsRecoTracksFirst = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00020 cutsRecoTracksFirst.algorithm=cms.vstring("iter1")
00021
00022 cutsRecoTracksSecond = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00023 cutsRecoTracksSecond.algorithm=cms.vstring("iter2")
00024
00025 cutsRecoTracksThird = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00026 cutsRecoTracksThird.algorithm=cms.vstring("iter3")
00027
00028 cutsRecoTracksFourth = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00029 cutsRecoTracksFourth.algorithm=cms.vstring("iter4")
00030
00031 cutsRecoTracksFifth = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00032 cutsRecoTracksFifth.algorithm=cms.vstring("iter5")
00033
00034
00035 cutsRecoTracksHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00036 cutsRecoTracksHp.quality=cms.vstring("highPurity")
00037
00038 cutsRecoTracksZeroHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00039 cutsRecoTracksZeroHp.algorithm=cms.vstring("iter0")
00040 cutsRecoTracksZeroHp.quality=cms.vstring("highPurity")
00041
00042 cutsRecoTracksFirstHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00043 cutsRecoTracksFirstHp.algorithm=cms.vstring("iter1")
00044 cutsRecoTracksFirstHp.quality=cms.vstring("highPurity")
00045
00046 cutsRecoTracksSecondHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00047 cutsRecoTracksSecondHp.algorithm=cms.vstring("iter2")
00048 cutsRecoTracksSecondHp.quality=cms.vstring("highPurity")
00049
00050 cutsRecoTracksThirdHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00051 cutsRecoTracksThirdHp.algorithm=cms.vstring("iter3")
00052 cutsRecoTracksThirdHp.quality=cms.vstring("highPurity")
00053
00054 cutsRecoTracksFourthHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00055 cutsRecoTracksFourthHp.algorithm=cms.vstring("iter4")
00056 cutsRecoTracksFourthHp.quality=cms.vstring("highPurity")
00057
00058 cutsRecoTracksFifthHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00059 cutsRecoTracksFifthHp.algorithm=cms.vstring("iter5")
00060 cutsRecoTracksFifthHp.quality=cms.vstring("highPurity")
00061
00062 trackValidator= Validation.RecoTrack.MultiTrackValidator_cfi.multiTrackValidator.clone()
00063
00064 trackValidator.label=cms.VInputTag(cms.InputTag("generalTracks"),
00065 cms.InputTag("cutsRecoTracksHp"),
00066 cms.InputTag("cutsRecoTracksZero"),
00067 cms.InputTag("cutsRecoTracksZeroHp"),
00068 cms.InputTag("cutsRecoTracksFirst"),
00069 cms.InputTag("cutsRecoTracksFirstHp"),
00070 cms.InputTag("cutsRecoTracksSecond"),
00071 cms.InputTag("cutsRecoTracksSecondHp"),
00072 cms.InputTag("cutsRecoTracksThird"),
00073 cms.InputTag("cutsRecoTracksThirdHp"),
00074 cms.InputTag("cutsRecoTracksFourth"),
00075 cms.InputTag("cutsRecoTracksFourthHp"),
00076 cms.InputTag("cutsRecoTracksFifth"),
00077 cms.InputTag("cutsRecoTracksFifthHp")
00078 )
00079 trackValidator.skipHistoFit=cms.untracked.bool(True)
00080 trackValidator.useLogPt=cms.untracked.bool(True)
00081
00082
00083
00084
00085
00086 tracksValidationSelectors = cms.Sequence( cutsRecoTracksHp*
00087 cutsRecoTracksZero*
00088 cutsRecoTracksZeroHp*
00089 cutsRecoTracksFirst*
00090 cutsRecoTracksFirstHp*
00091 cutsRecoTracksSecond*
00092 cutsRecoTracksSecondHp*
00093 cutsRecoTracksThird*
00094 cutsRecoTracksThirdHp*
00095 cutsRecoTracksFourth*
00096 cutsRecoTracksFourthHp*
00097 cutsRecoTracksFifth*
00098 cutsRecoTracksFifthHp )
00099
00100
00101 tracksValidation = cms.Sequence( trackValidator)
00102 tracksValidationFS = cms.Sequence( trackValidator )
00103