CMS 3D CMS Logo

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