Difference between revisions of "Documentation of SBS-offline"

From Hall A Wiki
Jump to: navigation, search
(Prerequisites)
(Getting the code and building the program)
Line 12: Line 12:
 
*Working [https://root.cern.ch/drupal/ ROOT] installation. '''libsbsdig is compatible with ROOT version 5 and ROOT version 6'''. '''''ROOT 6 is strongly recommended'''''
 
*Working [https://root.cern.ch/drupal/ ROOT] installation. '''libsbsdig is compatible with ROOT version 5 and ROOT version 6'''. '''''ROOT 6 is strongly recommended'''''
 
*Working analyzer '''built with cmake'''. for that purpose, refer to the instruction below.
 
*Working analyzer '''built with cmake'''. for that purpose, refer to the instruction below.
 +
 +
====Instructions for analyzer installation compatible with cmake====
 
clone the analyzer repository from:
 
clone the analyzer repository from:
 
  * git clone git@github.com:JeffersonLab/analyzer.git
 
  * git clone git@github.com:JeffersonLab/analyzer.git

Revision as of 15:08, 26 February 2020

Documentation of SBS-offline: Overview

This page is maintained by the UConn group (Eric Fuchey + Andrew Puckett) and as of February 14, 2020 is specific to the master branch of SBS-offline on github.

Purpose

This page documents the SBS-offline program code, which purpose is to perform the data analysis for the upcoming SBS experiments.

Getting the code and building the program

Prerequisites

  • Working ROOT installation. libsbsdig is compatible with ROOT version 5 and ROOT version 6. ROOT 6 is strongly recommended
  • Working analyzer built with cmake. for that purpose, refer to the instruction below.

Instructions for analyzer installation compatible with cmake

clone the analyzer repository from:

* git clone git@github.com:JeffersonLab/analyzer.git

build it with cmake following the instructions at:

* https://github.com/JeffersonLab/analyzer#compiling-with-cmake

2 precisions:

  • it seems that in these instructions the "build" directory has to be in the analyzer directory.
  • for your environment settings, in addition to the two lines mentionned in the instructions, you still want to define ANALYZER as the path to your install directory e.g.
* setenv ANALYZER $HOME/local/analyzer

Useful links