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
28 NEWtpToTkMuonAssociationHI = hiMABH.clone()
29 NEWtpToTkMuonAssociationHI.tracksTag =
'NEWcutsRecoTrkMuons' 30 NEWtpToTkMuonAssociationHI.UseTracker =
True 31 NEWtpToTkMuonAssociationHI.UseMuon =
False 34 NEWtpToStaMuonAssociationHI = hiMABH.clone()
35 NEWtpToStaMuonAssociationHI.tracksTag =
'standAloneMuons' 36 NEWtpToStaMuonAssociationHI.UseTracker =
False 37 NEWtpToStaMuonAssociationHI.UseMuon =
True 39 NEWtpToStaUpdMuonAssociationHI = hiMABH.clone()
40 NEWtpToStaUpdMuonAssociationHI.tracksTag =
'standAloneMuons:UpdatedAtVtx' 41 NEWtpToStaUpdMuonAssociationHI.UseTracker =
False 42 NEWtpToStaUpdMuonAssociationHI.UseMuon =
True 45 NEWtpToGlbMuonAssociationHI = hiMABH.clone()
46 NEWtpToGlbMuonAssociationHI.tracksTag =
'globalMuons' 47 NEWtpToGlbMuonAssociationHI.UseTracker =
True 48 NEWtpToGlbMuonAssociationHI.UseMuon =
True 53 NEWhiMuonAssociation_seq = cms.Sequence(
54 NEWtpToTkMuonAssociationHI+
55 NEWtpToStaMuonAssociationHI+
56 NEWtpToStaUpdMuonAssociationHI+
57 NEWtpToGlbMuonAssociationHI
64 import Validation.RecoMuon.NewMuonTrackValidator_cfi
65 MTVhi = Validation.RecoMuon.NewMuonTrackValidator_cfi.NewMuonTrackValidator.clone()
66 MTVhi.label_tp_effic = cms.InputTag(
"NEWcutsTpMuons")
67 MTVhi.label_tp_fake = cms.InputTag(
"NEWcutsTpMuons")
68 MTVhi.maxPt = cms.double(100)
71 NEWtrkMuonTrackVMuonAssocHI = MTVhi.clone()
72 NEWtrkMuonTrackVMuonAssocHI.associatormap =
'NEWtpToTkMuonAssociationHI' 73 NEWtrkMuonTrackVMuonAssocHI.label = [
'NEWcutsRecoTrkMuons']
74 NEWtrkMuonTrackVMuonAssocHI.muonHistoParameters = trkMuonHistoParameters
76 NEWglbMuonTrackVMuonAssocHI = MTVhi.clone()
77 NEWglbMuonTrackVMuonAssocHI.associatormap =
'NEWtpToGlbMuonAssociationHI' 78 NEWglbMuonTrackVMuonAssocHI.label = [
'globalMuons']
79 NEWglbMuonTrackVMuonAssocHI.muonHistoParameters = glbMuonHistoParameters
81 NEWstaMuonTrackVMuonAssocHI = MTVhi.clone()
82 NEWstaMuonTrackVMuonAssocHI.associatormap =
'NEWtpToStaMuonAssociationHI' 83 NEWstaMuonTrackVMuonAssocHI.label = (
'standAloneMuons',)
84 NEWstaMuonTrackVMuonAssocHI.muonHistoParameters = staMuonHistoParameters
86 NEWstaUpdMuonTrackVMuonAssocHI = MTVhi.clone()
87 NEWstaUpdMuonTrackVMuonAssocHI.associatormap =
'NEWtpToStaUpdMuonAssociationHI' 88 NEWstaUpdMuonTrackVMuonAssocHI.label = (
'standAloneMuons:UpdatedAtVtx',)
89 NEWstaUpdMuonTrackVMuonAssocHI.muonHistoParameters = staUpdMuonHistoParameters
93 NEWhiMuonValidation_seq = cms.Sequence(
94 NEWtrkMuonTrackVMuonAssocHI+
95 NEWstaMuonTrackVMuonAssocHI+
96 NEWstaUpdMuonTrackVMuonAssocHI+
97 NEWglbMuonTrackVMuonAssocHI
101 NEWhiRecoMuonPrevalidation = cms.Sequence(
104 * NEWhiMuonAssociation_seq
108 NEWhiRecoMuonValidation = cms.Sequence( NEWhiMuonValidation_seq )