Project

General

Profile

Analysis Getting Started » History » Version 9

Sean Jeffas, 05/11/2023 10:27 AM

1 1 Sean Jeffas
h1. Analysis Getting Started
2 2 Sean Jeffas
3
These instructions are specific to the analyzer and SBS-offline installations existing under /work/halla/sbs, maintained by Andrew Puckett.
4
5
{{toc}}
6 3 Sean Jeffas
7
h1. How to Reach the SBS Work Directory
8
9 4 Sean Jeffas
* Log in to the JLab ifarm
10
** https://scicomp.jlab.org/docs/getting_started
11 3 Sean Jeffas
* The SBS work directory is located at /work/halla/sbs
12 4 Sean Jeffas
** Created a directory here with @mkdir username@
13 3 Sean Jeffas
** If you do not have permission contact Ole Hansen (ole@jlab.org) and ask to be added to the SBS user group.
14 5 Sean Jeffas
15
h1. Setting up Environments
16
17
* If you want to set up your own personal analyzer you can look here https://github.com/JeffersonLab/analyzer
18
19
h1. Getting Files from Cache
20
21 6 Sean Jeffas
* All raw EVIO files from GMn are on tape at @/mss/halla/sbs@
22
* Cached EVIO files are located at @/cache/halla/sbs@
23 5 Sean Jeffas
* To write files from tape to cache see documentation here, https://scicomp.jlab.org/docs/node/586
24
** For example, to get all EVIO splits from run runnumber in GMn to cache execute @jcache get /mss/halla/sbs/raw/*runnumber*@
25 7 Sean Jeffas
26
h1. Setting up the SBS Replay
27 8 Sean Jeffas
28
* If you do not plan to make changes to the replay code you can simply use the version located at @/work/halla/sbs/SBS_OFFLINE@ and @/work/halla/sbs/SBS_REPLAY@
29
* The SBS analysis is located at https://github.com/JeffersonLab/SBS-offline and https://github.com/JeffersonLab/SBS-replay
30
** You can copy the github versions to your own work directory, if you plan to make your own changes to the analysis
31 9 Sean Jeffas
32
h2. SBS Installation
33
34
Follow the README instructions on https://github.com/JeffersonLab/SBS-offline to install SBS-offline.
35
After installing, there should be a directory, install/run_replay_here
36
Inside there should be one file named .rootrc (it is a hidden file).
37
Wherever you run the replay, this file must be there to load the SBS-offline libraries. Either run your replays here, or move the .rootrc file to the new destination.