GettingStarted Software

From Xem2
(Redirected from Getting Started - Software)
Jump to navigationJump to search

Hall C Software for XEM2

We are using all standard equipment and thus the standard hall C analyzer (hcana).


Hall C Commands for XEM2

Accessing RAW data files and PASS# data files

This section lists some commands that interface with the mass storage system. Refer to the file system layout for a better idea of where large data files are stored. Jasmine is the system that interfaces with the MSS.

Jasmine MSS utility information page
Save local copy of MSS file to /cache/ jcache
Put a file into MSS with our group permissions jput
Get a file in MSS and put the local copy at a specified location (not cache) jget

These commands can be issued on any farm node. They cannot be ran from most computers like chislobog, jlabl* or vmware. jcache is the most commonly used command used.

Sourcing our Software

Versioning

Analysis relies on CERN ROOT and HCANA as well as the mc-single-arm and other repositories. In order to maintain the newest version and work using the same software, a software directory has been made on our group disk:

  • /group/c-xem2/software/
  • We are currently operating with Version 1.0.0 of the XEM software package:
    • HCANA v0.90.00 (Develop 9d6b290)
    • CERN ROOT v6.22.06
    • Python v3.4.6

Sourcing Instructions

Users have access to the common users environment, and our /group/ location.

  • For join the xem2 group on JLab computers talk to Dave.

In order to source the files, simply type source /group/c-xem2/software/setup.sh or source /group/c-xem2/software/setup.csh (depending on your shell).

You should add the sourcing of the setup script to your .cshrc or .bashrc file (depending on your shell).

Check Everything is Working

  • Type python --version, and it should return the correct version
    • Make sure you can load ROOT in python (import ROOT as R)
  • Open root-config --version and check the version number
  • Make sure the hadd utility works
  • Make sure hcana can be run from any directory. For more information on the replay and hcana, go to the REPLAY page.
    • Don't run source script in a directory that has a setup.csh script (home should be ok)