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