15 thedEdxTrackHypo = CompFactory.TrigdEdxTrackHypoAlg(name)
17 from TrigEDMConfig.TriggerEDM
import recordable
18 thedEdxTrackHypo.HPtdEdxTrk =
recordable(
"HLT_HPtdEdxTrk")
22 monTool.defineHistogram(
'trackPtGeV', type=
'TH1F', path=
'EXPERT', title=
"Hypo p_{T}^{track};p_{T}^{track} [GeV];Nevents", xbins=50, xmin=0, xmax=100)
23 monTool.defineHistogram(
'trackEta', type=
'TH1F', path=
'EXPERT', title=
"Hypo p_{T}^{track} (after p_{T} cut);eta;Nevents", xbins=60, xmin=-3.0, xmax=3.0)
24 monTool.defineHistogram(
'tracka0beam',type=
'TH1F', path=
'EXPERT', title=
"Hypo a0beam (after eta cut);a0beam [mm];Nevents", xbins=50, xmin=-5.0, xmax=5.0)
25 monTool.defineHistogram(
'trackdEdx', type=
'TH1F', path=
'EXPERT', title=
"Hypo dE/dx (after a0beam cut);dE/dx;Nevents", xbins=50, xmin=0, xmax=10)
26 monTool.defineHistogram(
'trackNhighdEdxHits', type=
'TH1F', path=
'EXPERT', title=
"Hypo Nr high dE/dx hits (after dEdx cut);N high dE/dx hits;Nevents", xbins=10, xmin=0, xmax=10)
28 monTool.HistPath =
'dEdxTrackHypoAlg'
29 thedEdxTrackHypo.MonTool = monTool
31 acc.addEventAlgo(thedEdxTrackHypo)