1 import FWCore.ParameterSet.Config
as cms
8 import Validation.RecoMuon.MuonTrackValidator_cfi
9 MTVhlt = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
15 MTVhlt.label_tp = (
"TPmu")
16 MTVhlt.label_tp_refvector =
True
17 MTVhlt.muonTPSelector.src = (
"TPmu")
18 MTVhlt.dirName =
'HLT/Muon/MuonTrack/'
20 MTVhlt.ignoremissingtrackcollection=
True
23 l2MuonMuTrackV = MTVhlt.clone()
24 l2MuonMuTrackV.associatormap =
'tpToL2MuonAssociation'
25 l2MuonMuTrackV.label = (
'hltL2Muons',)
26 l2MuonMuTrackV.muonHistoParameters = staMuonHistoParameters
28 l2UpdMuonMuTrackV = MTVhlt.clone()
29 l2UpdMuonMuTrackV.associatormap =
'tpToL2UpdMuonAssociation'
30 l2UpdMuonMuTrackV.label = (
'hltL2Muons:UpdatedAtVtx',)
31 l2UpdMuonMuTrackV.muonHistoParameters = staUpdMuonHistoParameters
33 l3OITkMuonMuTrackV = MTVhlt.clone()
34 l3OITkMuonMuTrackV.associatormap =
'tpToL3OITkMuonAssociation'
35 l3OITkMuonMuTrackV.label = (
'hltIterL3OIMuonTrackSelectionHighPurity:',)
36 l3OITkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
38 l3TkMuonMuTrackV = MTVhlt.clone()
39 l3TkMuonMuTrackV.associatormap =
'tpToL3TkMuonAssociation'
40 l3TkMuonMuTrackV.label = (
'hltIterL3MuonMerged:',)
41 l3TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
43 l3IOFromL1TkMuonMuTrackV = MTVhlt.clone()
44 l3IOFromL1TkMuonMuTrackV.associatormap =
'tpToL3FromL1TkMuonAssociation'
45 l3IOFromL1TkMuonMuTrackV.label = (
'hltIterL3MuonAndMuonFromL1Merged:',)
46 l3IOFromL1TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
48 l3GlbMuonMuTrackV = MTVhlt.clone()
49 l3GlbMuonMuTrackV.associatormap =
'tpToL3GlbMuonAssociation'
50 l3GlbMuonMuTrackV.label = (
'hltIterL3GlbMuon:',)
51 l3GlbMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
53 l3NoIDMuonMuTrackV = MTVhlt.clone()
54 l3NoIDMuonMuTrackV.associatormap =
'tpToL3NoIDMuonAssociation'
55 l3NoIDMuonMuTrackV.label = (
'hltIterL3MuonsNoIDTracks:',)
56 l3NoIDMuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
58 l3MuonMuTrackV = MTVhlt.clone()
59 l3MuonMuTrackV.associatormap =
'tpToL3MuonAssociation'
60 l3MuonMuTrackV.label = (
'hltIterL3MuonsTracks:',)
61 l3MuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
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
77 recoMuonValidationHLT_seq = cms.Sequence(
78 cms.SequencePlaceholder(
"TPmu") +