Difference between revisions of "ROOT Analyzer/Compiling"
(Root requirement) |
|||
Line 1: | Line 1: | ||
+ | [[category:12GeV Software]] | ||
A skeleton Hall C analyzer, based on the Hall A analyzer is available and may be retrieved with Git, see [[Analyzer/Git]]. | A skeleton Hall C analyzer, based on the Hall A analyzer is available and may be retrieved with Git, see [[Analyzer/Git]]. | ||
Revision as of 11:13, 14 March 2012
A skeleton Hall C analyzer, based on the Hall A analyzer is available and may be retrieved with Git, see Analyzer/Git.
Before compiling, go to the directory where the code is and setup the environment with
source setup.sh
(Or "source setup.csh" if you use csh/tcsh.) This setup script can be called in your login script. Make sure that in addition to the Hall C code in the src directory, the Hall A code is in the podd directory. See Analyzer/Git if it is not.
The only prerequisite, beyond what should normally be installed on a system, is root. On a CUE system, type
setup root
to setup root. On your own system, install root somehow.
To compile the analyzer, type
make
This should build the Hall A libraries and the Hall C analyzer hcana.
See Analyzer/Running for instructions to run the analyzer.