1 import FWCore.ParameterSet.Config
as cms
8 import SimMuon.MCTruth.MuonAssociatorByHits_cfi
9 hiMABH = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone(
18 tpTag =
'cutsTpMuons',
20 PurityCut_track = 0.75,
29 tpToTkMuonAssociationHI = hiMABH.clone(
30 tracksTag =
'cutsRecoTrkMuons',
35 tpToStaMuonAssociationHI = hiMABH.clone(
36 tracksTag =
'standAloneMuons',
40 tpToStaUpdMuonAssociationHI = hiMABH.clone(
41 tracksTag =
'standAloneMuons:UpdatedAtVtx',
46 tpToGlbMuonAssociationHI = hiMABH.clone(
47 tracksTag =
'globalMuons',
54 hiMuonAssociation_seq = cms.Sequence(
55 tpToTkMuonAssociationHI+
56 tpToStaMuonAssociationHI+
57 tpToStaUpdMuonAssociationHI+
58 tpToGlbMuonAssociationHI
65 import Validation.RecoMuon.MuonTrackValidator_cfi
66 MTVhi = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
67 MTVhi.label_tp_effic = cms.InputTag(
"cutsTpMuons")
68 MTVhi.label_tp_fake = cms.InputTag(
"cutsTpMuons")
69 MTVhi.maxPt = cms.double(100)
72 trkMuonTrackVMuonAssocHI = MTVhi.clone(
73 associatormap =
'tpToTkMuonAssociationHI',
74 label = [
'cutsRecoTrkMuons'],
75 muonHistoParameters = trkMuonHistoParameters
77 glbMuonTrackVMuonAssocHI = MTVhi.clone(
78 associatormap =
'tpToGlbMuonAssociationHI',
79 label = [
'globalMuons'],
80 muonHistoParameters = glbMuonHistoParameters
82 staMuonTrackVMuonAssocHI = MTVhi.clone(
83 associatormap =
'tpToStaMuonAssociationHI',
84 label = (
'standAloneMuons',),
85 muonHistoParameters = staMuonHistoParameters
87 staUpdMuonTrackVMuonAssocHI = MTVhi.clone(
88 associatormap =
'tpToStaUpdMuonAssociationHI',
89 label = (
'standAloneMuons:UpdatedAtVtx',),
90 muonHistoParameters = staUpdMuonHistoParameters
94 hiMuonValidation_seq = cms.Sequence(
95 trkMuonTrackVMuonAssocHI+
96 staMuonTrackVMuonAssocHI+
97 staUpdMuonTrackVMuonAssocHI+
98 glbMuonTrackVMuonAssocHI
102 hiRecoMuonPrevalidation = cms.Sequence(
105 * hiMuonAssociation_seq
109 hiRecoMuonValidation = cms.Sequence( hiMuonValidation_seq )