Back to home page

EIC code displayed by LXR

 
 

    


Warning, /swf-monitor/docs/datasets-colab-snapshot-20260517.ipynb is written in an unsupported language. File is not indexed.

0001 {
0002   "nbformat": 4,
0003   "nbformat_minor": 0,
0004   "metadata": {
0005     "colab": {
0006       "provenance": []
0007     },
0008     "kernelspec": {
0009       "name": "python3",
0010       "display_name": "Python 3"
0011     },
0012     "language_info": {
0013       "name": "python"
0014     }
0015   },
0016   "cells": [
0017     {
0018       "cell_type": "code",
0019       "source": [
0020         "import re\n",
0021         "\n",
0022         "detector_config = \"epic_craterlake\"\n",
0023         "detector_version = \"26.02.0\"\n",
0024         "jug_xl_tag = \"26.02.0-stable\"\n",
0025         "copy_reco = \"true\"\n",
0026         "copy_full = \"false\"\n",
0027         "copy_log = \"true\""
0028       ],
0029       "metadata": {
0030         "id": "XoiwuhAYbzNZ"
0031       },
0032       "execution_count": null,
0033       "outputs": []
0034     },
0035     {
0036       "cell_type": "code",
0037       "source": [
0038         "new_demp_list = [\"EXCLUSIVE/DEMP/DEMPgen-1.2.4_10x130_pi+.csv\",\"EXCLUSIVE/DEMP/DEMPgen-1.2.4_10x250_pi+.csv\"]\n",
0039         "submitted = True\n",
0040         "\n",
0041         "for demp in new_demp_list:\n",
0042         "  match = re.search(r'(\\d+)x(\\d+)', demp)\n",
0043         "  ebeam = match.group(1)\n",
0044         "  pbeam = match.group(2)\n",
0045         "  if not submitted:\n",
0046         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+demp+\" 2\")\n",
0047         "\n"
0048       ],
0049       "metadata": {
0050         "id": "s2Y4WgG5gmIc"
0051       },
0052       "execution_count": null,
0053       "outputs": []
0054     },
0055     {
0056       "cell_type": "code",
0057       "source": [
0058         "dvmp_jpsi_abconv_list = [\n",
0059         "    \"EXCLUSIVE/DVMP/lAger3.6.1-1.0_DVMP_JPsi_MuMu_10x130.csv\",\n",
0060         "    \"EXCLUSIVE/DVMP/lAger3.6.1-1.0_DVMP_JPsi_MuMu_10x250.csv\",\n",
0061         "    \"EXCLUSIVE/DVMP/lAger3.6.1-1.0_DVMP_JPsi_MuMu_18x275.csv\"\n",
0062         "]\n",
0063         "submitted = True # Set to False to actually print the commands\n",
0064         "\n",
0065         "for dvmp_jpsi_abconv in dvmp_jpsi_abconv_list:\n",
0066         "  match = re.search(r'(\\d+)x(\\d+)', dvmp_jpsi_abconv)\n",
0067         "  ebeam = match.group(1)\n",
0068         "  pbeam = match.group(2)\n",
0069         "  if not submitted:\n",
0070         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvmp_jpsi_abconv+\" 2\")"
0071       ],
0072       "metadata": {
0073         "id": "bQfLTBg_T_HV"
0074       },
0075       "execution_count": null,
0076       "outputs": []
0077     },
0078     {
0079       "cell_type": "code",
0080       "source": [
0081         "dvmp_pi0_list = [\n",
0082         "    \"EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv\",\n",
0083         "    \"EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv\",\n",
0084         "    \"EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_5x41_ab.csv\"\n",
0085         "]\n",
0086         "submitted = True\n",
0087         "\n",
0088         "for dvmp_pi0 in dvmp_pi0_list:\n",
0089         "  match = re.search(r'(\\d+)x(\\d+)', dvmp_pi0)\n",
0090         "  ebeam = match.group(1)\n",
0091         "  pbeam = match.group(2)\n",
0092         "  if not submitted:\n",
0093         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvmp_pi0+\" 2\")"
0094       ],
0095       "metadata": {
0096         "id": "oVj49_ZzgjFC"
0097       },
0098       "execution_count": null,
0099       "outputs": []
0100     },
0101     {
0102       "cell_type": "code",
0103       "source": [
0104         "ddvcs_list = [\n",
0105         "    \"EXCLUSIVE/DDVCS/EpIC1.1.6-1.0_DDVCS_18x275_q2_0_10_edecay.csv\",\n",
0106         "    \"EXCLUSIVE/DDVCS/EpIC1.1.6-1.0_DDVCS_18x275_q2_0_10_mudecay.csv\"\n",
0107         "]\n",
0108         "submitted = True\n",
0109         "\n",
0110         "for ddvcs in ddvcs_list:\n",
0111         "  match = re.search(r'(\\d+)x(\\d+)', ddvcs)\n",
0112         "  ebeam = match.group(1)\n",
0113         "  pbeam = match.group(2)\n",
0114         "  if not submitted:\n",
0115         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+ddvcs+\" 2\")"
0116       ],
0117       "metadata": {
0118         "id": "nQ1BfccJlpiV"
0119       },
0120       "execution_count": null,
0121       "outputs": []
0122     },
0123     {
0124       "cell_type": "code",
0125       "source": [
0126         "photoproduction_jpsi_list = [\n",
0127         "    \"EXCLUSIVE/PHOTOPRODUCTION_JPSI/eSTARlight/eSTARlight1.3.0-1.0_coherent_ep_JPsi_18x275_q2_nocut_edecay.csv\",\n",
0128         "    \"EXCLUSIVE/PHOTOPRODUCTION_JPSI/eSTARlight/eSTARlight1.3.0-1.0_coherent_ep_JPsi_18x275_q2_nocut_mudecay.csv\"\n",
0129         "]\n",
0130         "submitted = True\n",
0131         "\n",
0132         "for jpsi_file in photoproduction_jpsi_list:\n",
0133         "  match = re.search(r'(\\d+)x(\\d+)', jpsi_file)\n",
0134         "  ebeam = match.group(1)\n",
0135         "  pbeam = match.group(2)\n",
0136         "  if not submitted:\n",
0137         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+jpsi_file+\" 2\")"
0138       ],
0139       "metadata": {
0140         "id": "3OVLK5e5MdmN"
0141       },
0142       "execution_count": null,
0143       "outputs": []
0144     },
0145     {
0146       "cell_type": "code",
0147       "source": [
0148         "diffractive_phi_list = [\"EXCLUSIVE/DIFFRACTIVE_PHI/BeAGLE1.03.02-1.1_phi_eAu_10x100_q2_1to10000_hiAcc.csv\"]\n",
0149         "submitted = True\n",
0150         "\n",
0151         "for diffractive_phi in diffractive_phi_list:\n",
0152         "  ebeam = \"10\"\n",
0153         "  pbeam = \"100_Au197\"\n",
0154         "  if not submitted:\n",
0155         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_phi+\" 2\")\n"
0156       ],
0157       "metadata": {
0158         "id": "cy9WIWetbA9x"
0159       },
0160       "execution_count": null,
0161       "outputs": []
0162     },
0163     {
0164       "cell_type": "code",
0165       "source": [
0166         "import re\n",
0167         "\n",
0168         "diffractive_rho_list = [\"EXCLUSIVE/DIFFRACTIVE_RHO/sartre1.39-1.1_coherent_rho_eAu_bsat_10x100_hiAcc.csv\"]\n",
0169         "submitted = True\n",
0170         "\n",
0171         "for diffractive_rho in diffractive_rho_list:\n",
0172         "  match = re.search(r'(\\d+)x(\\d+)', diffractive_rho)\n",
0173         "  ebeam = match.group(1)\n",
0174         "  pbeam = \"100_Au197\"\n",
0175         "  if not submitted:\n",
0176         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_rho+\" 2\")"
0177       ],
0178       "metadata": {
0179         "id": "u2qbkW7u_Q_p"
0180       },
0181       "execution_count": null,
0182       "outputs": []
0183     },
0184     {
0185       "cell_type": "code",
0186       "source": [
0187         "upsilon_list = [\n",
0188         "    \"EXCLUSIVE/UPSILON/UPSILON_18x275_hiAcc.csv\",\n",
0189         "    \"EXCLUSIVE/UPSILON/UPSILON_18x275_hiDiv.csv\"\n",
0190         "]\n",
0191         "submitted = True\n",
0192         "\n",
0193         "for upsilon_file in upsilon_list:\n",
0194         "  match = re.search(r'(\\d+)x(\\d+)', upsilon_file)\n",
0195         "  ebeam = match.group(1)\n",
0196         "  pbeam = match.group(2)\n",
0197         "  if not submitted:\n",
0198         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+upsilon_file+\" 2\")"
0199       ],
0200       "metadata": {
0201         "id": "nh9W96IusCP1"
0202       },
0203       "execution_count": null,
0204       "outputs": []
0205     },
0206     {
0207       "cell_type": "code",
0208       "source": [
0209         "diffractive_jpsi_list = [\"EXCLUSIVE/DIFFRACTIVE_JPSI/lAger/lAger3.6.1-1.0_jpsi_10x100_hiAcc.csv\",\"EXCLUSIVE/DIFFRACTIVE_JPSI/lAger/lAger3.6.1-1.0_jpsi_18x275_hiAcc.csv\", \"EXCLUSIVE/DIFFRACTIVE_JPSI/lAger/lAger3.6.1-1.0_jpsi_5x100_hiAcc.csv\", \"EXCLUSIVE/DIFFRACTIVE_JPSI/lAger/lAger3.6.1-1.0_jpsi_5x41_hiAcc.csv\", \"EXCLUSIVE/DIFFRACTIVE_JPSI/lAger/lAger3.6.1-1.0_jpsi_10x130_hiAcc.csv\"]\n",
0210         "submitted = True\n",
0211         "\n",
0212         "for diffractive_jpsi in diffractive_jpsi_list:\n",
0213         "  match = re.search(r'(\\d+)x(\\d+)', diffractive_jpsi)\n",
0214         "  ebeam = match.group(1)\n",
0215         "  pbeam = match.group(2)\n",
0216         "  if not submitted:\n",
0217         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_jpsi+\" 2\")\n",
0218         "\n"
0219       ],
0220       "metadata": {
0221         "id": "IfcUNF28oaWA"
0222       },
0223       "execution_count": null,
0224       "outputs": []
0225     },
0226     {
0227       "cell_type": "code",
0228       "source": [
0229         "detector_config=\"epic_craterlake_without_zdc\"\n",
0230         "eA_list = [\"DIS/eA/BeAGLE1.03.02-2.0_DIS_eAu_10x100_q2_1to10.csv\",\"DIS/eA/BeAGLE1.03.02-2.0_DIS_eAu_10x100_q2_10to100.csv\",\"DIS/eA/BeAGLE1.03.02-2.0_DIS_eAu_5x41_q2_1to10.csv\",\"DIS/eA/BeAGLE1.03.02-2.0_DIS_eAu_5x41_q2_10to100.csv\"]\n",
0231         "pbeam_list=[\"100_Au197\", \"100_Au197\",\"41_Au197\", \"41_Au197\"]\n",
0232         "submitted = True\n",
0233         "\n",
0234         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0235         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0236         "  ebeam = match.group(1)\n",
0237         "  if not submitted:\n",
0238         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n",
0239         "\n",
0240         "detector_config=\"epic_craterlake\"\n"
0241       ],
0242       "metadata": {
0243         "id": "VetAakxl_Ilo"
0244       },
0245       "execution_count": null,
0246       "outputs": []
0247     },
0248     {
0249       "cell_type": "code",
0250       "source": [
0251         "sidis_pythia_list = [\n",
0252         "    \"SIDIS/pythia8.306-1.0_D0_18x275_hiDiv.csv\",\n",
0253         "    \"SIDIS/pythia8.306-1.1_D0_10x100_hiDiv.csv\",\n",
0254         "]\n",
0255         "submitted = True\n",
0256         "\n",
0257         "for sidis_file in sidis_pythia_list:\n",
0258         "  match = re.search(r'(\\d+)x(\\d+)', sidis_file)\n",
0259         "  ebeam = match.group(1)\n",
0260         "  pbeam = match.group(2)\n",
0261         "  if not submitted:\n",
0262         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+sidis_file+\" 2\")"
0263       ],
0264       "metadata": {
0265         "id": "C5VAG1aA6eF8"
0266       },
0267       "execution_count": null,
0268       "outputs": []
0269     },
0270     {
0271       "cell_type": "code",
0272       "metadata": {
0273         "id": "5fb13536"
0274       },
0275       "source": [
0276         "import re\n",
0277         "\n",
0278         "ddis_list = [\n",
0279         "    \"DDIS/rapgap3.310-1.0_ddis_ep_noRad_10x100.csv\"\n",
0280         "]\n",
0281         "submitted = True # Set to False to actually print the commands\n",
0282         "\n",
0283         "for ddis_file in ddis_list:\n",
0284         "  match = re.search(r'(\\d+)x(\\d+)', ddis_file)\n",
0285         "  ebeam = match.group(1)\n",
0286         "  pbeam = match.group(2)\n",
0287         "  if not submitted:\n",
0288         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+ddis_file+\" 2\")"
0289       ],
0290       "execution_count": null,
0291       "outputs": []
0292     },
0293     {
0294       "cell_type": "code",
0295       "metadata": {
0296         "id": "c4527c47"
0297       },
0298       "source": [
0299         "import re\n",
0300         "\n",
0301         "dvcs_BH_abconv_list = [\n",
0302         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_10x100_q2_1_100_abconv.csv\",\n",
0303         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_10x130_q2_1_100_abconv.csv\",\n",
0304         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_10x250_q2_1_100_abconv.csv\",\n",
0305         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_18x275_q2_1_100_abconv.csv\",\n",
0306         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_5x41_q2_1_100_abconv.csv\"\n",
0307         "]\n",
0308         "submitted = True # Set to False to actually print the commands\n",
0309         "\n",
0310         "for dvcs in dvcs_BH_abconv_list:\n",
0311         "  match = re.search(r'(\\d+)x(\\d+)', dvcs)\n",
0312         "  ebeam = match.group(1)\n",
0313         "  pbeam = match.group(2)\n",
0314         "  if not submitted:\n",
0315         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvcs+\" 2\")"
0316       ],
0317       "execution_count": null,
0318       "outputs": []
0319     },
0320     {
0321       "cell_type": "code",
0322       "source": [
0323         "eA_list = [\"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x110_q2_2to10.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x110_q2_10to100.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x110_q2_100to10000.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_18x110_q2_2to10.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_18x110_q2_10to100.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_18x110_q2_100to10000.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_5x41_q2_2to10.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_5x41_q2_10to100.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_5x41_q2_100to10000.csv\", ]\n",
0324         "pbeam_list=[\"110_He3\", \"110_He3\", \"110_He3\", \"110_He3\", \"110_He3\", \"110_He3\", \"41_He3\", \"41_He3\", \"41_He3\"]\n",
0325         "submitted = True\n",
0326         "\n",
0327         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0328         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0329         "  ebeam = match.group(1)\n",
0330         "  if not submitted:\n",
0331         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n"
0332       ],
0333       "metadata": {
0334         "id": "ThT-Ep9pxlm-"
0335       },
0336       "execution_count": null,
0337       "outputs": []
0338     },
0339     {
0340       "cell_type": "code",
0341       "metadata": {
0342         "id": "c6e19100"
0343       },
0344       "source": [
0345         "eA_list = [\n",
0346         "    \"DIS/eA/BeAGLE1.03.02-2.1_DIS_eHe3_10x166_q2_2to10.csv\",\n",
0347         "    \"DIS/eA/BeAGLE1.03.02-2.1_DIS_eHe3_10x166_q2_10to100.csv\",\n",
0348         "    \"DIS/eA/BeAGLE1.03.02-2.1_DIS_eHe3_10x166_q2_100to10000.csv\"\n",
0349         "]\n",
0350         "pbeam_list=[\"166_He3\", \"166_He3\", \"166_He3\"]\n",
0351         "submitted = True\n",
0352         "\n",
0353         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0354         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0355         "  ebeam = match.group(1)\n",
0356         "  if not submitted:\n",
0357         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n"
0358       ],
0359       "execution_count": null,
0360       "outputs": []
0361     },
0362     {
0363       "cell_type": "code",
0364       "source": [
0365         "sidis_dijet_list = [\n",
0366         "    \"SIDIS/DIJET/pythia6.428-dijet-v1.0_PGF_noRC_ep_18x275_q2_1to20000_ab.csv\"\n",
0367         "]\n",
0368         "submitted = True\n",
0369         "\n",
0370         "for sidis_dijet in sidis_dijet_list:\n",
0371         "  match = re.search(r'(\\d+)x(\\d+)', sidis_dijet)\n",
0372         "  ebeam = match.group(1)\n",
0373         "  pbeam = match.group(2)\n",
0374         "  if not submitted:\n",
0375         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+sidis_dijet+\" 2\")"
0376       ],
0377       "metadata": {
0378         "id": "ofTvWoMYEyFg"
0379       },
0380       "execution_count": null,
0381       "outputs": []
0382     },
0383     {
0384       "cell_type": "code",
0385       "source": [
0386         "eA_list = [\"SIDIS/ep/pythia8.306-1.2_D0_ep_5x41_q2_1to10000.csv\",\"SIDIS/ep/pythia8.306-1.2_Lc_ep_10x100_q2_1to10000.csv\"]\n",
0387         "pbeam_list=[\"41\", \"100\"]\n",
0388         "submitted = True\n",
0389         "\n",
0390         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0391         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0392         "  ebeam = match.group(1)\n",
0393         "  if not submitted:\n",
0394         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")"
0395       ],
0396       "metadata": {
0397         "id": "TJpNQoKOKmoh"
0398       },
0399       "execution_count": null,
0400       "outputs": []
0401     },
0402     {
0403       "cell_type": "code",
0404       "metadata": {
0405         "colab": {
0406           "base_uri": "https://localhost:8080/"
0407         },
0408         "id": "5c923375",
0409         "outputId": "c4165b9b-cb7c-497b-dea0-86328feb9a97"
0410       },
0411       "source": [
0412         "import re\n",
0413         "\n",
0414         "meson_sf_list = [\n",
0415         "    \"EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_10x100_ab.csv\",\n",
0416         "    \"EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_10x130_ab.csv\",\n",
0417         "    \"EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_18x275_ab.csv\",\n",
0418         "    \"EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_5x41_ab.csv\"\n",
0419         "]\n",
0420         "submitted = False\n",
0421         "\n",
0422         "for meson_sf in meson_sf_list:\n",
0423         "  match = re.search(r'(\\d+)x(\\d+)', meson_sf)\n",
0424         "  ebeam = match.group(1)\n",
0425         "  pbeam = match.group(2)\n",
0426         "  if not submitted:\n",
0427         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+meson_sf+\" 2\")"
0428       ],
0429       "execution_count": null,
0430       "outputs": [
0431         {
0432           "output_type": "stream",
0433           "name": "stdout",
0434           "text": [
0435             "EBEAM=10 PBEAM=100 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_10x100_ab.csv 2\n",
0436             "EBEAM=10 PBEAM=130 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_10x130_ab.csv 2\n",
0437             "EBEAM=18 PBEAM=275 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_18x275_ab.csv 2\n",
0438             "EBEAM=5 PBEAM=41 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/MESON_SF/eicMesonSFGen-1.0.0_K+Lambda_ep_5x41_ab.csv 2\n"
0439           ]
0440         }
0441       ]
0442     },
0443     {
0444       "cell_type": "code",
0445       "source": [
0446         "diffractive_phi_list = [\"EXCLUSIVE/DIFFRACTIVE_PHI/Sartre_Coherent.csv\",\"EXCLUSIVE/DIFFRACTIVE_PHI/Sartre_Coherent_q2_15.csv\"]\n",
0447         "submitted = False\n",
0448         "\n",
0449         "for diffractive_phi in diffractive_phi_list:\n",
0450         "  ebeam = \"18\"\n",
0451         "  pbeam = \"110_Au\"\n",
0452         "  if not submitted:\n",
0453         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_phi+\" 2\")\n"
0454       ],
0455       "metadata": {
0456         "id": "eRBccsz-ie1k"
0457       },
0458       "execution_count": null,
0459       "outputs": []
0460     },
0461     {
0462       "cell_type": "code",
0463       "source": [
0464         "uchannel_list = [\"EXCLUSIVE/UCHANNEL_PI0/18x275/Q2=0to10/pi0_18x275_uChannel_Q2of0to10_hiDiv.csv\", \"EXCLUSIVE/UCHANNEL_RHO/10x100/Q2=0to10/rho_10x100_uChannel_Q2of0to10_hiDiv.csv\"]\n",
0465         "submitted = False\n",
0466         "\n",
0467         "for uchannel in uchannel_list:\n",
0468         "  match = re.search(r'(\\d+)x(\\d+)', uchannel)\n",
0469         "  ebeam = match.group(1)\n",
0470         "  pbeam = match.group(2)\n",
0471         "  if not submitted:\n",
0472         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+uchannel+\" 2\")\n"
0473       ],
0474       "metadata": {
0475         "id": "7nXq5YOVtDpU"
0476       },
0477       "execution_count": null,
0478       "outputs": []
0479     },
0480     {
0481       "cell_type": "code",
0482       "source": [
0483         "dvcs_NEW_list = [\"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.1_DVCS_BH_INT_10x130_hiAcc.csv\"]\n",
0484         "submitted = False\n",
0485         "\n",
0486         "for dvcs in dvcs_NEW_list:\n",
0487         "  match = re.search(r'(\\d+)x(\\d+)', dvcs)\n",
0488         "  ebeam = match.group(1)\n",
0489         "  pbeam = match.group(2)\n",
0490         "  if not submitted:\n",
0491         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvcs+\" 2\")"
0492       ],
0493       "metadata": {
0494         "id": "oNnkQekPbs6a"
0495       },
0496       "execution_count": null,
0497       "outputs": []
0498     },
0499     {
0500       "cell_type": "code",
0501       "source": [
0502         "diffractive_jpsi_STARLIGHT_list = [\"EXCLUSIVE/DIFFRACTIVE_JPSI/eSTARlight/eSTARlight1.2.0-1.0_coherent_eCu_jpsi_10x115_afterburned.csv\",\"EXCLUSIVE/DIFFRACTIVE_JPSI/eSTARlight/eSTARlight1.2.0-1.0_coherent_eRu_jpsi_10x115_afterburned.csv\"]\n",
0503         "pbeam_list=[\"115_Cu63\",\"115_Ru96\"]\n",
0504         "submitted = False\n",
0505         "\n",
0506         "for diffractive_jpsi, pbeam in zip(diffractive_jpsi_STARLIGHT_list, pbeam_list):\n",
0507         "  match = re.search(r'(\\d+)x(\\d+)', diffractive_jpsi)\n",
0508         "  ebeam = match.group(1)\n",
0509         "  if not submitted:\n",
0510         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_jpsi+\" 2\")\n",
0511         "\n"
0512       ],
0513       "metadata": {
0514         "id": "SSiwFdW3T_og"
0515       },
0516       "execution_count": null,
0517       "outputs": []
0518     },
0519     {
0520       "cell_type": "code",
0521       "source": [
0522         "diffractive_phi_STARLIGHT_list = [\"EXCLUSIVE/DIFFRACTIVE_PHI/eSTARlight/eSTARlight1.2.0-1.0_coherent_eCu_phi_10x115_afterburned.csv\",\"EXCLUSIVE/DIFFRACTIVE_PHI/eSTARlight/eSTARlight1.2.0-1.0_coherent_eRu_phi_10x115_afterburned.csv\"]\n",
0523         "pbeam_list=[\"115_Cu63\",\"115_Ru96\"]\n",
0524         "submitted = False\n",
0525         "\n",
0526         "for diffractive_phi, pbeam in zip(diffractive_phi_STARLIGHT_list, pbeam_list):\n",
0527         "  match = re.search(r'(\\d+)x(\\d+)', diffractive_phi)\n",
0528         "  ebeam = match.group(1)\n",
0529         "  if not submitted:\n",
0530         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_phi+\" 2\")\n",
0531         "\n"
0532       ],
0533       "metadata": {
0534         "id": "AGPN1ZbcSE_3"
0535       },
0536       "execution_count": null,
0537       "outputs": []
0538     },
0539     {
0540       "cell_type": "code",
0541       "source": [
0542         "eA_list = [\"DIS/eA/BeAGLE1.03.02-1.0_DIS_eCu_en_10x115.csv\",\"DIS/eA/BeAGLE1.03.02-1.0_DIS_eCu_ep_10x115.csv\",\"DIS/eA/BeAGLE1.03.02-1.0_DIS_eRu_en_10x115.csv\",\"DIS/eA/BeAGLE1.03.02-1.0_DIS_eRu_ep_10x115.csv\", \"DIS/eA/BeAGLE1.03.02-1.0_DIS_eHe3_10x166.csv\"]\n",
0543         "pbeam_list=[\"115_Cu63\", \"115_Cu63\",\"115_Ru96\", \"115_Ru96\"]\n",
0544         "submitted = False\n",
0545         "\n",
0546         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0547         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0548         "  ebeam = match.group(1)\n",
0549         "  if not submitted:\n",
0550         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n"
0551       ],
0552       "metadata": {
0553         "id": "QBH9nCQ8M1tT"
0554       },
0555       "execution_count": null,
0556       "outputs": []
0557     },
0558     {
0559       "cell_type": "code",
0560       "source": [
0561         "detector_config=\"epic_craterlake_without_zdc\"\n",
0562         "eA_list = [\"SIDIS/eA/BeAGLE1.03.01-2.0_D0_eAu_10x100_q2_1to10000.csv\",\"SIDIS/eA/BeAGLE1.03.01-2.0_D0_eAu_5x41_q2_1to10000.csv\",\"SIDIS/eA/BeAGLE1.03.01-2.0_Lc_eAu_10x100_q2_1to10000.csv\"]\n",
0563         "pbeam_list=[\"100_Au197\",\"41_Au197\", \"100_Au197\"]\n",
0564         "submitted = False\n",
0565         "\n",
0566         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
0567         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
0568         "  ebeam = match.group(1)\n",
0569         "  if not submitted:\n",
0570         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n",
0571         "\n",
0572         "detector_config=\"epic_craterlake\""
0573       ],
0574       "metadata": {
0575         "id": "xiXQ_rPAIrkG"
0576       },
0577       "execution_count": null,
0578       "outputs": []
0579     },
0580     {
0581       "cell_type": "code",
0582       "metadata": {
0583         "id": "8a84ac05"
0584       },
0585       "source": [
0586         "import re\n",
0587         "\n",
0588         "dis_nc_list = [\n",
0589         "    \"DIS/NC/10x130/pythia6.428-1.0_NC_noRad_ep_10x130_q2_10to100.csv\",\n",
0590         "    \"DIS/NC/10x130/pythia6.428-1.0_NC_noRad_ep_10x130_q2_1000to10000.csv\",\n",
0591         "    \"DIS/NC/10x130/pythia6.428-1.0_NC_noRad_ep_10x130_q2_1to10.csv\",\n",
0592         "    \"DIS/NC/10x130/pythia6.428-1.0_NC_noRad_ep_10x130_q2_100to1000.csv\",\n",
0593         "    \"DIS/NC/10x250/pythia6.428-1.0_NC_noRad_ep_10x250_q2_10to100.csv\",\n",
0594         "    \"DIS/NC/10x250/pythia6.428-1.0_NC_noRad_ep_10x250_q2_1000to10000.csv\",\n",
0595         "    \"DIS/NC/10x250/pythia6.428-1.0_NC_noRad_ep_10x250_q2_1to10.csv\",\n",
0596         "    \"DIS/NC/10x250/pythia6.428-1.0_NC_noRad_ep_10x250_q2_100to1000.csv\"\n",
0597         "]\n",
0598         "submitted = False\n",
0599         "\n",
0600         "for dis_nc_file in dis_nc_list:\n",
0601         "  match = re.search(r'(\\d+)x(\\d+)', dis_nc_file)\n",
0602         "  ebeam = match.group(1)\n",
0603         "  pbeam = match.group(2)\n",
0604         "  if not submitted:\n",
0605         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_nc_file+\" 2\")"
0606       ],
0607       "execution_count": null,
0608       "outputs": []
0609     },
0610     {
0611       "cell_type": "code",
0612       "source": [
0613         "### Leave this to Sakib for now\n",
0614         "\n",
0615         "\n",
0616         "submitted = True\n",
0617         "scaling = \"0.1\"  # Constant for all runs\n",
0618         "\n",
0619         "bg_csv_list = [\n",
0620         "    \"DIS_NC_10x100_minQ2=1_DefaultCoating_Bkg.csv\",\n",
0621         "    \"DIS_NC_10x100_minQ2=1_GoldCoating_Bkg.csv\",\n",
0622         "    \"DIS_NC_10x275_minQ2=1_DefaultCoating_Bkg.csv\",\n",
0623         "    \"DIS_NC_10x275_minQ2=1_GoldCoating_Bkg.csv\",\n",
0624         "    \"DIS_NC_18x275_minQ2=1_DefaultCoating_Bkg.csv\",\n",
0625         "    \"DIS_NC_18x275_minQ2=1_GoldCoating_Bkg.csv\"\n",
0626         "]\n",
0627         "\n",
0628         "for csv_file in bg_csv_list:\n",
0629         "    # 1. Extract Beam Energies\n",
0630         "    energy_match = re.search(r'(\\d+)x(\\d+)', csv_file)\n",
0631         "    ebeam, pbeam = energy_match.groups()\n",
0632         "\n",
0633         "    # 2. Handle Coating/Thickness Logic\n",
0634         "    # 5um corresponds to \"vacuum\" in your BG_FILES, 10um corresponds to \"GoldCoating_10um\"\n",
0635         "    if \"Gold\" in csv_file:\n",
0636         "        thickness = \"10um\"\n",
0637         "        bg_label = \"GoldCoating_10um\"\n",
0638         "    else:\n",
0639         "        thickness = \"5um\"\n",
0640         "        bg_label = \"vacuum\"\n",
0641         "\n",
0642         "    # 3. Construct dynamic components\n",
0643         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0644         "\n",
0645         "    bg_json = (\n",
0646         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\"\n",
0647         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0648         "    )\n",
0649         "\n",
0650         "    # 4. Assemble the command\n",
0651         "    cmd = (\n",
0652         "        f\"EBEAM={ebeam} PBEAM={pbeam} \"\n",
0653         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \"\n",
0654         "        f\"COPYRECO=true COPYFULL=true COPYLOG=true USERUCIO=true \"\n",
0655         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \"\n",
0656         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \"\n",
0657         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={csv_file} BG_FILES={bg_json} \"\n",
0658         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {csv_file} {scaling}\"\n",
0659         "    )\n",
0660         "\n",
0661         "    if not submitted:\n",
0662         "     print(cmd)"
0663       ],
0664       "metadata": {
0665         "id": "Uu6gPApV-5ZE"
0666       },
0667       "execution_count": null,
0668       "outputs": []
0669     },
0670     {
0671       "cell_type": "code",
0672       "metadata": {
0673         "id": "1dd8c05d"
0674       },
0675       "source": [
0676         "import re\n",
0677         "\n",
0678         "dvcs_BH_abconv_list = [\n",
0679         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_10x100_q2_1_100_abconv.csv\",\n",
0680         "    \"EXCLUSIVE/DVCS/EpIC_v1.1.6-1.2_DVCS_BH_18x275_q2_1_100_abconv.csv\"\n",
0681         "]\n",
0682         "\n",
0683         "scaling = \"0.1\"  # Constant for all runs\n",
0684         "submitted_dvcs_bg_specific = True # Set to False to actually print the commands\n",
0685         "\n",
0686         "for dvcs_file in dvcs_BH_abconv_list:\n",
0687         "  match = re.search(r'(\\d+)x(\\d+)', dvcs_file)\n",
0688         "  ebeam = match.group(1)\n",
0689         "  pbeam = match.group(2)\n",
0690         "\n",
0691         "  # Define coating configurations for background\n",
0692         "  coating_configs = [\n",
0693         "      {\"thickness\": \"5um\", \"bg_label\": \"vacuum\"},\n",
0694         "      {\"thickness\": \"10um\", \"bg_label\": \"GoldCoating_10um\"}\n",
0695         "  ]\n",
0696         "\n",
0697         "  for config in coating_configs:\n",
0698         "    thickness = config[\"thickness\"]\n",
0699         "    bg_label = config[\"bg_label\"]\n",
0700         "\n",
0701         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0702         "\n",
0703         "    bg_json = (\n",
0704         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\" +\n",
0705         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0706         "    )\n",
0707         "\n",
0708         "    cmd = (\n",
0709         "        f\"EBEAM={ebeam} PBEAM={pbeam} \" +\n",
0710         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \" +\n",
0711         "        f\"COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true \" +\n",
0712         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \" +\n",
0713         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \" + # These are key for background-only submission\n",
0714         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={dvcs_file} BG_FILES={bg_json} \" + # Use the specific DVCS file here\n",
0715         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {dvcs_file} {scaling}\"\n",
0716         "    )\n",
0717         "\n",
0718         "    if not submitted_dvcs_bg_specific:\n",
0719         "     print(cmd)"
0720       ],
0721       "execution_count": null,
0722       "outputs": []
0723     },
0724     {
0725       "cell_type": "code",
0726       "metadata": {
0727         "id": "88add3b3"
0728       },
0729       "source": [
0730         "import re\n",
0731         "\n",
0732         "ddvcs_list = [\n",
0733         "    \"EXCLUSIVE/DDVCS/EpIC1.1.6-1.0_DDVCS_18x275_q2_0_10_edecay.csv\",\n",
0734         "    \"EXCLUSIVE/DDVCS/EpIC1.1.6-1.0_DDVCS_18x275_q2_0_10_mudecay.csv\"\n",
0735         "]\n",
0736         "\n",
0737         "scaling = \"0.1\"  # Constant for all runs\n",
0738         "submitted_ddvcs_bg_specific = True # Set to False to actually print the commands\n",
0739         "\n",
0740         "for ddvcs_file in ddvcs_list:\n",
0741         "  match = re.search(r'(\\d+)x(\\d+)', ddvcs_file)\n",
0742         "  ebeam = match.group(1)\n",
0743         "  pbeam = match.group(2)\n",
0744         "\n",
0745         "  # Define coating configurations for background\n",
0746         "  coating_configs = [\n",
0747         "      {\"thickness\": \"5um\", \"bg_label\": \"vacuum\"},\n",
0748         "      {\"thickness\": \"10um\", \"bg_label\": \"GoldCoating_10um\"}\n",
0749         "  ]\n",
0750         "\n",
0751         "  for config in coating_configs:\n",
0752         "    thickness = config[\"thickness\"]\n",
0753         "    bg_label = config[\"bg_label\"]\n",
0754         "\n",
0755         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0756         "\n",
0757         "    bg_json = (\n",
0758         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\" +\n",
0759         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0760         "    )\n",
0761         "\n",
0762         "    cmd = (\n",
0763         "        f\"EBEAM={ebeam} PBEAM={pbeam} \" +\n",
0764         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \" +\n",
0765         "        f\"COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true \" +\n",
0766         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \" +\n",
0767         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \" + # These are key for background-only submission\n",
0768         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={ddvcs_file} BG_FILES={bg_json} \" + # Use the specific DDVCS file here\n",
0769         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {ddvcs_file} {scaling}\"\n",
0770         "    )\n",
0771         "\n",
0772         "    if not submitted_ddvcs_bg_specific:\n",
0773         "     print(cmd)"
0774       ],
0775       "execution_count": null,
0776       "outputs": []
0777     },
0778     {
0779       "cell_type": "code",
0780       "metadata": {
0781         "id": "ecdb001e"
0782       },
0783       "source": [
0784         "import re\n",
0785         "\n",
0786         "photoproduction_jpsi_list = [\n",
0787         "    \"EXCLUSIVE/PHOTOPRODUCTION_JPSI/eSTARlight/eSTARlight1.3.0-1.0_coherent_ep_JPsi_18x275_q2_nocut_edecay.csv\",\n",
0788         "    \"EXCLUSIVE/PHOTOPRODUCTION_JPSI/eSTARlight/eSTARlight1.3.0-1.0_coherent_ep_JPsi_18x275_q2_nocut_mudecay.csv\"\n",
0789         "]\n",
0790         "\n",
0791         "scaling = \"0.1\"  # Constant for all runs\n",
0792         "submitted_jpsi_bg_specific = True # Set to False to actually print the commands\n",
0793         "\n",
0794         "for jpsi_file in photoproduction_jpsi_list:\n",
0795         "  match = re.search(r'(\\d+)x(\\d+)', jpsi_file)\n",
0796         "  ebeam = match.group(1)\n",
0797         "  pbeam = match.group(2)\n",
0798         "\n",
0799         "  # Define coating configurations for background\n",
0800         "  coating_configs = [\n",
0801         "      {\"thickness\": \"5um\", \"bg_label\": \"vacuum\"},\n",
0802         "      {\"thickness\": \"10um\", \"bg_label\": \"GoldCoating_10um\"}\n",
0803         "  ]\n",
0804         "\n",
0805         "  for config in coating_configs:\n",
0806         "    thickness = config[\"thickness\"]\n",
0807         "    bg_label = config[\"bg_label\"]\n",
0808         "\n",
0809         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0810         "\n",
0811         "    bg_json = (\n",
0812         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\" +\n",
0813         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0814         "    )\n",
0815         "\n",
0816         "    cmd = (\n",
0817         "        f\"EBEAM={ebeam} PBEAM={pbeam} \" +\n",
0818         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \" +\n",
0819         "        f\"COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true \" +\n",
0820         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \" +\n",
0821         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \" + # These are key for background-only submission\n",
0822         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={jpsi_file} BG_FILES={bg_json} \" + # Use the specific JPSI file here\n",
0823         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {jpsi_file} {scaling}\"\n",
0824         "    )\n",
0825         "\n",
0826         "    if not submitted_jpsi_bg_specific:\n",
0827         "     print(cmd)"
0828       ],
0829       "execution_count": null,
0830       "outputs": []
0831     },
0832     {
0833       "cell_type": "code",
0834       "metadata": {
0835         "id": "80913093"
0836       },
0837       "source": [
0838         "import re\n",
0839         "\n",
0840         "demp_list = [\n",
0841         "    \"EXCLUSIVE/DEMP/DEMPgen-1.2.4_10x130_pi+.csv\"\n",
0842         "]\n",
0843         "\n",
0844         "scaling = \"0.1\"  # Constant for all runs\n",
0845         "submitted_demp_bg_specific = True # Set to False to actually print the commands\n",
0846         "\n",
0847         "for demp_file in demp_list:\n",
0848         "  match = re.search(r'(\\d+)x(\\d+)', demp_file)\n",
0849         "  ebeam = match.group(1)\n",
0850         "  pbeam = match.group(2)\n",
0851         "\n",
0852         "  # Define coating configurations for background\n",
0853         "  coating_configs = [\n",
0854         "      {\"thickness\": \"5um\", \"bg_label\": \"vacuum\"},\n",
0855         "      {\"thickness\": \"10um\", \"bg_label\": \"GoldCoating_10um\"}\n",
0856         "  ]\n",
0857         "\n",
0858         "  for config in coating_configs:\n",
0859         "    thickness = config[\"thickness\"]\n",
0860         "    bg_label = config[\"bg_label\"]\n",
0861         "\n",
0862         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0863         "\n",
0864         "    bg_json = (\n",
0865         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\" +\n",
0866         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0867         "    )\n",
0868         "\n",
0869         "    cmd = (\n",
0870         "        f\"EBEAM={ebeam} PBEAM={pbeam} \" +\n",
0871         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \" +\n",
0872         "        f\"COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true \" +\n",
0873         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \" +\n",
0874         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \" + # These are key for background-only submission\n",
0875         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={demp_file} BG_FILES={bg_json} \" + # Use the specific DEMP file here\n",
0876         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {demp_file} {scaling}\"\n",
0877         "    )\n",
0878         "\n",
0879         "    if not submitted_demp_bg_specific:\n",
0880         "     print(cmd)"
0881       ],
0882       "execution_count": null,
0883       "outputs": []
0884     },
0885     {
0886       "cell_type": "code",
0887       "metadata": {
0888         "colab": {
0889           "base_uri": "https://localhost:8080/"
0890         },
0891         "id": "8765d5f3",
0892         "outputId": "9db28aa7-242d-48ea-b7e0-a8228c742bd9"
0893       },
0894       "source": [
0895         "import re\n",
0896         "\n",
0897         "dvmp_pi0_list = [\n",
0898         "    \"EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv\",\n",
0899         "    \"EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv\"\n",
0900         "]\n",
0901         "\n",
0902         "scaling = \"0.1\"  # Constant for all runs\n",
0903         "submitted_dvmp_pi0_bg_specific = False # Set to False to actually print the commands\n",
0904         "\n",
0905         "for dvmp_pi0_file in dvmp_pi0_list:\n",
0906         "  match = re.search(r'(\\d+)x(\\d+)', dvmp_pi0_file)\n",
0907         "  ebeam = match.group(1)\n",
0908         "  pbeam = match.group(2)\n",
0909         "\n",
0910         "  # Define coating configurations for background\n",
0911         "  coating_configs = [\n",
0912         "      {\"thickness\": \"5um\", \"bg_label\": \"vacuum\"},\n",
0913         "      {\"thickness\": \"10um\", \"bg_label\": \"GoldCoating_10um\"}\n",
0914         "  ]\n",
0915         "\n",
0916         "  for config in coating_configs:\n",
0917         "    thickness = config[\"thickness\"]\n",
0918         "    bg_label = config[\"bg_label\"]\n",
0919         "\n",
0920         "    tag_prefix = f\"Bkg_Exact1S_2us/GoldCt/{thickness}\"\n",
0921         "\n",
0922         "    bg_json = (\n",
0923         "        f\"synrad_egasbrems_egascoulomb_egastouschek_hgas_\" +\n",
0924         "        f\"{ebeam}GeVx{pbeam}GeV_{bg_label}_10000Ahr_machineruntime_50s.json\"\n",
0925         "    )\n",
0926         "\n",
0927         "    cmd = (\n",
0928         "        f\"EBEAM={ebeam} PBEAM={pbeam} \" +\n",
0929         "        f\"DETECTOR_VERSION={detector_version} DETECTOR_CONFIG={detector_config} JUG_XL_TAG={jug_xl_tag} \" +\n",
0930         "        f\"COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true \" +\n",
0931         "        f\"X509_USER_PROXY=secrets/x509_user_proxy \" +\n",
0932         "        f\"SIGNAL_FREQ=0 SIGNAL_STATUS=0 \" + # These are key for background-only submission\n",
0933         "        f\"TAG_PREFIX={tag_prefix} CSV_FILE={dvmp_pi0_file} BG_FILES={bg_json} \" + # Use the specific DVMP pi0 file here\n",
0934         "        f\"scripts/submit_csv.sh osg_csv hepmc3 {dvmp_pi0_file} {scaling}\"\n",
0935         "    )\n",
0936         "\n",
0937         "    if not submitted_dvmp_pi0_bg_specific:\n",
0938         "     print(cmd)"
0939       ],
0940       "execution_count": null,
0941       "outputs": [
0942         {
0943           "output_type": "stream",
0944           "name": "stdout",
0945           "text": [
0946             "EBEAM=10 PBEAM=130 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy SIGNAL_FREQ=0 SIGNAL_STATUS=0 TAG_PREFIX=Bkg_Exact1S_2us/GoldCt/5um CSV_FILE=EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv BG_FILES=synrad_egasbrems_egascoulomb_egastouschek_hgas_10GeVx130GeV_vacuum_10000Ahr_machineruntime_50s.json scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv 0.1\n",
0947             "EBEAM=10 PBEAM=130 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy SIGNAL_FREQ=0 SIGNAL_STATUS=0 TAG_PREFIX=Bkg_Exact1S_2us/GoldCt/10um CSV_FILE=EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv BG_FILES=synrad_egasbrems_egascoulomb_egastouschek_hgas_10GeVx130GeV_GoldCoating_10um_10000Ahr_machineruntime_50s.json scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.0_DVMP_pi0_10x130_ab.csv 0.1\n",
0948             "EBEAM=18 PBEAM=275 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy SIGNAL_FREQ=0 SIGNAL_STATUS=0 TAG_PREFIX=Bkg_Exact1S_2us/GoldCt/5um CSV_FILE=EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv BG_FILES=synrad_egasbrems_egascoulomb_egastouschek_hgas_18GeVx275GeV_vacuum_10000Ahr_machineruntime_50s.json scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv 0.1\n",
0949             "EBEAM=18 PBEAM=275 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy SIGNAL_FREQ=0 SIGNAL_STATUS=0 TAG_PREFIX=Bkg_Exact1S_2us/GoldCt/10um CSV_FILE=EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv BG_FILES=synrad_egasbrems_egascoulomb_egastouschek_hgas_18GeVx275GeV_GoldCoating_10um_10000Ahr_machineruntime_50s.json scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/DVMP/unpolarised/EpIC1.1.6-1.1_DVMP_pi0_18x275_ab.csv 0.1\n"
0950           ]
0951         }
0952       ]
0953     },
0954     {
0955       "cell_type": "code",
0956       "metadata": {
0957         "id": "fd6f0be6"
0958       },
0959       "source": [
0960         "import re\n",
0961         "\n",
0962         "dis_nc_minQ2_list = [\n",
0963         "    \"DIS/NC/10x100/minQ2=1/DIS_NC_10x100_minQ2=1.csv\",\n",
0964         "    \"DIS/NC/18x275/minQ2=1/DIS_NC_18x275_minQ2=1.csv\",\n",
0965         "    \"DIS/NC/10x275/minQ2=1/DIS_NC_10x275_minQ2=1.csv\",\n",
0966         "    \"DIS/NC/5x41/minQ2=1/DIS_NC_5x41_minQ2=1.csv\",\n",
0967         "    \"DIS/NC/5x100/minQ2=1/DIS_NC_5x100_minQ2=1.csv\"\n",
0968         "]\n",
0969         "submitted = True # Set to False to actually print the commands\n",
0970         "\n",
0971         "for dis_nc_file in dis_nc_minQ2_list:\n",
0972         "  match = re.search(r'(\\d+)x(\\d+)', dis_nc_file)\n",
0973         "  ebeam = match.group(1)\n",
0974         "  pbeam = match.group(2)\n",
0975         "  if not submitted:\n",
0976         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_nc_file+\" 2\")"
0977       ],
0978       "execution_count": null,
0979       "outputs": []
0980     },
0981     {
0982       "cell_type": "code",
0983       "metadata": {
0984         "id": "dcdf253d"
0985       },
0986       "source": [
0987         "import re\n",
0988         "\n",
0989         "dis_nc_minQ2_10_list = [\n",
0990         "    \"DIS/NC/10x100/minQ2=10/DIS_NC_10x100_minQ2=10.csv\",\n",
0991         "    \"DIS/NC/18x275/minQ2=10/DIS_NC_18x275_minQ2=10.csv\",\n",
0992         "    \"DIS/NC/10x275/minQ2=10/DIS_NC_10x275_minQ2=10.csv\",\n",
0993         "    \"DIS/NC/5x41/minQ2=10/DIS_NC_5x41_minQ2=10.csv\",\n",
0994         "    \"DIS/NC/5x100/minQ2=10/DIS_NC_5x100_minQ2=10.csv\"\n",
0995         "]\n",
0996         "submitted = True # Set to False to actually print the commands\n",
0997         "\n",
0998         "for dis_nc_file in dis_nc_minQ2_10_list:\n",
0999         "  match = re.search(r'(\\d+)x(\\d+)', dis_nc_file)\n",
1000         "  ebeam = match.group(1)\n",
1001         "  pbeam = match.group(2)\n",
1002         "  if not submitted:\n",
1003         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_nc_file+\" 2\")"
1004       ],
1005       "execution_count": null,
1006       "outputs": []
1007     },
1008     {
1009       "cell_type": "code",
1010       "metadata": {
1011         "id": "b12aa3ba"
1012       },
1013       "source": [
1014         "import re\n",
1015         "\n",
1016         "dis_nc_minQ2_100_list = [\n",
1017         "    \"DIS/NC/10x100/minQ2=100/DIS_NC_10x100_minQ2=100.csv\",\n",
1018         "    \"DIS/NC/18x275/minQ2=100/DIS_NC_18x275_minQ2=100.csv\",\n",
1019         "    \"DIS/NC/10x275/minQ2=100/DIS_NC_10x275_minQ2=100.csv\",\n",
1020         "    \"DIS/NC/5x41/minQ2=100/DIS_NC_5x41_minQ2=100.csv\",\n",
1021         "    \"DIS/NC/5x100/minQ2=100/DIS_NC_5x100_minQ2=100.csv\"\n",
1022         "]\n",
1023         "submitted = True # Set to False to actually print the commands\n",
1024         "\n",
1025         "for dis_nc_file in dis_nc_minQ2_100_list:\n",
1026         "  match = re.search(r'(\\d+)x(\\d+)', dis_nc_file)\n",
1027         "  ebeam = match.group(1)\n",
1028         "  pbeam = match.group(2)\n",
1029         "  if not submitted:\n",
1030         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_nc_file+\" 2\")"
1031       ],
1032       "execution_count": null,
1033       "outputs": []
1034     },
1035     {
1036       "cell_type": "code",
1037       "source": [
1038         "import re\n",
1039         "\n",
1040         "dis_nc_minQ2_1000_list = [\n",
1041         "    \"DIS/NC/10x100/minQ2=1000/DIS_NC_10x100_minQ2=1000.csv\",\n",
1042         "    \"DIS/NC/18x275/minQ2=1000/DIS_NC_18x275_minQ2=1000.csv\",\n",
1043         "    \"DIS/NC/10x275/minQ2=1000/DIS_NC_10x275_minQ2=1000.csv\",\n",
1044         "    \"DIS/NC/5x100/minQ2=1000/DIS_NC_5x100_minQ2=1000.csv\"\n",
1045         "]\n",
1046         "submitted = True # Set to False to actually print the commands\n",
1047         "\n",
1048         "for dis_nc_file in dis_nc_minQ2_1000_list:\n",
1049         "  match = re.search(r'(\\d+)x(\\d+)', dis_nc_file)\n",
1050         "  ebeam = match.group(1)\n",
1051         "  pbeam = match.group(2)\n",
1052         "  if not submitted:\n",
1053         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_nc_file+\" 2\")"
1054       ],
1055       "metadata": {
1056         "id": "AK7KgrfGk2Ps"
1057       },
1058       "execution_count": null,
1059       "outputs": []
1060     },
1061     {
1062       "cell_type": "code",
1063       "source": [
1064         "import re\n",
1065         "\n",
1066         "dis_cc_minQ2_1000_list = [\n",
1067         "    \"DIS/CC/10x100/minQ2=1000/DIS_CC_10x100_minQ2=1000.csv\",\n",
1068         "    \"DIS/CC/18x275/minQ2=1000/DIS_CC_18x275_minQ2=1000.csv\",\n",
1069         "    \"DIS/CC/10x275/minQ2=1000/DIS_CC_10x275_minQ2=1000.csv\",\n",
1070         "    \"DIS/CC/5x100/minQ2=1000/DIS_CC_5x100_minQ2=1000.csv\"\n",
1071         "]\n",
1072         "submitted = True # Set to False to actually print the commands\n",
1073         "\n",
1074         "for dis_cc_file in dis_cc_minQ2_1000_list:\n",
1075         "  match = re.search(r'(\\d+)x(\\d+)', dis_cc_file)\n",
1076         "  ebeam = match.group(1)\n",
1077         "  pbeam = match.group(2)\n",
1078         "  if not submitted:\n",
1079         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_cc_file+\" 2\")"
1080       ],
1081       "metadata": {
1082         "id": "nlykPzK9Rd60"
1083       },
1084       "execution_count": null,
1085       "outputs": []
1086     },
1087     {
1088       "cell_type": "code",
1089       "metadata": {
1090         "id": "846db04f"
1091       },
1092       "source": [
1093         "import re\n",
1094         "\n",
1095         "dis_cc_minQ2_100_list = [\n",
1096         "    \"DIS/CC/10x100/minQ2=100/DIS_CC_10x100_minQ2=100.csv\",\n",
1097         "    \"DIS/CC/18x275/minQ2=100/DIS_CC_18x275_minQ2=100.csv\",\n",
1098         "    \"DIS/CC/10x275/minQ2=100/DIS_CC_10x275_minQ2=100.csv\",\n",
1099         "    \"DIS/CC/5x41/minQ2=100/DIS_CC_5x41_minQ2=100.csv\",\n",
1100         "    \"DIS/CC/5x100/minQ2=100/DIS_CC_5x100_minQ2=100.csv\"\n",
1101         "]\n",
1102         "submitted = True # Set to False to actually print the commands\n",
1103         "\n",
1104         "for dis_cc_file in dis_cc_minQ2_100_list:\n",
1105         "  match = re.search(r'(\\d+)x(\\d+)', dis_cc_file)\n",
1106         "  ebeam = match.group(1)\n",
1107         "  pbeam = match.group(2)\n",
1108         "  if not submitted:\n",
1109         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dis_cc_file+\" 2\")"
1110       ],
1111       "execution_count": null,
1112       "outputs": []
1113     },
1114     {
1115       "cell_type": "markdown",
1116       "source": [
1117         "# **Decommissioned Datasets**"
1118       ],
1119       "metadata": {
1120         "id": "Gf7VNEIOFC3q"
1121       }
1122     },
1123     {
1124       "cell_type": "code",
1125       "execution_count": null,
1126       "metadata": {
1127         "id": "ILmJ_1n2a9Qx",
1128         "colab": {
1129           "base_uri": "https://localhost:8080/"
1130         },
1131         "outputId": "b0b6df37-65a7-4c93-8529-f2a602d30f9a"
1132       },
1133       "outputs": [
1134         {
1135           "output_type": "stream",
1136           "name": "stdout",
1137           "text": [
1138             "EBEAM=5 PBEAM=41 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_5x41_hiAcc.csv 2\n",
1139             "EBEAM=5 PBEAM=41 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_5x41_hiDiv.csv 2\n",
1140             "EBEAM=10 PBEAM=100 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_10x100_hiAcc.csv 2\n",
1141             "EBEAM=10 PBEAM=100 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_10x100_hiDiv.csv 2\n",
1142             "EBEAM=18 PBEAM=275 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_18x275_hiAcc.csv 2\n",
1143             "EBEAM=18 PBEAM=275 DETECTOR_VERSION=25.12.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=25.12.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/TCS/TCS_18x275_hiDiv.csv 2\n"
1144           ]
1145         }
1146       ],
1147       "source": [
1148         "tcs_list = [\"EXCLUSIVE/TCS/TCS_5x41_hiAcc.csv\",\"EXCLUSIVE/TCS/TCS_5x41_hiDiv.csv\",\"EXCLUSIVE/TCS/TCS_10x100_hiAcc.csv\",\"EXCLUSIVE/TCS/TCS_10x100_hiDiv.csv\", \"EXCLUSIVE/TCS/TCS_18x275_hiAcc.csv\", \"EXCLUSIVE/TCS/TCS_18x275_hiDiv.csv\"]\n",
1149         "submitted = False\n",
1150         "\n",
1151         "for tcs in tcs_list:\n",
1152         "  match = re.search(r'(\\d+)x(\\d+)', tcs)\n",
1153         "  ebeam = match.group(1)\n",
1154         "  pbeam = match.group(2)\n",
1155         "  if not submitted:\n",
1156         "   print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+tcs+\" 2\")"
1157       ]
1158     },
1159     {
1160       "cell_type": "code",
1161       "source": [
1162         "dvcs_list = [\"EXCLUSIVE/DVCS/DVCS_5x41_hiAcc.csv\",\"EXCLUSIVE/DVCS/DVCS_5x41_hiDiv.csv\",\"EXCLUSIVE/DVCS/DVCS_10x100_hiAcc.csv\",\"EXCLUSIVE/DVCS/DVCS_10x100_hiDiv.csv\", \"EXCLUSIVE/DVCS/DVCS_18x275_hiAcc.csv\", \"EXCLUSIVE/DVCS/DVCS_18x275_hiDiv.csv\"]\n",
1163         "submitted = False\n",
1164         "\n",
1165         "for dvcs in dvcs_list:\n",
1166         "  match = re.search(r'(\\d+)x(\\d+)', dvcs)\n",
1167         "  ebeam = match.group(1)\n",
1168         "  pbeam = match.group(2)\n",
1169         "  if not submitted:\n",
1170         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvcs+\" 2\")\n"
1171       ],
1172       "metadata": {
1173         "id": "EIQg-kI0gQ9K"
1174       },
1175       "execution_count": null,
1176       "outputs": []
1177     },
1178     {
1179       "cell_type": "code",
1180       "source": [
1181         "demp_list = [\"EXCLUSIVE/DEMP/DEMPgen-1.2.2_10x100_pi+.csv\",\"EXCLUSIVE/DEMP/DEMPgen-1.2.2_18x275_pi+.csv\", \"EXCLUSIVE/DEMP/DEMPgen-1.2.2_5x41_K+Lambda.csv\", \"EXCLUSIVE/DEMP/DEMPgen-1.2.2_5x41_pi+.csv\", \"EXCLUSIVE/DEMP/DEMPgen-1.2.3_10x130_K+Lambda.csv\", \"EXCLUSIVE/DEMP/DEMPgen-1.2.3_10x130_pi+.csv\"]\n",
1182         "submitted = False\n",
1183         "\n",
1184         "for demp in demp_list:\n",
1185         "  match = re.search(r'(\\d+)x(\\d+)', demp)\n",
1186         "  ebeam = match.group(1)\n",
1187         "  pbeam = match.group(2)\n",
1188         "  if not submitted:\n",
1189         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+demp+\" 2\")\n",
1190         "\n"
1191       ],
1192       "metadata": {
1193         "id": "_bASlJXHrQfO"
1194       },
1195       "execution_count": null,
1196       "outputs": []
1197     },
1198     {
1199       "cell_type": "code",
1200       "source": [
1201         "dvmp_list = [\"EXCLUSIVE/DVMP/EpIC1.0.0-1.1_DVMP_10x100_hiAcc_ab.csv\"]\n",
1202         "submitted = False\n",
1203         "\n",
1204         "for dvmp in dvmp_list:\n",
1205         "  match = re.search(r'(\\d+)x(\\d+)', dvmp)\n",
1206         "  ebeam = match.group(1)\n",
1207         "  pbeam = match.group(2)\n",
1208         "  if not submitted:\n",
1209         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+dvmp+\" 2\")\n"
1210       ],
1211       "metadata": {
1212         "id": "69XLJiFbsQJE"
1213       },
1214       "execution_count": null,
1215       "outputs": []
1216     },
1217     {
1218       "cell_type": "code",
1219       "source": [
1220         "diffractive_phi_list = [\"EXCLUSIVE/DIFFRACTIVE_PHI/sartre1.39-1.0_coherent_phi_eAu_bsat_10x100.csv\"]\n",
1221         "submitted = False\n",
1222         "\n",
1223         "for diffractive_phi in diffractive_phi_list:\n",
1224         "  ebeam = \"10\"\n",
1225         "  pbeam = \"100_Au197\"\n",
1226         "  if not submitted:\n",
1227         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+diffractive_phi+\" 2\")\n"
1228       ],
1229       "metadata": {
1230         "id": "dI1hLyshDL45",
1231         "outputId": "60cc3c66-381f-4cb9-9fd1-95255050a794",
1232         "colab": {
1233           "base_uri": "https://localhost:8080/"
1234         }
1235       },
1236       "execution_count": null,
1237       "outputs": [
1238         {
1239           "output_type": "stream",
1240           "name": "stdout",
1241           "text": [
1242             "EBEAM=10 PBEAM=100_Au197 DETECTOR_VERSION=26.02.0 DETECTOR_CONFIG=epic_craterlake JUG_XL_TAG=26.02.0-stable COPYRECO=true COPYFULL=false COPYLOG=true USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 EXCLUSIVE/DIFFRACTIVE_PHI/sartre1.39-1.0_coherent_phi_eAu_bsat_10x100.csv 2\n"
1243           ]
1244         }
1245       ]
1246     },
1247     {
1248       "cell_type": "code",
1249       "source": [
1250         "eA_list = [\"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x166_q2_2to10.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x166_q2_10to100.csv\", \"DIS/eA/BeAGLE1.03.02-1.2_DIS_eHe3_10x166_q2_100to10000.csv\"]\n",
1251         "pbeam_list=[\"166_He3\", \"166_He3\", \"166_He3\"]\n",
1252         "submitted = False\n",
1253         "\n",
1254         "for eA, pbeam in zip(eA_list, pbeam_list):\n",
1255         "  match = re.search(r'(\\d+)x(\\d+)', eA)\n",
1256         "  ebeam = match.group(1)\n",
1257         "  if not submitted:\n",
1258         "    print(\"EBEAM=\"+ebeam+\" PBEAM=\"+pbeam+\" DETECTOR_VERSION=\"+detector_version+\" DETECTOR_CONFIG=\"+detector_config+\" JUG_XL_TAG=\"+jug_xl_tag+\" COPYRECO=\"+copy_reco+\" COPYFULL=\"+copy_full+\" COPYLOG=\"+copy_log+\" USERUCIO=true X509_USER_PROXY=secrets/x509_user_proxy scripts/submit_csv.sh osg_csv hepmc3 \"+eA+\" 2\")\n"
1259       ],
1260       "metadata": {
1261         "id": "eLPGNH7vfQoi"
1262       },
1263       "execution_count": null,
1264       "outputs": []
1265     }
1266   ]
1267 }