CMS 3D CMS Logo

muonValidationHLT_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 import Validation.RecoMuon.MuonTrackValidator_cfi
8 
9 l2MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
10 l2MuonMuTrackV.associatormap = 'tpToL2MuonAssociation'
11 l2MuonMuTrackV.label = ('hltL2Muons',)
12 l2MuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
13 #l2MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
14 l2MuonMuTrackV.ignoremissingtrackcollection=True
15 l2MuonMuTrackV.muonHistoParameters = staMuonHistoParameters
16 
17 l2UpdMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
18 l2UpdMuonMuTrackV.associatormap = 'tpToL2UpdMuonAssociation'
19 l2UpdMuonMuTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
20 l2UpdMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
21 #l2UpdMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
22 l2UpdMuonMuTrackV.ignoremissingtrackcollection=True
23 l2UpdMuonMuTrackV.muonHistoParameters = staUpdMuonHistoParameters
24 
25 l3OITkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
26 l3OITkMuonMuTrackV.associatormap = 'tpToL3OITkMuonAssociation'
27 l3OITkMuonMuTrackV.label = ('hltIterL3OIMuonTrackSelectionHighPurity:',)
28 l3OITkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
29 #lOI3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
30 l3OITkMuonMuTrackV.ignoremissingtrackcollection=True
31 l3OITkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
32 
33 l3TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
34 l3TkMuonMuTrackV.associatormap = 'tpToL3TkMuonAssociation'
35 l3TkMuonMuTrackV.label = ('hltIterL3MuonMerged:',)
36 l3TkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
37 #l3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
38 l3TkMuonMuTrackV.ignoremissingtrackcollection=True
39 l3TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
40 
41 l3IOFromL1TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
42 l3IOFromL1TkMuonMuTrackV.associatormap = 'tpToL3FromL1TkMuonAssociation'
43 l3IOFromL1TkMuonMuTrackV.label = ('hltIterL3MuonAndMuonFromL1Merged:',)
44 l3IOFromL1TkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
45 #lIOFromL13TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
46 l3IOFromL1TkMuonMuTrackV.ignoremissingtrackcollection=True
47 l3IOFromL1TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
48 
49 l3GlbMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
50 l3GlbMuonMuTrackV.associatormap = 'tpToL3GlbMuonAssociation'
51 l3GlbMuonMuTrackV.label = ('hltIterL3GlbMuon:',)
52 l3GlbMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
53 #lGlb3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
54 l3GlbMuonMuTrackV.ignoremissingtrackcollection=True
55 l3GlbMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
56 
57 l3NoIDMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
58 l3NoIDMuonMuTrackV.associatormap = 'tpToL3NoIDMuonAssociation'
59 l3NoIDMuonMuTrackV.label = ('hltIterL3MuonsNoIDTracks:',)
60 l3NoIDMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
61 #lNoID3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
62 l3NoIDMuonMuTrackV.ignoremissingtrackcollection=True
63 l3NoIDMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
64 
65 l3MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
66 l3MuonMuTrackV.associatormap = 'tpToL3MuonAssociation'
67 l3MuonMuTrackV.label = ('hltIterL3MuonsTracks:',)
68 l3MuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
69 #l3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
70 l3MuonMuTrackV.ignoremissingtrackcollection=True
71 l3MuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
72 
73 #
74 # The full Muon HLT validation sequence
75 #
76 muonValidationHLT_seq = cms.Sequence(
77  tpToL2MuonAssociation + l2MuonMuTrackV
78  +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
79  +tpToL3OITkMuonAssociation + l3OITkMuonMuTrackV
80  +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
81  +tpToL3FromL1TkMuonAssociation + l3IOFromL1TkMuonMuTrackV
82  +tpToL3GlbMuonAssociation + l3GlbMuonMuTrackV
83  +hltIterL3MuonsNoIDTracks_seq + tpToL3NoIDMuonAssociation + l3NoIDMuonMuTrackV
84  +hltIterL3MuonsTracks_seq + tpToL3MuonAssociation + l3MuonMuTrackV
85  )
86 
87 recoMuonValidationHLT_seq = cms.Sequence(
88  muonValidationHLT_seq
89  )
track_selectors_cff
histoParameters_cff
selectors_cff
associators_cff