Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from Validation.RecoMuon.muonValidation_cff import *
00004
00005
00006 import PhysicsTools.RecoAlgos.recoTrackSelector_cfi
00007 cutsRecoTrkMuons = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00008 cutsRecoTrkMuons.src = "hiSelectedTracks"
00009 cutsRecoTrkMuons.quality = []
00010 cutsRecoTrkMuons.ptMin = 2.0
00011
00012
00013 import PhysicsTools.RecoAlgos.trackingParticleSelector_cfi
00014 cutsTpMuons = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
00015 cutsTpMuons.ptMin = 2.0
00016
00017
00018
00019
00020
00021
00022 tpToTkMuonAssociation.tracksTag = 'cutsRecoTrkMuons'
00023 tpToTkMuonAssociation.tpTag = 'cutsTpMuons'
00024
00025
00026 tpToStaMuonAssociation.tpTag = 'cutsTpMuons'
00027 tpToStaUpdMuonAssociation.tpTag = 'cutsTpMuons'
00028
00029
00030 tpToGlbMuonAssociation.tpTag = 'cutsTpMuons'
00031 tpToGlbMuonAssociation.tracksTag = 'globalMuons'
00032
00033
00034 tpToTkMuonAssociation.PurityCut_track = 0.75
00035 tpToStaMuonAssociation.UseMuon = True
00036 tpToStaMuonAssociation.PurityCut_muon = 0.75
00037 tpToStaUpdMuonAssociation.UseMuon = True
00038 tpToStaUpdMuonAssociation.PurityCut_muon = 0.75
00039 tpToGlbMuonAssociation.UseTracker = True
00040 tpToGlbMuonAssociation.PurityCut_track = 0.75
00041 tpToGlbMuonAssociation.UseMuon = True
00042 tpToGlbMuonAssociation.PurityCut_muon = 0.75
00043
00044
00045
00046 hiMuonAssociation_seq = cms.Sequence(
00047 tpToTkMuonAssociation+
00048 tpToStaMuonAssociation+
00049 tpToStaUpdMuonAssociation+
00050 tpToGlbMuonAssociation
00051 )
00052
00053
00054
00055
00056 trkMuonTrackVTrackAssoc.associatormap = 'tpToTkMuonAssociation'
00057 trkMuonTrackVTrackAssoc.label = ['cutsRecoTrkMuons']
00058 trkMuonTrackVTrackAssoc.label_tp_effic = 'cutsTpMuons'
00059 trkMuonTrackVTrackAssoc.label_tp_fake = 'cutsTpMuons'
00060
00061 glbMuonTrackVMuonAssoc.label = ['globalMuons']
00062 glbMuonTrackVMuonAssoc.label_tp_effic = 'cutsTpMuons'
00063 glbMuonTrackVMuonAssoc.label_tp_fake = 'cutsTpMuons'
00064
00065 staMuonTrackVMuonAssoc.label_tp_effic = 'cutsTpMuons'
00066 staMuonTrackVMuonAssoc.label_tp_fake = 'cutsTpMuons'
00067
00068 staUpdMuonTrackVMuonAssoc.label_tp_effic = 'cutsTpMuons'
00069 staUpdMuonTrackVMuonAssoc.label_tp_fake = 'cutsTpMuons'
00070
00071
00072 trkMuonTrackVTrackAssoc.maxpT = cms.double(200)
00073 glbMuonTrackVMuonAssoc.maxpT = cms.double(200)
00074 staMuonTrackVMuonAssoc.maxpT = cms.double(200)
00075 staUpdMuonTrackVMuonAssoc.maxpT = cms.double(200)
00076
00077
00078 hiMuonValidation_seq = cms.Sequence(
00079 trkMuonTrackVTrackAssoc+
00080 staMuonTrackVMuonAssoc+
00081 staUpdMuonTrackVMuonAssoc+
00082 glbMuonTrackVMuonAssoc
00083 )
00084
00085
00086
00087
00088 hiRecoMuonValidation = cms.Sequence(cutsRecoTrkMuons *
00089 cutsTpMuons *
00090 hiMuonAssociation_seq *
00091 hiMuonValidation_seq)