Back to home page

EIC code displayed by LXR

 
 

    


Warning, /tutorial-analysis/setup.md is written in an unsupported language. File is not indexed.

0001 ---
0002 title: Setup
0003 ---
0004 If you have not done so already, please follow the instructions [here](https://eic.github.io/tutorial-setting-up-environment/setup.html) well before the start of the tutorial to ensure your system is ready.
0005 
0006 This tutorial will go over how to analyze the reconstructed simulation, so you will need to download a file to work with locally. The files are on the order of 50-80MB each. For consistency, we will use neutral current DIS events from the April 2024 campaign (24.04.0) with minimum Q2 = 10 GeV2 and at the highest electron-proton beam energy combination (if you wish to make an energy comparison, you can download additional files). To browse the available files, you can run the following commands from within the eic-shell environment:
0007 
0008 ```console
0009 xrdfs root://dtn-eic.jlab.org
0010 ls /work/eic2/EPIC/RECO/24.04.0/epic_craterlake/DIS/NC/18x275/minQ2=10
0011 exit
0012 ```
0013 
0014 You can download any of the files you want in here. You can do this by (still within eic-shell environment) navigating to the directory you will store your file(s) and run the command:
0015 
0016 ```console
0017 xrdcp root://dtn-eic.jlab.org//work/eic2/EPIC/RECO/24.04.0/epic_craterlake/DIS/NC/18x275/minQ2=10/pythia8NCDIS_18x275_minQ2=10_beamEffects_xAngle=-0.025_hiDiv_5.0001.eicrecon.tree.edm4eic.root ./
0018 ```
0019 
0020 Do not forget the trailing ./ (or just . works too) as this tells the progam to put the file in your current dir.
0021 
0022 This command will download the file (0001) specified. You can of course, download a different file in the same directory if you want.
0023 
0024 ## Additional Comments for this Tutorial - Septmeber 2024 Version
0025 
0026 Note that this tutorial is a little odd in that, for the most part, we don't rely on eic-shell for the majority of the lesson. We will need a working ROOT install though. This ROOT install must also be one that we can work with interactively, with minimal lag. There are two straightforward options for this -
0027 
0028 1. eic-shell running locally on your own local machine. You should be able to run ROOT interactively from within eic-shell.
0029 2. A working version (and relatively recent, 6.22 or above, ideally 6.30) of ROOT on your local machine.
0030 
0031 If you use option 2, note that you will not be able to "stream" files to your ROOT script, you will need them available locally. I will be using option 2 for this tutorial.
0032 
0033 {% include links.md %}