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 = "mix:MergedTrackTruth",
12 # label_tp_refvector = False,
13 # muonTPSelector = dict(muonTPSet),
14 
15 label_tp = ("TPmu"),
16 label_tp_refvector = True,
17 dirName = 'HLT/Muon/MuonTrack/',
18 #beamSpot = 'hltOfflineBeamSpot',
19 ignoremissingtrackcollection=True
20 )
21 MTVhlt.muonTPSelector.src = ("TPmu")
22 
23 
24 l2MuonMuTrackV = MTVhlt.clone(
25  associatormap = 'tpToL2MuonAssociation',
26  label = ('hltL2Muons',),
27  muonHistoParameters = staMuonHistoParameters
28 )
29 l2UpdMuonMuTrackV = MTVhlt.clone(
30  associatormap = 'tpToL2UpdMuonAssociation',
31  label = ('hltL2Muons:UpdatedAtVtx',),
32  muonHistoParameters = staUpdMuonHistoParameters
33 )
34 l3OITkMuonMuTrackV = MTVhlt.clone(
35  associatormap = 'tpToL3OITkMuonAssociation',
36  label = ('hltIterL3OIMuonTrackSelectionHighPurity:',),
37  muonHistoParameters = trkMuonHistoParameters
38 )
39 l3TkMuonMuTrackV = MTVhlt.clone(
40  associatormap = 'tpToL3TkMuonAssociation',
41  label = ('hltIterL3MuonMerged:',),
42  muonHistoParameters = trkMuonHistoParameters
43 )
44 l3IOFromL1TkMuonMuTrackV = MTVhlt.clone(
45  associatormap = 'tpToL3FromL1TkMuonAssociation',
46  label = ('hltIterL3MuonAndMuonFromL1Merged:',),
47  muonHistoParameters = trkMuonHistoParameters
48 )
49 l0l3FromL1TkMuonMuTrackV = MTVhlt.clone(
50  associatormap = 'tpToL0L3FromL1TkMuonAssociation',
51  label = ('hltIter0IterL3FromL1MuonTrackSelectionHighPurity:',),
52  muonHistoParameters = trkMuonHistoParameters
53 )
54 l3GlbMuonMuTrackV = MTVhlt.clone(
55  associatormap = 'tpToL3GlbMuonAssociation',
56  label = ('hltIterL3GlbMuon:',),
57  muonHistoParameters = glbMuonHistoParameters
58 )
59 l3NoIDMuonMuTrackV = MTVhlt.clone(
60  associatormap = 'tpToL3NoIDMuonAssociation',
61  label = ('hltIterL3MuonsNoIDTracks:',),
62  muonHistoParameters = glbMuonHistoParameters
63 )
64 l3MuonMuTrackV = MTVhlt.clone(
65  associatormap = 'tpToL3MuonAssociation',
66  label = ('hltIterL3MuonsTracks:',),
67  muonHistoParameters = glbMuonHistoParameters
68 )
69 #
70 # The full Muon HLT validation sequence
71 #
72 muonValidationHLT_seq = cms.Sequence(
73  tpToL2MuonAssociation + l2MuonMuTrackV
74  +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
75  +tpToL3OITkMuonAssociation + l3OITkMuonMuTrackV
76  +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
77  +tpToL3FromL1TkMuonAssociation + l3IOFromL1TkMuonMuTrackV
78  +tpToL0L3FromL1TkMuonAssociation + l0l3FromL1TkMuonMuTrackV
79  +tpToL3GlbMuonAssociation + l3GlbMuonMuTrackV
80  +hltIterL3MuonsNoIDTracks_seq + tpToL3NoIDMuonAssociation + l3NoIDMuonMuTrackV
81  +hltIterL3MuonsTracks_seq + tpToL3MuonAssociation + l3MuonMuTrackV
82  )
83 
84 recoMuonValidationHLT_seq = cms.Sequence(
85  cms.SequencePlaceholder("TPmu") +
86  muonValidationHLT_seq
87  )