1 import FWCore.ParameterSet.Config
as cms
12 from SimMuon.MCTruth.NewMuonAssociatorByHits_cfi
import NewMuonAssociatorByHitsCommonParameters
15 NEWmuonAssociatorByHitsNoSimHitsHelperTrk = muonAssociatorByHitsNoSimHitsHelper.clone()
16 NEWmuonAssociatorByHitsNoSimHitsHelperTrk.UseTracker =
True 17 NEWmuonAssociatorByHitsNoSimHitsHelperTrk.UseMuon =
False 18 NEWrecoMuonVMuAssoc_trk = NewRecoMuonValidator.clone()
19 NEWrecoMuonVMuAssoc_trk.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Trk' 20 NEWrecoMuonVMuAssoc_trk.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperTrk' 21 NEWrecoMuonVMuAssoc_trk.trackType =
'inner' 22 NEWrecoMuonVMuAssoc_trk.selection =
"isTrackerMuon" 25 NEWmuonAssociatorByHitsNoSimHitsHelperTrkPF = muonAssociatorByHitsNoSimHitsHelper.clone()
26 NEWmuonAssociatorByHitsNoSimHitsHelperTrkPF.UseTracker =
True 27 NEWmuonAssociatorByHitsNoSimHitsHelperTrkPF.UseMuon =
False 28 NEWrecoMuonVMuAssoc_trkPF = NewRecoMuonValidator.clone()
29 NEWrecoMuonVMuAssoc_trkPF.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_TrkPF' 30 NEWrecoMuonVMuAssoc_trkPF.usePFMuon =
True 31 NEWrecoMuonVMuAssoc_trkPF.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperTrkPF' 32 NEWrecoMuonVMuAssoc_trkPF.trackType =
'inner' 33 NEWrecoMuonVMuAssoc_trkPF.selection =
"isTrackerMuon & isPFMuon" 36 NEWmuonAssociatorByHitsNoSimHitsHelperStandalone = muonAssociatorByHitsNoSimHitsHelper.clone()
37 NEWmuonAssociatorByHitsNoSimHitsHelperStandalone.UseTracker =
False 38 NEWmuonAssociatorByHitsNoSimHitsHelperStandalone.UseMuon =
True 39 NEWrecoMuonVMuAssoc_sta = NewRecoMuonValidator.clone()
40 NEWrecoMuonVMuAssoc_sta.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Sta' 41 NEWrecoMuonVMuAssoc_sta.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperStandalone' 42 NEWrecoMuonVMuAssoc_sta.trackType =
'outer' 43 NEWrecoMuonVMuAssoc_sta.selection =
"isStandAloneMuon" 46 NEWmuonAssociatorByHitsNoSimHitsHelperSeedStandalone = muonAssociatorByHitsNoSimHitsHelper.clone()
47 NEWmuonAssociatorByHitsNoSimHitsHelperSeedStandalone.UseTracker =
False 48 NEWmuonAssociatorByHitsNoSimHitsHelperSeedStandalone.UseMuon =
True 49 NEWrecoMuonVMuAssoc_seedSta = NewRecoMuonValidator.clone()
50 NEWrecoMuonVMuAssoc_seedSta.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_SeedSta' 51 NEWrecoMuonVMuAssoc_seedSta.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperStandalone' 52 NEWrecoMuonVMuAssoc_seedSta.trackType =
'outer' 53 NEWrecoMuonVMuAssoc_seedSta.selection =
"" 56 NEWmuonAssociatorByHitsNoSimHitsHelperStandalonePF = muonAssociatorByHitsNoSimHitsHelper.clone()
57 NEWmuonAssociatorByHitsNoSimHitsHelperStandalonePF.UseTracker =
False 58 NEWmuonAssociatorByHitsNoSimHitsHelperStandalonePF.UseMuon =
True 59 NEWrecoMuonVMuAssoc_staPF = NewRecoMuonValidator.clone()
60 NEWrecoMuonVMuAssoc_staPF.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_StaPF' 61 NEWrecoMuonVMuAssoc_staPF.usePFMuon =
True 62 NEWrecoMuonVMuAssoc_staPF.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperStandalonePF' 63 NEWrecoMuonVMuAssoc_staPF.trackType =
'outer' 64 NEWrecoMuonVMuAssoc_staPF.selection =
"isStandAloneMuon & isPFMuon" 67 NEWmuonAssociatorByHitsNoSimHitsHelperGlobal = muonAssociatorByHitsNoSimHitsHelper.clone()
68 NEWmuonAssociatorByHitsNoSimHitsHelperGlobal.UseTracker =
True 69 NEWmuonAssociatorByHitsNoSimHitsHelperGlobal.UseMuon =
True 70 NEWrecoMuonVMuAssoc_glb = NewRecoMuonValidator.clone()
71 NEWrecoMuonVMuAssoc_glb.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Glb' 72 NEWrecoMuonVMuAssoc_glb.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperGlobal' 73 NEWrecoMuonVMuAssoc_glb.trackType =
'global' 74 NEWrecoMuonVMuAssoc_glb.selection =
"isGlobalMuon" 77 NEWmuonAssociatorByHitsNoSimHitsHelperGlobalPF = muonAssociatorByHitsNoSimHitsHelper.clone()
78 NEWmuonAssociatorByHitsNoSimHitsHelperGlobalPF.UseTracker =
True 79 NEWmuonAssociatorByHitsNoSimHitsHelperGlobalPF.UseMuon =
True 80 NEWrecoMuonVMuAssoc_glbPF = NewRecoMuonValidator.clone()
81 NEWrecoMuonVMuAssoc_glbPF.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_GlbPF' 82 NEWrecoMuonVMuAssoc_glbPF.usePFMuon =
True 83 NEWrecoMuonVMuAssoc_glbPF.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperGlobalPF' 84 NEWrecoMuonVMuAssoc_glbPF.trackType =
'global' 85 NEWrecoMuonVMuAssoc_glbPF.selection =
"isGlobalMuon & isPFMuon" 88 NEWmuonAssociatorByHitsNoSimHitsHelperTight = muonAssociatorByHitsNoSimHitsHelper.clone()
89 NEWmuonAssociatorByHitsNoSimHitsHelperTight.UseTracker =
True 90 NEWmuonAssociatorByHitsNoSimHitsHelperTight.UseMuon =
True 91 NEWrecoMuonVMuAssoc_tgt = NewRecoMuonValidator.clone()
92 NEWrecoMuonVMuAssoc_tgt.subDir =
'Muons/RecoMuonV/RecoMuon_MuonAssoc_Tgt' 93 NEWrecoMuonVMuAssoc_tgt.muAssocLabel =
'NEWmuonAssociatorByHitsNoSimHitsHelperTight' 94 NEWrecoMuonVMuAssoc_tgt.trackType =
'global' 95 NEWrecoMuonVMuAssoc_tgt.selection =
'isGlobalMuon' 96 NEWrecoMuonVMuAssoc_tgt.wantTightMuon =
True 97 NEWrecoMuonVMuAssoc_tgt.beamSpot =
'offlineBeamSpot' 98 NEWrecoMuonVMuAssoc_tgt.primaryVertex =
'offlinePrimaryVertices' 104 NEWmuonValidationRMV_seq = cms.Sequence(
105 NEWmuonAssociatorByHitsNoSimHitsHelperTrk +NEWrecoMuonVMuAssoc_trk
106 +NEWmuonAssociatorByHitsNoSimHitsHelperStandalone +NEWrecoMuonVMuAssoc_sta
107 +NEWmuonAssociatorByHitsNoSimHitsHelperGlobal +NEWrecoMuonVMuAssoc_glb
108 +NEWmuonAssociatorByHitsNoSimHitsHelperTight +NEWrecoMuonVMuAssoc_tgt