1 import FWCore.ParameterSet.Config
as cms
8 import SimMuon.MCTruth.NewMuonAssociatorByHits_cfi
9 hiMABH = SimMuon.MCTruth.NewMuonAssociatorByHits_cfi.NewMuonAssociatorByHits.clone()
18 hiMABH.tpTag =
'NEWcutsTpMuons' 20 hiMABH.PurityCut_track = 0.75
21 hiMABH.PurityCut_muon = 0.75
27 NEWtpToTkMuonAssociationHI = hiMABH.clone()
28 NEWtpToTkMuonAssociationHI.tracksTag =
'NEWcutsRecoTrkMuons' 29 NEWtpToTkMuonAssociationHI.UseTracker =
True 30 NEWtpToTkMuonAssociationHI.UseMuon =
False 33 NEWtpToStaMuonAssociationHI = hiMABH.clone()
34 NEWtpToStaMuonAssociationHI.tracksTag =
'standAloneMuons' 35 NEWtpToStaMuonAssociationHI.UseTracker =
False 36 NEWtpToStaMuonAssociationHI.UseMuon =
True 38 NEWtpToStaUpdMuonAssociationHI = hiMABH.clone()
39 NEWtpToStaUpdMuonAssociationHI.tracksTag =
'standAloneMuons:UpdatedAtVtx' 40 NEWtpToStaUpdMuonAssociationHI.UseTracker =
False 41 NEWtpToStaUpdMuonAssociationHI.UseMuon =
True 44 NEWtpToGlbMuonAssociationHI = hiMABH.clone()
45 NEWtpToGlbMuonAssociationHI.tracksTag =
'globalMuons' 46 NEWtpToGlbMuonAssociationHI.UseTracker =
True 47 NEWtpToGlbMuonAssociationHI.UseMuon =
True 52 NEWhiMuonAssociation_seq = cms.Sequence(
53 NEWtpToTkMuonAssociationHI+
54 NEWtpToStaMuonAssociationHI+
55 NEWtpToStaUpdMuonAssociationHI+
56 NEWtpToGlbMuonAssociationHI
63 import Validation.RecoMuon.NewMuonTrackValidator_cfi
64 MTVhi = Validation.RecoMuon.NewMuonTrackValidator_cfi.NewMuonTrackValidator.clone()
65 MTVhi.label_tp_effic = cms.InputTag(
"NEWcutsTpMuons")
66 MTVhi.label_tp_fake = cms.InputTag(
"NEWcutsTpMuons")
67 MTVhi.maxPt = cms.double(100)
70 NEWtrkMuonTrackVMuonAssocHI = MTVhi.clone()
71 NEWtrkMuonTrackVMuonAssocHI.associatormap =
'NEWtpToTkMuonAssociationHI' 72 NEWtrkMuonTrackVMuonAssocHI.label = [
'NEWcutsRecoTrkMuons']
73 NEWtrkMuonTrackVMuonAssocHI.muonHistoParameters = trkMuonHistoParameters
75 NEWglbMuonTrackVMuonAssocHI = MTVhi.clone()
76 NEWglbMuonTrackVMuonAssocHI.associatormap =
'NEWtpToGlbMuonAssociationHI' 77 NEWglbMuonTrackVMuonAssocHI.label = [
'globalMuons']
78 NEWglbMuonTrackVMuonAssocHI.muonHistoParameters = glbMuonHistoParameters
80 NEWstaMuonTrackVMuonAssocHI = MTVhi.clone()
81 NEWstaMuonTrackVMuonAssocHI.associatormap =
'NEWtpToStaMuonAssociationHI' 82 NEWstaMuonTrackVMuonAssocHI.label = (
'standAloneMuons',)
83 NEWstaMuonTrackVMuonAssocHI.muonHistoParameters = staMuonHistoParameters
85 NEWstaUpdMuonTrackVMuonAssocHI = MTVhi.clone()
86 NEWstaUpdMuonTrackVMuonAssocHI.associatormap =
'NEWtpToStaUpdMuonAssociationHI' 87 NEWstaUpdMuonTrackVMuonAssocHI.label = (
'standAloneMuons:UpdatedAtVtx',)
88 NEWstaUpdMuonTrackVMuonAssocHI.muonHistoParameters = staUpdMuonHistoParameters
92 NEWhiMuonValidation_seq = cms.Sequence(
93 NEWtrkMuonTrackVMuonAssocHI+
94 NEWstaMuonTrackVMuonAssocHI+
95 NEWstaUpdMuonTrackVMuonAssocHI+
96 NEWglbMuonTrackVMuonAssocHI
100 NEWhiRecoMuonPrevalidation = cms.Sequence(
103 * NEWhiMuonAssociation_seq
107 NEWhiRecoMuonValidation = cms.Sequence( NEWhiMuonValidation_seq )