CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonValidation_cff.py
Go to the documentation of this file.
2 
5 # Configurations for MuonTrackValidators
7 
8 trkMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
9 trkMuonTrackVTrackAssoc.associatormap = 'tpToTkmuTrackAssociation'
10 trkMuonTrackVTrackAssoc.associators = ('TrackAssociatorByHits',)
11 #trkMuonTrackVTrackAssoc.label = ('generalTracks',)
12 trkMuonTrackVTrackAssoc.label = ('probeTracks',)
13 trkMuonTrackVTrackAssoc.usetracker = True
14 trkMuonTrackVTrackAssoc.usemuon = False
15 
16 trkCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
17 trkCosmicMuonTrackVTrackAssoc.associatormap = 'tpToTkCosmicTrackAssociation'
18 trkCosmicMuonTrackVTrackAssoc.associators = ('TrackAssociatorByHits',)
19 trkCosmicMuonTrackVTrackAssoc.label = ('ctfWithMaterialTracksP5LHCNavigation',)
20 trkCosmicMuonTrackVTrackAssoc.usetracker = True
21 trkCosmicMuonTrackVTrackAssoc.usemuon = False
22 
23 staMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
24 staMuonTrackVTrackAssoc.associatormap = 'tpToStaTrackAssociation'
25 staMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
26 staMuonTrackVTrackAssoc.label = ('standAloneMuons',)
27 staMuonTrackVTrackAssoc.usetracker = False
28 staMuonTrackVTrackAssoc.usemuon = True
29 
30 staUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
31 staUpdMuonTrackVTrackAssoc.associatormap = 'tpToStaUpdTrackAssociation'
32 staUpdMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
33 staUpdMuonTrackVTrackAssoc.label = ('standAloneMuons:UpdatedAtVtx',)
34 staUpdMuonTrackVTrackAssoc.usetracker = False
35 staUpdMuonTrackVTrackAssoc.usemuon = True
36 
37 glbMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
38 glbMuonTrackVTrackAssoc.associatormap = 'tpToGlbTrackAssociation'
39 glbMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
40 glbMuonTrackVTrackAssoc.label = ('globalMuons',)
41 glbMuonTrackVTrackAssoc.usetracker = True
42 glbMuonTrackVTrackAssoc.usemuon = True
43 
44 staSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
45 staSETMuonTrackVTrackAssoc.associatormap = 'tpToStaSETTrackAssociation'
46 staSETMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
47 staSETMuonTrackVTrackAssoc.label = ('standAloneSETMuons',)
48 staSETMuonTrackVTrackAssoc.usetracker = False
49 staSETMuonTrackVTrackAssoc.usemuon = True
50 
51 staSETUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
52 staSETUpdMuonTrackVTrackAssoc.associatormap = 'tpToStaSETUpdTrackAssociation'
53 staSETUpdMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
54 staSETUpdMuonTrackVTrackAssoc.label = ('standAloneSETMuons:UpdatedAtVtx',)
55 staSETUpdMuonTrackVTrackAssoc.usetracker = False
56 staSETUpdMuonTrackVTrackAssoc.usemuon = True
57 
58 glbSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
59 glbSETMuonTrackVTrackAssoc.associatormap = 'tpToGlbSETTrackAssociation'
60 glbSETMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
61 glbSETMuonTrackVTrackAssoc.label = ('globalSETMuons',)
62 glbSETMuonTrackVTrackAssoc.usetracker = True
63 glbSETMuonTrackVTrackAssoc.usemuon = True
64 
65 tevMuonFirstTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
66 tevMuonFirstTrackVTrackAssoc.associatormap = 'tpToTevFirstTrackAssociation'
67 tevMuonFirstTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
68 tevMuonFirstTrackVTrackAssoc.label = ('tevMuons:firstHit',)
69 tevMuonFirstTrackVTrackAssoc.usetracker = True
70 tevMuonFirstTrackVTrackAssoc.usemuon = True
71 
72 tevMuonPickyTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
73 tevMuonPickyTrackVTrackAssoc.associatormap = 'tpToTevPickyTrackAssociation'
74 tevMuonPickyTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
75 tevMuonPickyTrackVTrackAssoc.label = ('tevMuons:picky',)
76 tevMuonPickyTrackVTrackAssoc.usetracker = True
77 tevMuonPickyTrackVTrackAssoc.usemuon = True
78 
79 tevMuonDytTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
80 tevMuonDytTrackVTrackAssoc.associatormap = 'tpToTevDytTrackAssociation'
81 tevMuonDytTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
82 tevMuonDytTrackVTrackAssoc.label = ('tevMuons:dyt',)
83 tevMuonDytTrackVTrackAssoc.usetracker = True
84 tevMuonDytTrackVTrackAssoc.usemuon = True
85 
86 staCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
87 staCosmicMuonTrackVTrackAssoc.associatormap = 'tpToStaCosmicTrackAssociation'
88 staCosmicMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
89 staCosmicMuonTrackVTrackAssoc.label = ('cosmicMuons',)
90 staCosmicMuonTrackVTrackAssoc.usetracker = False
91 staCosmicMuonTrackVTrackAssoc.usemuon = True
92 
93 glbCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
94 glbCosmicMuonTrackVTrackAssoc.associatormap = 'tpToGlbCosmicTrackAssociation'
95 glbCosmicMuonTrackVTrackAssoc.associators = ('TrackAssociatorByDeltaR',)
96 glbCosmicMuonTrackVTrackAssoc.label = ('globalCosmicMuons',)
97 glbCosmicMuonTrackVTrackAssoc.usetracker = True
98 glbCosmicMuonTrackVTrackAssoc.usemuon = True
99 
100 trkProbeTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
101 #trkMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
102 trkProbeTrackVMuonAssoc.associatormap = 'tpToTkMuonAssociation'
103 trkProbeTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
104 ##trkMuonTrackVMuonAssoc.label = ('generalTracks',)
105 trkProbeTrackVMuonAssoc.label = ('probeTracks',)
106 trkProbeTrackVMuonAssoc.usetracker = True
107 trkProbeTrackVMuonAssoc.usemuon = False
108 
109 staSeedTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
110 staSeedTrackVMuonAssoc.associatormap = 'tpToStaSeedAssociation'
111 staSeedTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
112 staSeedTrackVMuonAssoc.label = ('seedsOfSTAmuons',)
113 staSeedTrackVMuonAssoc.usetracker = False
114 staSeedTrackVMuonAssoc.usemuon = True
115 
116 staMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
117 staMuonTrackVMuonAssoc.associatormap = 'tpToStaMuonAssociation'
118 staMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
119 staMuonTrackVMuonAssoc.label = ('standAloneMuons',)
120 staMuonTrackVMuonAssoc.usetracker = False
121 staMuonTrackVMuonAssoc.usemuon = True
122 
123 staUpdMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
124 staUpdMuonTrackVMuonAssoc.associatormap = 'tpToStaUpdMuonAssociation'
125 staUpdMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
126 staUpdMuonTrackVMuonAssoc.label = ('standAloneMuons:UpdatedAtVtx',)
127 staUpdMuonTrackVMuonAssoc.usetracker = False
128 staUpdMuonTrackVMuonAssoc.usemuon = True
129 
130 glbMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
131 glbMuonTrackVMuonAssoc.associatormap = 'tpToGlbMuonAssociation'
132 glbMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
133 glbMuonTrackVMuonAssoc.label = ('extractedGlobalMuons',)
134 glbMuonTrackVMuonAssoc.usetracker = True
135 glbMuonTrackVMuonAssoc.usemuon = True
136 
137 staRefitMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
138 staRefitMuonTrackVMuonAssoc.associatormap = 'tpToStaRefitMuonAssociation'
139 staRefitMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
140 staRefitMuonTrackVMuonAssoc.label = ('refittedStandAloneMuons',)
141 staRefitMuonTrackVMuonAssoc.usetracker = False
142 staRefitMuonTrackVMuonAssoc.usemuon = True
143 
144 staRefitUpdMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
145 staRefitUpdMuonTrackVMuonAssoc.associatormap = 'tpToStaRefitUpdMuonAssociation'
146 staRefitUpdMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
147 staRefitUpdMuonTrackVMuonAssoc.label = ('refittedStandAloneMuons:UpdatedAtVtx',)
148 staRefitUpdMuonTrackVMuonAssoc.usetracker = False
149 staRefitUpdMuonTrackVMuonAssoc.usemuon = True
150 
151 staSETMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
152 staSETMuonTrackVMuonAssoc.associatormap = 'tpToStaSETMuonAssociation'
153 staSETMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
154 staSETMuonTrackVMuonAssoc.label = ('standAloneSETMuons',)
155 staSETMuonTrackVMuonAssoc.usetracker = False
156 staSETMuonTrackVMuonAssoc.usemuon = True
157 
158 staSETUpdMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
159 staSETUpdMuonTrackVMuonAssoc.associatormap = 'tpToStaSETUpdMuonAssociation'
160 staSETUpdMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
161 staSETUpdMuonTrackVMuonAssoc.label = ('standAloneSETMuons:UpdatedAtVtx',)
162 staSETUpdMuonTrackVMuonAssoc.usetracker = False
163 staSETUpdMuonTrackVMuonAssoc.usemuon = True
164 
165 glbSETMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
166 glbSETMuonTrackVMuonAssoc.associatormap = 'tpToGlbSETMuonAssociation'
167 glbSETMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
168 glbSETMuonTrackVMuonAssoc.label = ('globalSETMuons',)
169 glbSETMuonTrackVMuonAssoc.usetracker = True
170 glbSETMuonTrackVMuonAssoc.usemuon = True
171 
172 tevMuonFirstTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
173 tevMuonFirstTrackVMuonAssoc.associatormap = 'tpToTevFirstMuonAssociation'
174 tevMuonFirstTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
175 tevMuonFirstTrackVMuonAssoc.label = ('tevMuons:firstHit',)
176 tevMuonFirstTrackVMuonAssoc.usetracker = True
177 tevMuonFirstTrackVMuonAssoc.usemuon = True
178 
179 tevMuonPickyTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
180 tevMuonPickyTrackVMuonAssoc.associatormap = 'tpToTevPickyMuonAssociation'
181 tevMuonPickyTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
182 tevMuonPickyTrackVMuonAssoc.label = ('tevMuons:picky',)
183 tevMuonPickyTrackVMuonAssoc.usetracker = True
184 tevMuonPickyTrackVMuonAssoc.usemuon = True
185 
186 tevMuonDytTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
187 tevMuonDytTrackVMuonAssoc.associatormap = 'tpToTevDytMuonAssociation'
188 tevMuonDytTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
189 tevMuonDytTrackVMuonAssoc.label = ('tevMuons:dyt',)
190 tevMuonDytTrackVMuonAssoc.usetracker = True
191 tevMuonDytTrackVMuonAssoc.usemuon = True
192 
193 staCosmicMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
194 staCosmicMuonTrackVMuonAssoc.associatormap = 'tpToStaCosmicMuonAssociation'
195 staCosmicMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
196 staCosmicMuonTrackVMuonAssoc.label = ('cosmicMuons',)
197 staCosmicMuonTrackVMuonAssoc.usetracker = False
198 staCosmicMuonTrackVMuonAssoc.usemuon = True
199 
200 glbCosmicMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
201 glbCosmicMuonTrackVMuonAssoc.associatormap = 'tpToGlbCosmicMuonAssociation'
202 glbCosmicMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
203 glbCosmicMuonTrackVMuonAssoc.label = ('globalCosmicMuons',)
204 glbCosmicMuonTrackVMuonAssoc.usetracker = True
205 glbCosmicMuonTrackVMuonAssoc.usemuon = True
206 
207 
208 # Configurations for RecoMuonValidators
211 
212 #import SimGeneral.MixingModule.mixNoPU_cfi
214 from SimMuon.MCTruth.MuonAssociatorByHits_cfi import muonAssociatorByHitsCommonParameters
215 
216 #tracker
217 muonAssociatorByHitsESProducerNoSimHits_trk = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
218 muonAssociatorByHitsESProducerNoSimHits_trk.ComponentName = 'muonAssociatorByHits_NoSimHits_tracker'
219 muonAssociatorByHitsESProducerNoSimHits_trk.UseTracker = True
220 muonAssociatorByHitsESProducerNoSimHits_trk.UseMuon = False
221 recoMuonVMuAssoc_trk = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
222 recoMuonVMuAssoc_trk.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Trk'
223 recoMuonVMuAssoc_trk.simLabel = 'mix:MergedTrackTruth'
224 recoMuonVMuAssoc_trk.muAssocLabel = 'muonAssociatorByHits_NoSimHits_tracker'
225 recoMuonVMuAssoc_trk.trackType = 'inner'
226 recoMuonVMuAssoc_trk.selection = "isTrackerMuon"
227 
228 #tracker and PF
229 muonAssociatorByHitsESProducerNoSimHits_trkPF = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
230 muonAssociatorByHitsESProducerNoSimHits_trkPF.ComponentName = 'muonAssociatorByHits_NoSimHits_trackerPF'
231 muonAssociatorByHitsESProducerNoSimHits_trkPF.UseTracker = True
232 muonAssociatorByHitsESProducerNoSimHits_trkPF.UseMuon = False
233 recoMuonVMuAssoc_trkPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
234 recoMuonVMuAssoc_trkPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_TrkPF'
235 recoMuonVMuAssoc_trkPF.usePFMuon = True
236 recoMuonVMuAssoc_trkPF.simLabel = 'mix:MergedTrackTruth'
237 recoMuonVMuAssoc_trkPF.muAssocLabel = 'muonAssociatorByHits_NoSimHits_trackerPF'
238 recoMuonVMuAssoc_trkPF.trackType = 'inner'
239 recoMuonVMuAssoc_trkPF.selection = "isTrackerMuon & isPFMuon"
240 
241 #standalone
242 muonAssociatorByHitsESProducerNoSimHits_sta = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
243 muonAssociatorByHitsESProducerNoSimHits_sta.ComponentName = 'muonAssociatorByHits_NoSimHits_standalone'
244 muonAssociatorByHitsESProducerNoSimHits_sta.UseTracker = False
245 muonAssociatorByHitsESProducerNoSimHits_sta.UseMuon = True
246 recoMuonVMuAssoc_sta = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
247 recoMuonVMuAssoc_sta.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Sta'
248 recoMuonVMuAssoc_sta.simLabel = 'mix:MergedTrackTruth'
249 recoMuonVMuAssoc_sta.muAssocLabel = 'muonAssociatorByHits_NoSimHits_standalone'
250 recoMuonVMuAssoc_sta.trackType = 'outer'
251 recoMuonVMuAssoc_sta.selection = "isStandAloneMuon"
252 
253 #seed of StandAlone
254 muonAssociatorByHitsESProducerNoSimHits_Seedsta = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
255 muonAssociatorByHitsESProducerNoSimHits_Seedsta.ComponentName = 'muonAssociatorByHits_NoSimHits_seedOfStandalone'
256 muonAssociatorByHitsESProducerNoSimHits_Seedsta.UseTracker = False
257 muonAssociatorByHitsESProducerNoSimHits_Seedsta.UseMuon = True
258 recoMuonVMuAssoc_seedSta = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
259 recoMuonVMuAssoc_seedSta.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_SeedSta'
260 recoMuonVMuAssoc_seedSta.simLabel = 'mix:MergedTrackTruth'
261 recoMuonVMuAssoc_seedSta.muAssocLabel = 'muonAssociatorByHits_NoSimHits_standalone'
262 recoMuonVMuAssoc_seedSta.trackType = 'outer'
263 recoMuonVMuAssoc_seedSta.selection = ""
264 
265 #standalone and PF
266 muonAssociatorByHitsESProducerNoSimHits_staPF = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
267 muonAssociatorByHitsESProducerNoSimHits_staPF.ComponentName = 'muonAssociatorByHits_NoSimHits_standalonePF'
268 muonAssociatorByHitsESProducerNoSimHits_staPF.UseTracker = False
269 muonAssociatorByHitsESProducerNoSimHits_staPF.UseMuon = True
270 recoMuonVMuAssoc_staPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
271 recoMuonVMuAssoc_staPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_StaPF'
272 recoMuonVMuAssoc_staPF.usePFMuon = True
273 recoMuonVMuAssoc_staPF.simLabel = 'mix:MergedTrackTruth'
274 recoMuonVMuAssoc_staPF.muAssocLabel = 'muonAssociatorByHits_NoSimHits_standalonePF'
275 recoMuonVMuAssoc_staPF.trackType = 'outer'
276 recoMuonVMuAssoc_staPF.selection = "isStandAloneMuon & isPFMuon"
277 
278 #global
279 muonAssociatorByHitsESProducerNoSimHits_glb = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
280 muonAssociatorByHitsESProducerNoSimHits_glb.ComponentName = 'muonAssociatorByHits_NoSimHits_global'
281 muonAssociatorByHitsESProducerNoSimHits_glb.UseTracker = True
282 muonAssociatorByHitsESProducerNoSimHits_glb.UseMuon = True
283 recoMuonVMuAssoc_glb = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
284 recoMuonVMuAssoc_glb.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Glb'
285 recoMuonVMuAssoc_glb.simLabel = 'mix:MergedTrackTruth'
286 recoMuonVMuAssoc_glb.muAssocLabel = 'muonAssociatorByHits_NoSimHits_global'
287 recoMuonVMuAssoc_glb.trackType = 'global'
288 recoMuonVMuAssoc_glb.selection = "isGlobalMuon"
289 
290 #global and PF
291 muonAssociatorByHitsESProducerNoSimHits_glbPF = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
292 muonAssociatorByHitsESProducerNoSimHits_glbPF.ComponentName = 'muonAssociatorByHits_NoSimHits_globalPF'
293 muonAssociatorByHitsESProducerNoSimHits_glbPF.UseTracker = True
294 muonAssociatorByHitsESProducerNoSimHits_glbPF.UseMuon = True
295 recoMuonVMuAssoc_glbPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
296 recoMuonVMuAssoc_glbPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_GlbPF'
297 recoMuonVMuAssoc_glbPF.usePFMuon = True
298 recoMuonVMuAssoc_glbPF.simLabel = 'mix:MergedTrackTruth'
299 recoMuonVMuAssoc_glbPF.muAssocLabel = 'muonAssociatorByHits_NoSimHits_globalPF'
300 recoMuonVMuAssoc_glbPF.trackType = 'global'
301 recoMuonVMuAssoc_glbPF.selection = "isGlobalMuon & isPFMuon"
302 
303 #tight
304 muonAssociatorByHitsESProducerNoSimHits_tgt = SimMuon.MCTruth.MuonAssociatorByHitsESProducer_NoSimHits_cfi.muonAssociatorByHitsESProducerNoSimHits.clone()
305 muonAssociatorByHitsESProducerNoSimHits_tgt.ComponentName = 'muonAssociatorByHits_NoSimHits_tight'
306 muonAssociatorByHitsESProducerNoSimHits_tgt.UseTracker = True
307 muonAssociatorByHitsESProducerNoSimHits_tgt.UseMuon = True
308 recoMuonVMuAssoc_tgt = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
309 recoMuonVMuAssoc_tgt.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Tgt'
310 recoMuonVMuAssoc_tgt.simLabel = 'mix:MergedTrackTruth'
311 recoMuonVMuAssoc_tgt.muAssocLabel = 'muonAssociatorByHits_NoSimHits_tight'
312 recoMuonVMuAssoc_tgt.trackType = 'global'
313 recoMuonVMuAssoc_tgt.selection = 'isGlobalMuon'
314 recoMuonVMuAssoc_tgt.wantTightMuon = True
315 recoMuonVMuAssoc_tgt.beamSpot = 'offlineBeamSpot'
316 recoMuonVMuAssoc_tgt.primaryVertex = 'offlinePrimaryVertices'
317 
318 # Muon validation sequence
319 
320 muonValidation_seq = cms.Sequence(trkProbeTrackVMuonAssoc+trkMuonTrackVTrackAssoc
321  +staSeedTrackVMuonAssoc
322  +staMuonTrackVMuonAssoc+staUpdMuonTrackVMuonAssoc+glbMuonTrackVMuonAssoc
323  +recoMuonVMuAssoc_trk+recoMuonVMuAssoc_sta+recoMuonVMuAssoc_glb+recoMuonVMuAssoc_tgt)
324 
325 muonValidationTEV_seq = cms.Sequence(tevMuonFirstTrackVMuonAssoc+tevMuonPickyTrackVMuonAssoc+tevMuonDytTrackVMuonAssoc)
326 
327 muonValidationRefit_seq = cms.Sequence(staRefitMuonTrackVMuonAssoc+staRefitUpdMuonTrackVMuonAssoc)
328 
329 muonValidationSET_seq = cms.Sequence(staSETMuonTrackVMuonAssoc+staSETUpdMuonTrackVMuonAssoc+glbSETMuonTrackVMuonAssoc)
330 
331 muonValidationCosmic_seq = cms.Sequence(trkCosmicMuonTrackVTrackAssoc
332  +staCosmicMuonTrackVMuonAssoc+glbCosmicMuonTrackVMuonAssoc)
333 
334 # The muon association and validation sequence
335 
336 recoMuonValidation = cms.Sequence((muonAssociation_seq*muonValidation_seq)
337  +(muonAssociationTEV_seq*muonValidationTEV_seq)
338  +(muonAssociationSET_seq*muonValidationSET_seq)
339  +(muonAssociationRefit_seq*muonValidationRefit_seq)
340  )
341 
342 recoCosmicMuonValidation = cms.Sequence(muonAssociationCosmic_seq*muonValidationCosmic_seq)