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.quickTrackAssociatorByHits_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.quickTrackAssociatorByHits_cfi.quickTrackAssociatorByHits.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 cutsRecoTracksSixth = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00035 cutsRecoTracksSixth.algorithm=cms.vstring("iter6")
00036
00037
00038 cutsRecoTracksHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00039 cutsRecoTracksHp.quality=cms.vstring("highPurity")
00040
00041 cutsRecoTracksZeroHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00042 cutsRecoTracksZeroHp.algorithm=cms.vstring("iter0")
00043 cutsRecoTracksZeroHp.quality=cms.vstring("highPurity")
00044
00045 cutsRecoTracksFirstHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00046 cutsRecoTracksFirstHp.algorithm=cms.vstring("iter1")
00047 cutsRecoTracksFirstHp.quality=cms.vstring("highPurity")
00048
00049 cutsRecoTracksSecondHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00050 cutsRecoTracksSecondHp.algorithm=cms.vstring("iter2")
00051 cutsRecoTracksSecondHp.quality=cms.vstring("highPurity")
00052
00053 cutsRecoTracksThirdHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00054 cutsRecoTracksThirdHp.algorithm=cms.vstring("iter3")
00055 cutsRecoTracksThirdHp.quality=cms.vstring("highPurity")
00056
00057 cutsRecoTracksFourthHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00058 cutsRecoTracksFourthHp.algorithm=cms.vstring("iter4")
00059 cutsRecoTracksFourthHp.quality=cms.vstring("highPurity")
00060
00061 cutsRecoTracksFifthHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00062 cutsRecoTracksFifthHp.algorithm=cms.vstring("iter5")
00063 cutsRecoTracksFifthHp.quality=cms.vstring("highPurity")
00064
00065 cutsRecoTracksSixthHp = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00066 cutsRecoTracksSixthHp.algorithm=cms.vstring("iter6")
00067 cutsRecoTracksSixthHp.quality=cms.vstring("highPurity")
00068
00069 trackValidator= Validation.RecoTrack.MultiTrackValidator_cfi.multiTrackValidator.clone()
00070
00071 trackValidator.label=cms.VInputTag(cms.InputTag("generalTracks"),
00072 cms.InputTag("cutsRecoTracksHp"),
00073 cms.InputTag("cutsRecoTracksZero"),
00074 cms.InputTag("cutsRecoTracksZeroHp"),
00075 cms.InputTag("cutsRecoTracksFirst"),
00076 cms.InputTag("cutsRecoTracksFirstHp"),
00077 cms.InputTag("cutsRecoTracksSecond"),
00078 cms.InputTag("cutsRecoTracksSecondHp"),
00079 cms.InputTag("cutsRecoTracksThird"),
00080 cms.InputTag("cutsRecoTracksThirdHp"),
00081 cms.InputTag("cutsRecoTracksFourth"),
00082 cms.InputTag("cutsRecoTracksFourthHp"),
00083 cms.InputTag("cutsRecoTracksFifth"),
00084 cms.InputTag("cutsRecoTracksFifthHp"),
00085 cms.InputTag("cutsRecoTracksSixth"),
00086 cms.InputTag("cutsRecoTracksSixthHp")
00087 )
00088 trackValidator.skipHistoFit=cms.untracked.bool(True)
00089 trackValidator.useLogPt=cms.untracked.bool(True)
00090
00091
00092
00093
00094
00095 tracksValidationSelectors = cms.Sequence( cutsRecoTracksHp*
00096 cutsRecoTracksZero*
00097 cutsRecoTracksZeroHp*
00098 cutsRecoTracksFirst*
00099 cutsRecoTracksFirstHp*
00100 cutsRecoTracksSecond*
00101 cutsRecoTracksSecondHp*
00102 cutsRecoTracksThird*
00103 cutsRecoTracksThirdHp*
00104 cutsRecoTracksFourth*
00105 cutsRecoTracksFourthHp*
00106 cutsRecoTracksFifth*
00107 cutsRecoTracksFifthHp*
00108 cutsRecoTracksSixth*
00109 cutsRecoTracksSixthHp )
00110
00111
00112 tracksValidation = cms.Sequence( trackValidator)
00113 tracksValidationFS = cms.Sequence( trackValidator )
00114