EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
charm_jet_tagging_performance Namespace Reference

Functions

def DrawDiffTagEfficiencyPlot
 
def DrawDiffTagYieldPlot
 

Variables

tuple parser argparse.ArgumentParser()
 
string help "Directory containing input files"
 
tuple args parser.parse_args()
 
list branchlist ["*"]
 
tuple df eat.UprootLoad([f"{args.dir}/{args.input}/0/out.root"], "tree", branches=branchlist)
 
dictionary draw_config {}
 
tuple df_20rs2 eat.UprootLoad([f"{args.dir}/CC_DIS_e10_p275_lha_20Rs2/*/out.root"], "tree", branches=branchlist)
 
tuple df_21rs2 eat.UprootLoad([f"{args.dir}/CC_DIS_e10_p275_lha_21Rs2/*/out.root"], "tree", branches=branchlist)
 
list xvar draw_config['xvar']
 
list xrange draw_config['xrange']
 
list xbins draw_config['xbins']
 
list ylimits draw_config['ylimits']
 
list xlimits draw_config['xlimits']
 
list yunits draw_config['yunits']
 
list xunits draw_config['xunits']
 
tuple charm_ct18nnlo eat.DifferentialTaggingYield(df, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT18NNLO')
 
tuple charm_ct18nnlo_20rs2 eat.DifferentialTaggingYield(df_20rs2, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT1820Rs2')
 
tuple charm_ct18nnlo_21rs2 eat.DifferentialTaggingYield(df_21rs2, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT1821Rs2')
 
list N_20 charm_ct18nnlo_20rs2[2]
 
tuple errN_20 np.zeros(len(N_20))
 
tuple R_N_20 np.ones(len(N_20))
 
list N_21 charm_ct18nnlo_21rs2[2]
 
 diff_20_21 N_21-N_20
 
tuple R_N_diff np.ones(len(N_20))
 
tuple gridspec fig.add_gridspec(ncols=1, nrows=1, width_ratios=[1], height_ratios=[1])
 
list bins charm_ct18nnlo[0]
 
list bin_widths charm_ct18nnlo[1]
 
tuple one_line np.ones(len(bins))
 
tuple ax1 fig.add_subplot(gridspec[0, 0])
 
string R_N_20_label "Stat. Uncertainty [CT18NNLO, $R_s=2s/(\overline{u}+\overline{d})=0.325$ (suppressed)]"
 
list errorboxes
 
tuple pc mpl.collections.PatchCollection(errorboxes, facecolor='#7A6E67', alpha=0.35, label=R_N_20_label)
 
tuple enhanced ax1.errorbar(bins, R_N_diff, xerr = bin_widths/2, marker='s', ms=10, ls='none', linewidth=2, fillstyle='none', color='#003066', label='CT18ZNNLO with enhanced strangeness, $R_s=2s/(\overline{u}+\overline{d})=0.863$')
 

Function Documentation

def charm_jet_tagging_performance.DrawDiffTagEfficiencyPlot (   df,
  draw_config = {} 
)

Definition at line 51 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 51 of file charm_jet_tagging_performance.py

Referenced by DrawDiffTagYieldPlot().

+ Here is the caller graph for this function:

def charm_jet_tagging_performance.DrawDiffTagYieldPlot (   df,
  draw_config = {},
  process = 'CC_DIS_e10_p275_CT18NNLO' 
)

Definition at line 111 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 111 of file charm_jet_tagging_performance.py

References DrawDiffTagEfficiencyPlot().

+ Here is the call graph for this function:

Variable Documentation

tuple charm_jet_tagging_performance.args parser.parse_args()

Definition at line 40 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 40 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.ax1 fig.add_subplot(gridspec[0, 0])

Definition at line 316 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 316 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.bin_widths charm_ct18nnlo[1]

Definition at line 311 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 311 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.bins charm_ct18nnlo[0]

Definition at line 310 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 310 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.branchlist ["*"]

Definition at line 44 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 44 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.charm_ct18nnlo eat.DifferentialTaggingYield(df, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT18NNLO')

Definition at line 276 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 276 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.charm_ct18nnlo_20rs2 eat.DifferentialTaggingYield(df_20rs2, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT1820Rs2')

Definition at line 277 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 277 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.charm_ct18nnlo_21rs2 eat.DifferentialTaggingYield(df_21rs2, x=xvar, xrange=xrange, xbins=xbins, which='charm', process='CC_DIS_e10_p100_CT1821Rs2')

Definition at line 278 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 278 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.df eat.UprootLoad([f"{args.dir}/{args.input}/0/out.root"], "tree", branches=branchlist)

Definition at line 48 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 48 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.df_20rs2 eat.UprootLoad([f"{args.dir}/CC_DIS_e10_p275_lha_20Rs2/*/out.root"], "tree", branches=branchlist)

Definition at line 265 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 265 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.df_21rs2 eat.UprootLoad([f"{args.dir}/CC_DIS_e10_p275_lha_21Rs2/*/out.root"], "tree", branches=branchlist)

Definition at line 266 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 266 of file charm_jet_tagging_performance.py

charm_jet_tagging_performance.diff_20_21 N_21-N_20

Definition at line 299 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 299 of file charm_jet_tagging_performance.py

dictionary charm_jet_tagging_performance.draw_config {}

Definition at line 220 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 220 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.enhanced ax1.errorbar(bins, R_N_diff, xerr = bin_widths/2, marker='s', ms=10, ls='none', linewidth=2, fillstyle='none', color='#003066', label='CT18ZNNLO with enhanced strangeness, $R_s=2s/(\overline{u}+\overline{d})=0.863$')

Definition at line 333 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 333 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.errN_20 np.zeros(len(N_20))

Definition at line 290 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 290 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.errorboxes
Initial value:
1 [mpl.patches.Rectangle((x - xe, y - ye), 2*xe, 2*ye, facecolor='#7A6E67', alpha=0.35,
2  label=R_N_20_label)
3  for x, y, xe, ye in zip(bins, one_line, (bin_widths/2), errN_20/N_20)]

Definition at line 323 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 323 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.gridspec fig.add_gridspec(ncols=1, nrows=1, width_ratios=[1], height_ratios=[1])

Definition at line 308 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 308 of file charm_jet_tagging_performance.py

string charm_jet_tagging_performance.help "Directory containing input files"

Definition at line 34 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 34 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.N_20 charm_ct18nnlo_20rs2[2]

Definition at line 289 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 289 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.N_21 charm_ct18nnlo_21rs2[2]

Definition at line 297 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 297 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.one_line np.ones(len(bins))

Definition at line 313 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 313 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.parser argparse.ArgumentParser()

Definition at line 31 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 31 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.pc mpl.collections.PatchCollection(errorboxes, facecolor='#7A6E67', alpha=0.35, label=R_N_20_label)

Definition at line 328 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 328 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.R_N_20 np.ones(len(N_20))

Definition at line 295 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 295 of file charm_jet_tagging_performance.py

string charm_jet_tagging_performance.R_N_20_label "Stat. Uncertainty [CT18NNLO, $R_s=2s/(\overline{u}+\overline{d})=0.325$ (suppressed)]"

Definition at line 320 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 320 of file charm_jet_tagging_performance.py

tuple charm_jet_tagging_performance.R_N_diff np.ones(len(N_20))

Definition at line 301 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 301 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.xbins draw_config['xbins']

Definition at line 270 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 270 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.xlimits draw_config['xlimits']

Definition at line 272 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 272 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.xrange draw_config['xrange']

Definition at line 269 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 269 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.xunits draw_config['xunits']

Definition at line 274 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 274 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.xvar draw_config['xvar']

Definition at line 268 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 268 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.ylimits draw_config['ylimits']

Definition at line 271 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 271 of file charm_jet_tagging_performance.py

list charm_jet_tagging_performance.yunits draw_config['yunits']

Definition at line 273 of file charm_jet_tagging_performance.py.

View newest version in sPHENIX GitHub at line 273 of file charm_jet_tagging_performance.py