Difference between revisions of "Analysis Getting Started"

From SBS wiki
Jump to: navigation, search
(SBS Installation)
(SBS Installation)
Line 32: Line 32:
 
* Follow the README instructions on https://github.com/JeffersonLab/SBS-offline to install SBS-offline.
 
* Follow the README instructions on https://github.com/JeffersonLab/SBS-offline to install SBS-offline.
 
* After installing, there should be a directory, <code> install/run_replay_here </code>
 
* After installing, there should be a directory, <code> install/run_replay_here </code>
* Inside there should be one file named <code> .rootrc </code> (it is a hidden file).
+
* Inside there should be one file named <code>.rootrc</code> (it is a hidden file).
 
* Wherever you run the replay, this file must be there to load the SBS-offline libraries. Either run your replays here, or move the <code> .rootrc </code> file to the new destination.
 
* Wherever you run the replay, this file must be there to load the SBS-offline libraries. Either run your replays here, or move the <code> .rootrc </code> file to the new destination.
  

Revision as of 15:36, 4 March 2022

How to Reach the SBS Work Directory

  • The SBS work directory is located at /work/halla/sbs
    • Created a directory here with mkdir username
    • If you do not have permission contact Ole Hansen (ole@jlab.org) and ask to be added to the SBS user group.


Setting up Environments

  • Open ~/.cshrc and add the lines:
source /site/12gev_phys/softenv.csh 2.5
source /work/halla/sbs/ANALYZER/install/bin/setup.csh 


Setting up the SBS Replay


SBS Installation

  • Follow the README instructions on https://github.com/JeffersonLab/SBS-offline to install SBS-offline.
  • After installing, there should be a directory, install/run_replay_here
  • Inside there should be one file named .rootrc (it is a hidden file).
  • 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.

Getting Files from Cache

  • All raw EVIO files from GMn are on tape at /mss/halla/sbs/raw
  • Cached EVIO files are located at /cache/halla/sbs/raw
  • To write files from tape to cache see documentation here, https://scicomp.jlab.org/docs/node/586
    • For example, to get all EVIO splits from run runnumber to cache execute jcache get /mss/halla/sbs/raw/*runnumber*


Storing Output Files

  • No output files (logs or ROOT) should be stored in the work directory
  • They should be stored in the "volatile" directory
    • Go to /volatile/halla/sbs
    • Created a directory here with mkdir username