1 import FWCore.ParameterSet.Config
as cms
11 from SimMuon.MCTruth.MuonAssociatorByHits_cfi
import muonAssociatorByHitsCommonParameters
14 muonAssociatorByHitsNoSimHitsHelperTrk = muonAssociatorByHitsNoSimHitsHelper.clone()
15 muonAssociatorByHitsNoSimHitsHelperTrk.UseTracker =
True
16 muonAssociatorByHitsNoSimHitsHelperTrk.UseMuon =
False
17 recoMuonVMuAssoc_trk = recoMuonValidator.clone()
18 recoMuonVMuAssoc_trk.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Trk'
19 recoMuonVMuAssoc_trk.muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperTrk'
20 recoMuonVMuAssoc_trk.trackType =
'inner'
21 recoMuonVMuAssoc_trk.selection =
"isTrackerMuon"
22 recoMuonVMuAssoc_trk.simLabel = (
"TPmu")
23 recoMuonVMuAssoc_trk.tpRefVector =
True
24 recoMuonVMuAssoc_trk.tpSelector.src = (
"TPmu")
27 muonAssociatorByHitsNoSimHitsHelperStandalone = muonAssociatorByHitsNoSimHitsHelper.clone()
28 muonAssociatorByHitsNoSimHitsHelperStandalone.UseTracker =
False
29 muonAssociatorByHitsNoSimHitsHelperStandalone.UseMuon =
True
30 recoMuonVMuAssoc_sta = recoMuonValidator.clone()
31 recoMuonVMuAssoc_sta.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Sta'
32 recoMuonVMuAssoc_sta.muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperStandalone'
33 recoMuonVMuAssoc_sta.trackType =
'outer'
34 recoMuonVMuAssoc_sta.selection =
"isStandAloneMuon"
35 recoMuonVMuAssoc_sta.simLabel = (
"TPmu")
36 recoMuonVMuAssoc_sta.tpRefVector =
True
37 recoMuonVMuAssoc_sta.tpSelector.src = (
"TPmu")
40 muonAssociatorByHitsNoSimHitsHelperGlobal = muonAssociatorByHitsNoSimHitsHelper.clone()
41 muonAssociatorByHitsNoSimHitsHelperGlobal.UseTracker =
True
42 muonAssociatorByHitsNoSimHitsHelperGlobal.UseMuon =
True
43 recoMuonVMuAssoc_glb = recoMuonValidator.clone()
44 recoMuonVMuAssoc_glb.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Glb'
45 recoMuonVMuAssoc_glb.muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperGlobal'
46 recoMuonVMuAssoc_glb.trackType =
'global'
47 recoMuonVMuAssoc_glb.selection =
"isGlobalMuon"
48 recoMuonVMuAssoc_glb.simLabel = (
"TPmu")
49 recoMuonVMuAssoc_glb.tpRefVector =
True
50 recoMuonVMuAssoc_glb.tpSelector.src = (
"TPmu")
53 muonAssociatorByHitsNoSimHitsHelperTight = muonAssociatorByHitsNoSimHitsHelper.clone()
54 muonAssociatorByHitsNoSimHitsHelperTight.UseTracker =
True
55 muonAssociatorByHitsNoSimHitsHelperTight.UseMuon =
True
56 recoMuonVMuAssoc_tgt = recoMuonValidator.clone()
57 recoMuonVMuAssoc_tgt.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Tgt'
58 recoMuonVMuAssoc_tgt.muAssocLabel =
'muonAssociatorByHitsNoSimHitsHelperTight'
59 recoMuonVMuAssoc_tgt.trackType =
'global'
60 recoMuonVMuAssoc_tgt.selection =
'isGlobalMuon'
61 recoMuonVMuAssoc_tgt.wantTightMuon =
True
62 recoMuonVMuAssoc_tgt.beamSpot =
'offlineBeamSpot'
63 recoMuonVMuAssoc_tgt.primaryVertex =
'offlinePrimaryVertices'
64 recoMuonVMuAssoc_tgt.simLabel = (
"TPmu")
65 recoMuonVMuAssoc_tgt.tpRefVector =
True
66 recoMuonVMuAssoc_tgt.tpSelector.src = (
"TPmu")
72 muonValidationRMV_seq = cms.Sequence(
73 muonAssociatorByHitsNoSimHitsHelperTrk +recoMuonVMuAssoc_trk
74 +muonAssociatorByHitsNoSimHitsHelperStandalone +recoMuonVMuAssoc_sta
75 +muonAssociatorByHitsNoSimHitsHelperGlobal +recoMuonVMuAssoc_glb
76 +muonAssociatorByHitsNoSimHitsHelperTight +recoMuonVMuAssoc_tgt