247 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
249 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
254 if flags.Trigger.FPGATrackSim.singleTrackSample:
258 etamins={0:0.1, 1:0.7, 2:1.2, 3: 2.0, 4: 3.2}
259 etamaxs={0:0.3, 1:0.9, 2:1.4, 3: 2.2, 4: 3.4}
260 etamin=etamins.get(flags.Trigger.FPGATrackSim.region,0.1)
261 etamax=etamaxs.get(flags.Trigger.FPGATrackSim.region,0.3)
263 monTool.defineHistogram(
'regionID', path=
'EXPERT', type=
'TH1I', title=
'regionID', xbins=nbin, xmin=low, xmax=high)
264 monTool.defineHistogram(
'nHits_1st', path=
'EXPERT', type=
'TH1I', title=
'nHits_1st', xbins=nbin, xmin=low, xmax=high)
265 monTool.defineHistogram(
'nHits_1st_unmapped', path=
'EXPERT', type=
'TH1I', title=
'nHits_1st_unmapped', xbins=nbin, xmin=low, xmax=high)
266 monTool.defineHistogram(
'nroads_1st', path=
'EXPERT', type=
'TH1I', title=
'nroads_1st', xbins=nbin, xmin=low, xmax=high)
267 monTool.defineHistogram(
'nroads_1st_postfilter', path=
'EXPERT', type=
'TH1I', title=
'nroads_1st_postfilter', xbins=nbin, xmin=low, xmax=high)
268 monTool.defineHistogram(
'layerIDs_1st', path=
'EXPERT', type=
'TH1I', title=
'layerIDs_1st', xbins=20, xmin=-0.5, xmax = 19.5)
269 monTool.defineHistogram(
'chi2_1st_all', path=
'EXPERT', type=
'TH1F', title=
'chi2_1st_all', xbins=nbin, xmin=low, xmax=high)
270 monTool.defineHistogram(
'chi2_1st_afterOLR', path=
'EXPERT', type=
'TH1F', title=
'chi2_1st_afterOLR', xbins=nbin, xmin=0, xmax=10.0)
271 monTool.defineHistogram(
'best_chi2_1st', path=
'EXPERT', type=
'TH1F', title=
'best_chi2_1st', xbins=nbin, xmin=low, xmax=high)
272 monTool.defineHistogram(
'ntrack_1st', path=
'EXPERT', type=
'TH1F', title=
'ntrack_1st', xbins=nbin, xmin=low, xmax=high)
273 monTool.defineHistogram(
'ntrack_1st_afterOLR', path=
'EXPERT', type=
'TH1F', title=
'ntrack_1st_afterOLR', xbins=nbin, xmin=low, xmax=high)
274 monTool.defineHistogram(
'eff_road,pT', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_pt', xbins=20, xmin=0, xmax=100)
275 monTool.defineHistogram(
'eff_track,pT', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_pt', xbins=20, xmin=0, xmax=100)
276 monTool.defineHistogram(
'eff_track_chi2,pT', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_pt', xbins=20, xmin=0, xmax=100)
277 monTool.defineHistogram(
'eff_road,pT_zoom', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_pt_zoom', xbins=10, xmin=0, xmax=10)
278 monTool.defineHistogram(
'eff_track,pT_zoom', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_pt_zoom', xbins=10, xmin=0, xmax=10)
279 monTool.defineHistogram(
'eff_track_chi2,pT_zoom', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_pt_zoom', xbins=10, xmin=0, xmax=10)
280 monTool.defineHistogram(
'eff_road,eta', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_eta', xbins = 20, xmin=etamin, xmax=etamax)
281 monTool.defineHistogram(
'eff_track,eta', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_eta', xbins = 20, xmin=etamin, xmax=etamax)
282 monTool.defineHistogram(
'eff_track_chi2,eta', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_eta', xbins = 20, xmin=etamin, xmax=etamax)
283 monTool.defineHistogram(
'eff_road,phi', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_phi', xbins = 20, xmin=flags.Trigger.FPGATrackSim.ActiveConfig.phiMin, xmax=flags.Trigger.FPGATrackSim.ActiveConfig.phiMax)
284 monTool.defineHistogram(
'eff_track,phi', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_phi', xbins = 20, xmin=flags.Trigger.FPGATrackSim.ActiveConfig.phiMin, xmax=flags.Trigger.FPGATrackSim.ActiveConfig.phiMax)
285 monTool.defineHistogram(
'eff_track_chi2,phi', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_phi', xbins = 20, xmin=flags.Trigger.FPGATrackSim.ActiveConfig.phiMin, xmax=flags.Trigger.FPGATrackSim.ActiveConfig.phiMax)
286 monTool.defineHistogram(
'eff_road,d0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_d0', xbins = 20, xmin = -2.0, xmax = 2.0)
287 monTool.defineHistogram(
'eff_track,d0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_d0', xbins = 20, xmin = -2.0, xmax = 2.0)
288 monTool.defineHistogram(
'eff_track_chi2,d0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_d0', xbins = 20, xmin = -2.0, xmax = 2.0)
289 monTool.defineHistogram(
'eff_road,z0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_road_z0', xbins = 20, xmin = -150, xmax = 150.0)
290 monTool.defineHistogram(
'eff_track,z0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_z0', xbins = 20, xmin = -150.0, xmax = 150.0)
291 monTool.defineHistogram(
'eff_track_chi2,z0', path=
'EXPERT', type=
'TEfficiency', title=
'eff_track_chi2_z0', xbins = 20, xmin = -150.0, xmax = 150.0)
293 result.setPrivateTools(monTool)