7 monTool.HistPath = f
'TrigTauRecMerged_TrigTauPrecisionIDHypo/{name}'
10 monTool.defineHistogram(
'NInputTaus', path=
'EXPERT', type=
'TH1F', title=
'Input Taus (before selection); N Taus; Entries', xbins=10, xmin=0, xmax=10)
12 labels = [
'Initial',
'p_{T}',
'NTracks & NIsoTracks',
'ID']
13 monTool.defineHistogram(
'CutCounter', path=
'EXPERT', type=
'TH1I', title=
'Passed Tau cuts; Cut; Entries', xbins=len(labels), xmin=0, xmax=len(labels), xlabels=labels)
15 monTool.defineHistogram(
'PtAccepted', path=
'EXPERT', type=
'TH1F', title=
'Accepted Tau p_{T}; p_{T} [GeV]; Entries', xbins=80, xmin=0, xmax=800)
16 monTool.defineHistogram(
'NTracksAccepted', path=
'EXPERT', type=
'TH1F', title=
'Accepted Tau Tracks; N Tracks; Entries', xbins=10, xmin=0, xmax=10)
17 monTool.defineHistogram(
'NIsoTracksAccepted', path=
'EXPERT', type=
'TH1F', title=
'Accepted Tau Isolation Tracks; N Isolation Tracks; Entries', xbins=10, xmin=0, xmax=10)
19 for tau_id
in tau_ids:
20 if tau_id
in [
'DeepSet',
'RNNLLP']: xbins, xmax = 40, 1
21 else: xbins, xmax = 100, 5
23 monTool.defineHistogram(f
'{tau_id}_TauJetScoreAccepted_0p', path=
'EXPERT', type=
'TH1F', title=f
'Accepted 0-prong {tau_id} Tau ID score; Score; Entries', xbins=xbins, xmin=0, xmax=xmax)
24 monTool.defineHistogram(f
'{tau_id}_TauJetScoreTransAccepted_0p', path=
'EXPERT', type=
'TH1F', title=f
'Accepted 0-prong {tau_id} Tau ID transformed score; Transformed Signal Score; Entries', xbins=xbins, xmin=0, xmax=xmax)
26 monTool.defineHistogram(f
'{tau_id}_TauJetScoreAccepted_1p', path=
'EXPERT', type=
'TH1F', title=f
'Accepted 1-prong {tau_id} Tau ID score; Score; Entries', xbins=xbins, xmin=0, xmax=xmax)
27 monTool.defineHistogram(f
'{tau_id}_TauJetScoreTransAccepted_1p', path=
'EXPERT', type=
'TH1F', title=f
'Accepted 1-prong {tau_id} Tau ID transformed score; Transformed Signal Score; Entries', xbins=xbins, xmin=0, xmax=xmax)
29 monTool.defineHistogram(f
'{tau_id}_TauJetScoreAccepted_mp', path=
'EXPERT', type=
'TH1F', title=f
'Accepted multi-prong {tau_id} Tau ID score; Score; Entries', xbins=xbins, xmin=0, xmax=xmax)
30 monTool.defineHistogram(f
'{tau_id}_TauJetScoreTransAccepted_mp', path=
'EXPERT', type=
'TH1F', title=f
'Accepted multi-prong {tau_id} Tau ID transformed score; Transformed Signal Score; Entries', xbins=xbins, xmin=0, xmax=xmax)