Difference between revisions of "Documentation of g4sbs"

From Hall A Wiki
Jump to: navigation, search
(Getting the code and building the program)
Line 7: Line 7:
 
The code is hosted on a github repository owned by JLab. To clone via ssh (preferred method on JLab batch farm), do:  
 
The code is hosted on a github repository owned by JLab. To clone via ssh (preferred method on JLab batch farm), do:  
  
{| class="wikitable"
+
{| class="wikitable" style="background: #BFBFBF;"
| git clone git@github.com:JeffersonLab/g4sbs.git
+
|-
 +
| '''git clone git@github.com:JeffersonLab/g4sbs.git'''
 +
|-
 
|}
 
|}
 +
 +
For this method to work, the ssh public key on the machine where you want to get the code must be added to your github account.
  
 
==How to run the program==
 
==How to run the program==

Revision as of 16:51, 22 July 2015

Documentation page for g4sbs

This page is maintained by the UConn group (Andrew Puckett) and as of July 22, 2015 is based on the "uconn_dev" branch of g4sbs on github.

Getting the code and building the program

The code is hosted on a github repository owned by JLab. To clone via ssh (preferred method on JLab batch farm), do:

git clone git@github.com:JeffersonLab/g4sbs.git

For this method to work, the ssh public key on the machine where you want to get the code must be added to your github account.

How to run the program

g4sbs commands

"Pre-init" vs "Post-init" commands

Setting up the magnetic field

Output ROOT tree structure

Useful links

Git Documentation Github.com homepage for g4sbs

Guide to generating ssh keys and adding to your github.com account.