Setup - SpiRIT-Collaboration/BeamAnalysis GitHub Wiki
This resource assumes that anaroot has been installed and setup correctly. To clone this repository: git clone https://[email protected]/SpiRIT-Collaboration/BeamAnalysis.git
Once cloned, source your anaroot environment so that the variable $TARTSYS is defined in your environment. Then run the setup_dir.sh script in the BeamAnalysis folder:
./setup_dir.sh
This will be updated as needed to setup various links and make certain files as needed, including inside the macros and db folders.
Currently, the location of ridf data files can be set automatically for certain environments by selecting an option when prompted during the setup_dir.sh routine.
The macros in this repository expect data directory structure: BeamAnalysis/ridf/SMDAQ####.ridf, so a soft link must be created to the folder containing the ridf files:
ln -sf /RIDF/FOLDER/LOCATION/ ridf
Example ridf link creation:
MSU HPCC:
ln -sf /mnt/research/spirit/SPIRIT_TPC/data/ridf ridf
MSU Fishtank cluster:
ln -sf /mnt/spirit/rawdata/ridf ridf
After this, soft links prepackaged in the repository will direct queries for ridf files to this location.