CMS 3D CMS Logo

muonValidationHLT_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 import Validation.RecoMuon.MuonTrackValidator_cfi
7 
8 l3TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
9 l3TkMuonMuTrackV.associatormap = 'tpToL3TkMuonAssociation'
10 l3TkMuonMuTrackV.label = ('hltIterL3MuonMerged:',)
11 l3TkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
12 #l3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
13 l3TkMuonMuTrackV.ignoremissingtrackcollection=True
14 l3TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
15 
16 l3OITkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
17 l3OITkMuonMuTrackV.associatormap = 'tpToL3OITkMuonAssociation'
18 l3OITkMuonMuTrackV.label = ('hltIterL3OIMuonTrackSelectionHighPurity:',)
19 l3OITkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
20 #lOI3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
21 l3OITkMuonMuTrackV.ignoremissingtrackcollection=True
22 l3OITkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
23 
24 l3IOFromL1TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
25 l3IOFromL1TkMuonMuTrackV.associatormap = 'tpToL3FromL1TkMuonAssociation'
26 l3IOFromL1TkMuonMuTrackV.label = ('hltIterL3MuonAndMuonFromL1Merged:',)
27 l3IOFromL1TkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
28 #lIOFromL13TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
29 l3IOFromL1TkMuonMuTrackV.ignoremissingtrackcollection=True
30 l3IOFromL1TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
31 
32 l3MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
33 l3MuonMuTrackV.associatormap = 'tpToL3MuonAssociation'
34 l3MuonMuTrackV.label = ('hltIterL3Muons:',)
35 l3MuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
36 #l3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
37 l3MuonMuTrackV.ignoremissingtrackcollection=True
38 l3MuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
39 
40 l3GlbMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
41 l3GlbMuonMuTrackV.associatormap = 'tpToL3GlbMuonAssociation'
42 l3GlbMuonMuTrackV.label = ('hltIterL3GlbMuon:',)
43 l3GlbMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
44 #lGlb3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
45 l3GlbMuonMuTrackV.ignoremissingtrackcollection=True
46 l3GlbMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
47 
48 l3NoIDMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
49 l3NoIDMuonMuTrackV.associatormap = 'tpToL3NoIDMuonAssociation'
50 l3NoIDMuonMuTrackV.label = ('hltIterL3MuonsNoID:',)
51 l3NoIDMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
52 #lNoID3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
53 l3NoIDMuonMuTrackV.ignoremissingtrackcollection=True
54 l3NoIDMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
55 #
56 # The full Muon HLT validation sequence
57 #
58 muonValidationHLT_seq = cms.Sequence(
59  tpToL3TkMuonAssociation + l3TkMuonMuTrackV
60  +tpToL3OITkMuonAssociation + l3OITkMuonMuTrackV
61  +tpToL3FromL1TkMuonAssociation + l3IOFromL1TkMuonMuTrackV
62  +tpToL3MuonAssociation + l3MuonMuTrackV
63  +tpToL3GlbMuonAssociation + l3GlbMuonMuTrackV
64  +tpToL3NoIDMuonAssociation + l3NoIDMuonMuTrackV
65  )
66 
67 recoMuonValidationHLT_seq = cms.Sequence(
68  muonValidationHLT_seq
69  )