Warning, /analysis/EICMCAnalysis/analysis_eicsmear/README is written in an unsupported language. File is not indexed.
0001 To compile macro on RCF (with sPHENIX environment initialized) run:
0002
0003 g++ `root-config --cflags --glibs` -L$OFFLINE_MAIN/lib -I$OFFLINE_MAIN/include -leicsmear eic_sphenix_fill_xq2.C -o eic_sphenix_fill_xq2
0004
0005 This saves a lot of time when running the code!
0006
0007 ++++++++++++++++++++++++++++++
0008
0009 Macros in this repository:
0010
0011 * eic_sphenix_geomacceptance.h : Header file with simple gemetric acceptance cuts for EIC-sPHENIX
0012
0013 * eic_sphenix.C : eic-smear detector model of EIC-sPHENIX.
0014
0015 * eic_sphenix_fill_xq2.C : Fill kinematics histograms with events from Pythia files. Check detector acceptance of particles.
0016
0017 * merge_and_scale.C : Add x-Q2 histograms from multiple files, scale relative weights by luminosity
0018 in each file, and scale overall entries to target luminosity.
0019
0020 * eic_sphenix_dis_countbins.C : Count entries in each x-Q2 bin and plot x-Q2 acceptance, as well as g1 uncertainty in each bin.
0021
0022 * eic_sphenix_sidis_countbins.C : Count entries in each kinematics bin for SIDIS events.
0023
0024
0025 ++++++++++++++++++++++++++++++
0026
0027 Steps to calculate projected uncertainties on g1 and A1:
0028
0029 ./eic_sphenix_fill_xq2 output/x_q2_pythia_ep.root data/pythia_ep.root data/pythia_ep.smear.root
0030
0031 root -b -q calculate_g1_projection_per_bin.C\(\"output/x_q2_pythia_ep.root\"\)
0032
0033 root -l plot_g1_projection.C\(\"output/eic_sphenix_dis_tree.root\"\)