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 l3GlbMuonMuTrackV = MTVhlt.clone(
50  associatormap = 'tpToL3GlbMuonAssociation',
51  label = ('hltIterL3GlbMuon:',),
52  muonHistoParameters = glbMuonHistoParameters
53 )
54 l3NoIDMuonMuTrackV = MTVhlt.clone(
55  associatormap = 'tpToL3NoIDMuonAssociation',
56  label = ('hltIterL3MuonsNoIDTracks:',),
57  muonHistoParameters = glbMuonHistoParameters
58 )
59 l3MuonMuTrackV = MTVhlt.clone(
60  associatormap = 'tpToL3MuonAssociation',
61  label = ('hltIterL3MuonsTracks:',),
62  muonHistoParameters = glbMuonHistoParameters
63 )
64 #
65 # The full Muon HLT validation sequence
66 #
67 muonValidationHLT_seq = cms.Sequence(
68  tpToL2MuonAssociation + l2MuonMuTrackV
69  +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
70  +tpToL3OITkMuonAssociation + l3OITkMuonMuTrackV
71  +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
72  +tpToL3FromL1TkMuonAssociation + l3IOFromL1TkMuonMuTrackV
73  +tpToL3GlbMuonAssociation + l3GlbMuonMuTrackV
74  +hltIterL3MuonsNoIDTracks_seq + tpToL3NoIDMuonAssociation + l3NoIDMuonMuTrackV
75  +hltIterL3MuonsTracks_seq + tpToL3MuonAssociation + l3MuonMuTrackV
76  )
77 
78 recoMuonValidationHLT_seq = cms.Sequence(
79  cms.SequencePlaceholder("TPmu") +
80  muonValidationHLT_seq
81  )