CMS 3D CMS Logo

muonValidationHLT_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 # Configurations for MuonTrackValidators
7 import Validation.RecoMuon.MuonTrackValidator_cfi
8 
9 l2MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
10 l2MuonTrackV.label_tp_effic = 'mix:MergedTrackTruth'
11 l2MuonTrackV.label = ('hltL2Muons',)
12 l2MuonTrackV.associatormap = 'tpToL2TrackAssociation'
13 l2MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
14 l2MuonTrackV.dirName = 'HLT/Muon/MultiTrack/'
15 #l2MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
16 l2MuonTrackV.ignoremissingtrackcollection=True
17 l2MuonTrackV.usetracker = False
18 l2MuonTrackV.usemuon = True
19 
20 l2UpdMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
21 l2UpdMuonTrackV.label_tp_effic = 'mix:MergedTrackTruth'
22 l2UpdMuonTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
23 l2UpdMuonTrackV.associatormap = 'tpToL2UpdTrackAssociation'
24 l2UpdMuonTrackV.associators = ('TrackAssociatorByDeltaR',)
25 l2UpdMuonTrackV.dirName = 'HLT/Muon/MultiTrack/'
26 #l2UpdMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
27 l2UpdMuonTrackV.ignoremissingtrackcollection=True
28 l2UpdMuonTrackV.usetracker = False
29 l2UpdMuonTrackV.usemuon = True
30 
31 l3MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
32 l3MuonTrackV.label_tp_effic = 'mix:MergedTrackTruth'
33 l3MuonTrackV.associatormap = 'tpToL3TrackAssociation'
34 l3MuonTrackV.label = ('hltL3Muons',)
35 l3MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
36 l3MuonTrackV.dirName = 'HLT/Muon/MultiTrack/'
37 #l3MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
38 l3MuonTrackV.ignoremissingtrackcollection=True
39 l3MuonTrackV.usetracker = True
40 l3MuonTrackV.usemuon = True
41 
42 l3TkMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
43 l3TkMuonTrackV.label_tp_effic = 'mix:MergedTrackTruth'
44 l3TkMuonTrackV.associatormap = 'tpToL3TkTrackTrackAssociation'
45 l3TkMuonTrackV.label = ('hltL3TkTracksFromL2',)
46 l3TkMuonTrackV.associators = ('OnlineTrackAssociatorByHits',)
47 l3TkMuonTrackV.dirName = 'HLT/Muon/MultiTrack/'
48 #l3TkMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
49 l3TkMuonTrackV.ignoremissingtrackcollection=True
50 l3TkMuonTrackV.usetracker = True
51 l3TkMuonTrackV.usemuon = False
52 
53 l3TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
54 l3TkMuonMuTrackV.label_tp_effic = 'mix:MergedTrackTruth'
55 l3TkMuonMuTrackV.associatormap = 'tpToL3TkMuonAssociation'
56 l3TkMuonMuTrackV.label = ('hltL3TkTracksFromL2:',)
57 l3TkMuonMuTrackV.associators = ('MuonAssociationByHits',)
58 l3TkMuonMuTrackV.dirName = 'HLT/Muon/MultiTrack/'
59 #l3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
60 l3TkMuonMuTrackV.ignoremissingtrackcollection=True
61 l3TkMuonMuTrackV.usetracker = True
62 l3TkMuonMuTrackV.usemuon = False
63 
64 l2MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
65 l2MuonMuTrackV.label_tp_effic = 'mix:MergedTrackTruth'
66 l2MuonMuTrackV.associatormap = 'tpToL2MuonAssociation'
67 l2MuonMuTrackV.label = ('hltL2Muons',)
68 l2MuonMuTrackV.associators = ('MuonAssociationByHits',)
69 l2MuonMuTrackV.dirName = 'HLT/Muon/MultiTrack/'
70 #l2MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
71 l2MuonMuTrackV.ignoremissingtrackcollection=True
72 l2MuonMuTrackV.usetracker = False
73 l2MuonMuTrackV.usemuon = True
74 
75 l2UpdMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
76 l2UpdMuonMuTrackV.label_tp_effic = 'mix:MergedTrackTruth'
77 l2UpdMuonMuTrackV.associatormap = 'tpToL2UpdMuonAssociation'
78 l2UpdMuonMuTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
79 l2UpdMuonMuTrackV.associators = ('MuonAssociationByHits',)
80 l2UpdMuonMuTrackV.dirName = 'HLT/Muon/MultiTrack/'
81 #l2UpdMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
82 l2UpdMuonMuTrackV.ignoremissingtrackcollection=True
83 l2UpdMuonMuTrackV.usetracker = False
84 l2UpdMuonMuTrackV.usemuon = True
85 
86 l3MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
87 l3MuonMuTrackV.label_tp_effic = 'mix:MergedTrackTruth'
88 l3MuonMuTrackV.associatormap = 'tpToL3MuonAssociation'
89 l3MuonMuTrackV.label = ('hltL3Muons:',)
90 l3MuonMuTrackV.associators = ('MuonAssociationByHits',)
91 l3MuonMuTrackV.dirName = 'HLT/Muon/MultiTrack/'
92 #l3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
93 l3MuonMuTrackV.ignoremissingtrackcollection=True
94 l3MuonMuTrackV.usetracker = True
95 l3MuonMuTrackV.usemuon = True
96 
97 
98 # The full Muon HLT validation sequence
99 muonValidationHLT_seq = cms.Sequence(tpToL2MuonAssociation + l2MuonMuTrackV
100  +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
101  +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
102  +tpToL3MuonAssociation + l3MuonMuTrackV
103  )
104 
105 recoMuonValidationHLT_seq = cms.Sequence(muonValidationHLT_seq)