4 import FWCore.ParameterSet.Config
as cms
8 import Validation.RecoMuon.MuonTrackValidator_cfi
13 trkMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
14 trkMuonTrackVTrackAssoc.associatormap =
'tpToTkmuTrackAssociation'
15 trkMuonTrackVTrackAssoc.associators = (
'trackAssociatorByHits',)
17 trkMuonTrackVTrackAssoc.label = (
'probeTracks',)
18 trkMuonTrackVTrackAssoc.usetracker =
True
19 trkMuonTrackVTrackAssoc.usemuon =
False
21 staMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
22 staMuonTrackVTrackAssoc.associatormap =
'tpToStaTrackAssociation'
23 staMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
24 staMuonTrackVTrackAssoc.label = (
'standAloneMuons',)
25 staMuonTrackVTrackAssoc.usetracker =
False
26 staMuonTrackVTrackAssoc.usemuon =
True
28 staUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
29 staUpdMuonTrackVTrackAssoc.associatormap =
'tpToStaUpdTrackAssociation'
30 staUpdMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
31 staUpdMuonTrackVTrackAssoc.label = (
'standAloneMuons:UpdatedAtVtx',)
32 staUpdMuonTrackVTrackAssoc.usetracker =
False
33 staUpdMuonTrackVTrackAssoc.usemuon =
True
35 glbMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
36 glbMuonTrackVTrackAssoc.associatormap =
'tpToGlbTrackAssociation'
37 glbMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
38 glbMuonTrackVTrackAssoc.label = (
'globalMuons',)
39 glbMuonTrackVTrackAssoc.usetracker =
True
40 glbMuonTrackVTrackAssoc.usemuon =
True
42 staSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
43 staSETMuonTrackVTrackAssoc.associatormap =
'tpToStaSETTrackAssociation'
44 staSETMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
45 staSETMuonTrackVTrackAssoc.label = (
'standAloneSETMuons',)
46 staSETMuonTrackVTrackAssoc.usetracker =
False
47 staSETMuonTrackVTrackAssoc.usemuon =
True
49 staSETUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
50 staSETUpdMuonTrackVTrackAssoc.associatormap =
'tpToStaSETUpdTrackAssociation'
51 staSETUpdMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
52 staSETUpdMuonTrackVTrackAssoc.label = (
'standAloneSETMuons:UpdatedAtVtx',)
53 staSETUpdMuonTrackVTrackAssoc.usetracker =
False
54 staSETUpdMuonTrackVTrackAssoc.usemuon =
True
56 glbSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
57 glbSETMuonTrackVTrackAssoc.associatormap =
'tpToGlbSETTrackAssociation'
58 glbSETMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
59 glbSETMuonTrackVTrackAssoc.label = (
'globalSETMuons',)
60 glbSETMuonTrackVTrackAssoc.usetracker =
True
61 glbSETMuonTrackVTrackAssoc.usemuon =
True
63 tevMuonFirstTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
64 tevMuonFirstTrackVTrackAssoc.associatormap =
'tpToTevFirstTrackAssociation'
65 tevMuonFirstTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
66 tevMuonFirstTrackVTrackAssoc.label = (
'tevMuons:firstHit',)
67 tevMuonFirstTrackVTrackAssoc.usetracker =
True
68 tevMuonFirstTrackVTrackAssoc.usemuon =
True
70 tevMuonPickyTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
71 tevMuonPickyTrackVTrackAssoc.associatormap =
'tpToTevPickyTrackAssociation'
72 tevMuonPickyTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
73 tevMuonPickyTrackVTrackAssoc.label = (
'tevMuons:picky',)
74 tevMuonPickyTrackVTrackAssoc.usetracker =
True
75 tevMuonPickyTrackVTrackAssoc.usemuon =
True
77 tevMuonDytTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
78 tevMuonDytTrackVTrackAssoc.associatormap =
'tpToTevDytTrackAssociation'
79 tevMuonDytTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
80 tevMuonDytTrackVTrackAssoc.label = (
'tevMuons:dyt',)
81 tevMuonDytTrackVTrackAssoc.usetracker =
True
82 tevMuonDytTrackVTrackAssoc.usemuon =
True
84 trkCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
85 trkCosmicMuonTrackVTrackAssoc.associatormap =
'tpToTkCosmicTrackAssociation'
86 trkCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByHits',)
87 trkCosmicMuonTrackVTrackAssoc.label = (
'ctfWithMaterialTracksP5LHCNavigation',)
88 trkCosmicMuonTrackVTrackAssoc.usetracker =
True
89 trkCosmicMuonTrackVTrackAssoc.usemuon =
False
91 staCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
92 staCosmicMuonTrackVTrackAssoc.associatormap =
'tpToStaCosmicTrackAssociation'
93 staCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
94 staCosmicMuonTrackVTrackAssoc.label = (
'cosmicMuons',)
95 staCosmicMuonTrackVTrackAssoc.usetracker =
False
96 staCosmicMuonTrackVTrackAssoc.usemuon =
True
98 glbCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
99 glbCosmicMuonTrackVTrackAssoc.associatormap =
'tpToGlbCosmicTrackAssociation'
100 glbCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
101 glbCosmicMuonTrackVTrackAssoc.label = (
'globalCosmicMuons',)
102 glbCosmicMuonTrackVTrackAssoc.usetracker =
True
103 glbCosmicMuonTrackVTrackAssoc.usemuon =
True
108 muonValidation_seq = cms.Sequence(
110 +trackAssociatorByHits + tpToTkmuTrackAssociation + trkMuonTrackVTrackAssoc
111 +tpToStaTrackAssociation + staMuonTrackVTrackAssoc
112 +tpToStaUpdTrackAssociation + staUpdMuonTrackVTrackAssoc
113 +tpToGlbTrackAssociation + glbMuonTrackVTrackAssoc
116 muonValidationTEV_seq = cms.Sequence(
117 tpToTevFirstTrackAssociation + tevMuonFirstTrackVTrackAssoc
118 +tpToTevPickyTrackAssociation + tevMuonPickyTrackVTrackAssoc
119 +tpToTevDytTrackAssociation + tevMuonDytTrackVTrackAssoc
122 muonValidationSET_seq = cms.Sequence(
123 tpToStaSETTrackAssociation + staSETMuonTrackVTrackAssoc
124 +tpToStaSETUpdTrackAssociation + staSETUpdMuonTrackVTrackAssoc
125 +tpToGlbSETTrackAssociation + glbSETMuonTrackVTrackAssoc
128 muonValidationCosmic_seq = cms.Sequence(
129 tpToTkCosmicTrackAssociation + trkCosmicMuonTrackVTrackAssoc
130 +tpToStaCosmicTrackAssociation + staCosmicMuonTrackVTrackAssoc
131 +tpToGlbCosmicTrackAssociation + glbCosmicMuonTrackVTrackAssoc
135 recoMuonValidation = cms.Sequence(
136 muonValidation_seq + muonValidationTEV_seq + muonValidationSET_seq
140 recoCosmicMuonValidation = cms.Sequence(
141 muonValidationCosmic_seq