Project

General

Profile

Actions

Analysis Getting Started » History » Revision 13

« Previous | Revision 13/25 (diff) | Next »
Sean Jeffas, 05/11/2023 10:31 AM


Analysis Getting Started

These instructions are specific to the analyzer and SBS-offline installations existing under /work/halla/sbs, maintained by Andrew Puckett.

How to Reach the SBS Work Directory

Setting up Environments

Getting Files from Cache

  • All raw EVIO files from GMn are on tape at /mss/halla/sbs
  • Cached EVIO files are located at /cache/halla/sbs
  • 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 in GMn to cache execute jcache get /mss/halla/sbs/raw/*runnumber*

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.

SBS Replay Environments

  • The following lines should be used in a script to define where the data and output files should be located
    setenv SBS_REPLAY path-to-your-replay/SBS-replay
    setenv DB_DIR $SBS_REPLAY/DB
    setenv DATA_DIR /cache/mss/halla/sbs/raw
    setenv OUT_DIR path-to-your-volatile/rootfiles
    setenv LOG_DIR path-to-your-volatile/logs
    setenv ANALYZER_CONFIGPATH $SBS_REPLAY/replay
    
  • DATA_DIR tells the replay where the EVIO files are.
  • OUT_DIR tells the replay where to put the output ROOT files.

Running the SBS Replay

Updated by Sean Jeffas about 1 year ago · 13 revisions