1 import FWCore.ParameterSet.Config
as cms
11 from SimMuon.MCTruth.MuonAssociatorByHits_cfi
import muonAssociatorByHitsCommonParameters
14 muonAssociatorByHitsNoSimHitsHelperTrk = muonAssociatorByHitsNoSimHitsHelper.clone(
18 recoMuonVMuAssoc_trk = recoMuonValidator.clone(
19 subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Trk',
20 muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperTrk',
22 selection =
"isTrackerMuon",
26 recoMuonVMuAssoc_trk.tpSelector.src = (
"TPmu")
28 muonAssociatorByHitsNoSimHitsHelperStandalone = muonAssociatorByHitsNoSimHitsHelper.clone(
32 recoMuonVMuAssoc_sta = recoMuonValidator.clone(
33 subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Sta',
34 muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperStandalone',
36 selection =
"isStandAloneMuon",
41 recoMuonVMuAssoc_sta.tpSelector.src = (
"TPmu")
43 muonAssociatorByHitsNoSimHitsHelperGlobal = muonAssociatorByHitsNoSimHitsHelper.clone(
47 recoMuonVMuAssoc_glb = recoMuonValidator.clone(
48 subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Glb',
49 muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperGlobal',
51 selection =
"isGlobalMuon",
55 recoMuonVMuAssoc_glb.tpSelector.src = (
"TPmu")
57 muonAssociatorByHitsNoSimHitsHelperTight = muonAssociatorByHitsNoSimHitsHelper.clone(
61 recoMuonVMuAssoc_tgt = recoMuonValidator.clone(
62 subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Tgt',
63 muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperTight',
65 selection =
'isGlobalMuon',
67 beamSpot =
'offlineBeamSpot',
68 primaryVertex =
'offlinePrimaryVertices',
72 recoMuonVMuAssoc_tgt.tpSelector.src = (
"TPmu")
77 muonValidationRMV_seq = cms.Sequence(
78 muonAssociatorByHitsNoSimHitsHelperTrk +recoMuonVMuAssoc_trk
79 +muonAssociatorByHitsNoSimHitsHelperStandalone +recoMuonVMuAssoc_sta
80 +muonAssociatorByHitsNoSimHitsHelperGlobal +recoMuonVMuAssoc_glb
81 +muonAssociatorByHitsNoSimHitsHelperTight +recoMuonVMuAssoc_tgt