1 import FWCore.ParameterSet.Config
as cms
6 import PhysicsTools.RecoAlgos.recoTrackSelector_cfi
7 cutsRecoTrkMuons = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
8 cutsRecoTrkMuons.src =
"hiGeneralTracks"
9 cutsRecoTrkMuons.quality = []
10 cutsRecoTrkMuons.ptMin = 0.0
13 import PhysicsTools.RecoAlgos.trackingParticleSelector_cfi
14 cutsTpMuons = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
15 cutsTpMuons.ptMin = 0.0
22 tpToTkMuonAssociation.tracksTag =
'cutsRecoTrkMuons'
23 tpToTkMuonAssociation.tpTag =
'cutsTpMuons'
26 tpToStaMuonAssociation.tpTag =
'cutsTpMuons'
27 tpToStaUpdMuonAssociation.tpTag =
'cutsTpMuons'
30 tpToGlbMuonAssociation.tpTag =
'cutsTpMuons'
31 tpToGlbMuonAssociation.tracksTag =
'globalMuons'
34 tpToTkMuonAssociation.PurityCut_track = 0.75
35 tpToStaMuonAssociation.UseMuon =
True
36 tpToStaMuonAssociation.PurityCut_muon = 0.75
37 tpToStaUpdMuonAssociation.UseMuon =
True
38 tpToStaUpdMuonAssociation.PurityCut_muon = 0.75
39 tpToGlbMuonAssociation.UseTracker =
True
40 tpToGlbMuonAssociation.PurityCut_track = 0.75
41 tpToGlbMuonAssociation.UseMuon =
True
42 tpToGlbMuonAssociation.PurityCut_muon = 0.75
46 hiMuonAssociation_seq = cms.Sequence(
47 tpToTkMuonAssociation+
48 tpToStaMuonAssociation+
49 tpToStaUpdMuonAssociation+
50 tpToGlbMuonAssociation
56 trkMuonTrackVTrackAssoc.associatormap =
'tpToTkMuonAssociation'
57 trkMuonTrackVTrackAssoc.label = [
'cutsRecoTrkMuons']
58 trkMuonTrackVTrackAssoc.label_tp_effic =
'cutsTpMuons'
59 trkMuonTrackVTrackAssoc.label_tp_fake =
'cutsTpMuons'
61 glbMuonTrackVMuonAssoc.label = [
'globalMuons']
62 glbMuonTrackVMuonAssoc.label_tp_effic =
'cutsTpMuons'
63 glbMuonTrackVMuonAssoc.label_tp_fake =
'cutsTpMuons'
65 staMuonTrackVMuonAssoc.label_tp_effic =
'cutsTpMuons'
66 staMuonTrackVMuonAssoc.label_tp_fake =
'cutsTpMuons'
68 staUpdMuonTrackVMuonAssoc.label_tp_effic =
'cutsTpMuons'
69 staUpdMuonTrackVMuonAssoc.label_tp_fake =
'cutsTpMuons'
72 trkMuonTrackVTrackAssoc.maxpT = cms.double(100)
73 glbMuonTrackVMuonAssoc.maxpT = cms.double(100)
74 staMuonTrackVMuonAssoc.maxpT = cms.double(100)
75 staUpdMuonTrackVMuonAssoc.maxpT = cms.double(100)
78 hiMuonValidation_seq = cms.Sequence(
79 trkMuonTrackVTrackAssoc+
80 staMuonTrackVMuonAssoc+
81 staUpdMuonTrackVMuonAssoc+
82 glbMuonTrackVMuonAssoc
88 hiRecoMuonPrevalidation = cms.Sequence(
91 * hiMuonAssociation_seq
95 hiRecoMuonValidation = cms.Sequence( hiMuonValidation_seq )