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 displacedTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
152 displacedTrackVMuonAssoc.associatormap = 'tpToDisplacedTrkMuonAssociation'
153 displacedTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
154 displacedTrackVMuonAssoc.label = ('displacedTracks',)
155 displacedTrackVMuonAssoc.usetracker = True
156 displacedTrackVMuonAssoc.usemuon = False
157 displacedTrackVMuonAssoc.tipTP = cms.double(85.)
158 displacedTrackVMuonAssoc.lipTP = cms.double(210.)
159 
160 displacedStaSeedTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
161 displacedStaSeedTrackVMuonAssoc.associatormap = 'tpToDisplacedStaSeedAssociation'
162 displacedStaSeedTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
163 displacedStaSeedTrackVMuonAssoc.label = ('seedsOfDisplacedSTAmuons',)
164 displacedStaSeedTrackVMuonAssoc.usetracker = False
165 displacedStaSeedTrackVMuonAssoc.usemuon = True
166 displacedStaSeedTrackVMuonAssoc.tipTP = cms.double(85.)
167 displacedStaSeedTrackVMuonAssoc.lipTP = cms.double(210.)
168 
169 displacedStaMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
170 displacedStaMuonTrackVMuonAssoc.associatormap = 'tpToDisplacedStaMuonAssociation'
171 displacedStaMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
172 displacedStaMuonTrackVMuonAssoc.label = ('displacedStandAloneMuons',)
173 displacedStaMuonTrackVMuonAssoc.usetracker = False
174 displacedStaMuonTrackVMuonAssoc.usemuon = True
175 displacedStaMuonTrackVMuonAssoc.tipTP = cms.double(85.)
176 displacedStaMuonTrackVMuonAssoc.lipTP = cms.double(210.)
177 
178 displacedGlbMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
179 displacedGlbMuonTrackVMuonAssoc.associatormap = 'tpToDisplacedGlbMuonAssociation'
180 displacedGlbMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
181 displacedGlbMuonTrackVMuonAssoc.label = ('displacedGlobalMuons',)
182 displacedGlbMuonTrackVMuonAssoc.usetracker = True
183 displacedGlbMuonTrackVMuonAssoc.usemuon = True
184 displacedGlbMuonTrackVMuonAssoc.tipTP = cms.double(85.)
185 displacedGlbMuonTrackVMuonAssoc.lipTP = cms.double(210.)
186 
187 staSETMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
188 staSETMuonTrackVMuonAssoc.associatormap = 'tpToStaSETMuonAssociation'
189 staSETMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
190 staSETMuonTrackVMuonAssoc.label = ('standAloneSETMuons',)
191 staSETMuonTrackVMuonAssoc.usetracker = False
192 staSETMuonTrackVMuonAssoc.usemuon = True
193 
194 staSETUpdMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
195 staSETUpdMuonTrackVMuonAssoc.associatormap = 'tpToStaSETUpdMuonAssociation'
196 staSETUpdMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
197 staSETUpdMuonTrackVMuonAssoc.label = ('standAloneSETMuons:UpdatedAtVtx',)
198 staSETUpdMuonTrackVMuonAssoc.usetracker = False
199 staSETUpdMuonTrackVMuonAssoc.usemuon = True
200 
201 glbSETMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
202 glbSETMuonTrackVMuonAssoc.associatormap = 'tpToGlbSETMuonAssociation'
203 glbSETMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
204 glbSETMuonTrackVMuonAssoc.label = ('globalSETMuons',)
205 glbSETMuonTrackVMuonAssoc.usetracker = True
206 glbSETMuonTrackVMuonAssoc.usemuon = True
207 
208 tevMuonFirstTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
209 tevMuonFirstTrackVMuonAssoc.associatormap = 'tpToTevFirstMuonAssociation'
210 tevMuonFirstTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
211 tevMuonFirstTrackVMuonAssoc.label = ('tevMuons:firstHit',)
212 tevMuonFirstTrackVMuonAssoc.usetracker = True
213 tevMuonFirstTrackVMuonAssoc.usemuon = True
214 
215 tevMuonPickyTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
216 tevMuonPickyTrackVMuonAssoc.associatormap = 'tpToTevPickyMuonAssociation'
217 tevMuonPickyTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
218 tevMuonPickyTrackVMuonAssoc.label = ('tevMuons:picky',)
219 tevMuonPickyTrackVMuonAssoc.usetracker = True
220 tevMuonPickyTrackVMuonAssoc.usemuon = True
221 
222 tevMuonDytTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
223 tevMuonDytTrackVMuonAssoc.associatormap = 'tpToTevDytMuonAssociation'
224 tevMuonDytTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
225 tevMuonDytTrackVMuonAssoc.label = ('tevMuons:dyt',)
226 tevMuonDytTrackVMuonAssoc.usetracker = True
227 tevMuonDytTrackVMuonAssoc.usemuon = True
228 
229 staCosmicMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
230 staCosmicMuonTrackVMuonAssoc.associatormap = 'tpToStaCosmicMuonAssociation'
231 staCosmicMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
232 staCosmicMuonTrackVMuonAssoc.label = ('cosmicMuons',)
233 staCosmicMuonTrackVMuonAssoc.usetracker = False
234 staCosmicMuonTrackVMuonAssoc.usemuon = True
235 
236 glbCosmicMuonTrackVMuonAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
237 glbCosmicMuonTrackVMuonAssoc.associatormap = 'tpToGlbCosmicMuonAssociation'
238 glbCosmicMuonTrackVMuonAssoc.associators = ('MuonAssociationByHits',)
239 glbCosmicMuonTrackVMuonAssoc.label = ('globalCosmicMuons',)
240 glbCosmicMuonTrackVMuonAssoc.usetracker = True
241 glbCosmicMuonTrackVMuonAssoc.usemuon = True
242 
243 
244 # Configurations for RecoMuonValidators
247 
248 #import SimGeneral.MixingModule.mixNoPU_cfi
250 from SimMuon.MCTruth.MuonAssociatorByHits_cfi import muonAssociatorByHitsCommonParameters
251 
252 #tracker
253 muonAssociatorByHitsNoSimHitsHelperTrk = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
254 muonAssociatorByHitsNoSimHitsHelperTrk.UseTracker = True
255 muonAssociatorByHitsNoSimHitsHelperTrk.UseMuon = False
256 recoMuonVMuAssoc_trk = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
257 recoMuonVMuAssoc_trk.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Trk'
258 recoMuonVMuAssoc_trk.simLabel = 'mix:MergedTrackTruth'
259 recoMuonVMuAssoc_trk.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperTrk'
260 recoMuonVMuAssoc_trk.trackType = 'inner'
261 recoMuonVMuAssoc_trk.selection = "isTrackerMuon"
262 
263 #tracker and PF
264 muonAssociatorByHitsNoSimHitsHelperTrkPF = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
265 muonAssociatorByHitsNoSimHitsHelperTrkPF.UseTracker = True
266 muonAssociatorByHitsNoSimHitsHelperTrkPF.UseMuon = False
267 recoMuonVMuAssoc_trkPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
268 recoMuonVMuAssoc_trkPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_TrkPF'
269 recoMuonVMuAssoc_trkPF.usePFMuon = True
270 recoMuonVMuAssoc_trkPF.simLabel = 'mix:MergedTrackTruth'
271 recoMuonVMuAssoc_trkPF.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperTrkPF'
272 recoMuonVMuAssoc_trkPF.trackType = 'inner'
273 recoMuonVMuAssoc_trkPF.selection = "isTrackerMuon & isPFMuon"
274 
275 #standalone
276 muonAssociatorByHitsNoSimHitsHelperStandalone = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
277 muonAssociatorByHitsNoSimHitsHelperStandalone.UseTracker = False
278 muonAssociatorByHitsNoSimHitsHelperStandalone.UseMuon = True
279 recoMuonVMuAssoc_sta = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
280 recoMuonVMuAssoc_sta.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Sta'
281 recoMuonVMuAssoc_sta.simLabel = 'mix:MergedTrackTruth'
282 recoMuonVMuAssoc_sta.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperStandalone'
283 recoMuonVMuAssoc_sta.trackType = 'outer'
284 recoMuonVMuAssoc_sta.selection = "isStandAloneMuon"
285 
286 #seed of StandAlone
287 muonAssociatorByHitsNoSimHitsHelperSeedStandalone = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
288 muonAssociatorByHitsNoSimHitsHelperSeedStandalone.UseTracker = False
289 muonAssociatorByHitsNoSimHitsHelperSeedStandalone.UseMuon = True
290 recoMuonVMuAssoc_seedSta = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
291 recoMuonVMuAssoc_seedSta.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_SeedSta'
292 recoMuonVMuAssoc_seedSta.simLabel = 'mix:MergedTrackTruth'
293 recoMuonVMuAssoc_seedSta.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperStandalone'
294 recoMuonVMuAssoc_seedSta.trackType = 'outer'
295 recoMuonVMuAssoc_seedSta.selection = ""
296 
297 #standalone and PF
298 muonAssociatorByHitsNoSimHitsHelperStandalonePF = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
299 muonAssociatorByHitsNoSimHitsHelperStandalonePF.UseTracker = False
300 muonAssociatorByHitsNoSimHitsHelperStandalonePF.UseMuon = True
301 recoMuonVMuAssoc_staPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
302 recoMuonVMuAssoc_staPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_StaPF'
303 recoMuonVMuAssoc_staPF.usePFMuon = True
304 recoMuonVMuAssoc_staPF.simLabel = 'mix:MergedTrackTruth'
305 recoMuonVMuAssoc_staPF.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperStandalonePF'
306 recoMuonVMuAssoc_staPF.trackType = 'outer'
307 recoMuonVMuAssoc_staPF.selection = "isStandAloneMuon & isPFMuon"
308 
309 #global
310 muonAssociatorByHitsNoSimHitsHelperGlobal = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
311 muonAssociatorByHitsNoSimHitsHelperGlobal.UseTracker = True
312 muonAssociatorByHitsNoSimHitsHelperGlobal.UseMuon = True
313 recoMuonVMuAssoc_glb = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
314 recoMuonVMuAssoc_glb.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Glb'
315 recoMuonVMuAssoc_glb.simLabel = 'mix:MergedTrackTruth'
316 recoMuonVMuAssoc_glb.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperGlobal'
317 recoMuonVMuAssoc_glb.trackType = 'global'
318 recoMuonVMuAssoc_glb.selection = "isGlobalMuon"
319 
320 #global and PF
321 muonAssociatorByHitsNoSimHitsHelperGlobalPF = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
322 muonAssociatorByHitsNoSimHitsHelperGlobalPF.UseTracker = True
323 muonAssociatorByHitsNoSimHitsHelperGlobalPF.UseMuon = True
324 recoMuonVMuAssoc_glbPF = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
325 recoMuonVMuAssoc_glbPF.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_GlbPF'
326 recoMuonVMuAssoc_glbPF.usePFMuon = True
327 recoMuonVMuAssoc_glbPF.simLabel = 'mix:MergedTrackTruth'
328 recoMuonVMuAssoc_glbPF.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperGlobalPF'
329 recoMuonVMuAssoc_glbPF.trackType = 'global'
330 recoMuonVMuAssoc_glbPF.selection = "isGlobalMuon & isPFMuon"
331 
332 #tight
333 muonAssociatorByHitsNoSimHitsHelperTight = SimMuon.MCTruth.muonAssociatorByHitsNoSimHitsHelper_cfi.muonAssociatorByHitsNoSimHitsHelper.clone()
334 muonAssociatorByHitsNoSimHitsHelperTight.UseTracker = True
335 muonAssociatorByHitsNoSimHitsHelperTight.UseMuon = True
336 recoMuonVMuAssoc_tgt = Validation.RecoMuon.RecoMuonValidator_cfi.recoMuonValidator.clone()
337 recoMuonVMuAssoc_tgt.subDir = 'Muons/RecoMuonV/RecoMuon_MuonAssoc_Tgt'
338 recoMuonVMuAssoc_tgt.simLabel = 'mix:MergedTrackTruth'
339 recoMuonVMuAssoc_tgt.muAssocLabel = 'muonAssociatorByHitsNoSimHitsHelperTight'
340 recoMuonVMuAssoc_tgt.trackType = 'global'
341 recoMuonVMuAssoc_tgt.selection = 'isGlobalMuon'
342 recoMuonVMuAssoc_tgt.wantTightMuon = True
343 recoMuonVMuAssoc_tgt.beamSpot = 'offlineBeamSpot'
344 recoMuonVMuAssoc_tgt.primaryVertex = 'offlinePrimaryVertices'
345 
346 # Muon validation sequence
347 
348 muonValidation_seq = cms.Sequence(trkProbeTrackVMuonAssoc+trkMuonTrackVTrackAssoc
349  +staSeedTrackVMuonAssoc
350  +staMuonTrackVMuonAssoc+staUpdMuonTrackVMuonAssoc+glbMuonTrackVMuonAssoc
351  +muonAssociatorByHitsNoSimHitsHelperTrk+muonAssociatorByHitsNoSimHitsHelperStandalone+muonAssociatorByHitsNoSimHitsHelperGlobal+muonAssociatorByHitsNoSimHitsHelperTight
352  +recoMuonVMuAssoc_trk+recoMuonVMuAssoc_sta+recoMuonVMuAssoc_glb+recoMuonVMuAssoc_tgt)
353 
354 muonValidationTEV_seq = cms.Sequence(tevMuonFirstTrackVMuonAssoc+tevMuonPickyTrackVMuonAssoc+tevMuonDytTrackVMuonAssoc)
355 
356 muonValidationRefit_seq = cms.Sequence(staRefitMuonTrackVMuonAssoc+staRefitUpdMuonTrackVMuonAssoc)
357 
358 muonValidationDisplaced_seq = cms.Sequence(displacedStaSeedTrackVMuonAssoc+displacedStaMuonTrackVMuonAssoc
359  +displacedTrackVMuonAssoc+displacedGlbMuonTrackVMuonAssoc)
360 
361 muonValidationSET_seq = cms.Sequence(staSETMuonTrackVMuonAssoc+staSETUpdMuonTrackVMuonAssoc+glbSETMuonTrackVMuonAssoc)
362 
363 muonValidationCosmic_seq = cms.Sequence(trkCosmicMuonTrackVTrackAssoc
364  +staCosmicMuonTrackVMuonAssoc+glbCosmicMuonTrackVMuonAssoc)
365 
366 # The muon association and validation sequence
367 
368 recoMuonValidation = cms.Sequence((muonAssociation_seq*muonValidation_seq)
369  +(muonAssociationTEV_seq*muonValidationTEV_seq)
370  +(muonAssociationSET_seq*muonValidationSET_seq)
371  +(muonAssociationRefit_seq*muonValidationRefit_seq)
372  +(muonAssociationDisplaced_seq*muonValidationDisplaced_seq)
373  )
374 
375 recoCosmicMuonValidation = cms.Sequence(muonAssociationCosmic_seq*muonValidationCosmic_seq)