Event builder for CoMPASS data from the SPS-SABRE setup at FoxLab
Go to file
2023-01-14 13:16:31 -05:00
bin First commit 2021-07-13 16:36:41 -04:00
etc Big update. Finish implementation of EVBWorkspace. Remove unnecessary includes. Note that std::filesystem clashes with ROOT GUI libs. 2022-07-13 10:26:37 -04:00
src Fix bug in CompassFile where m_nHits is uninitialized for CoMPASS empty (2byte) files 2023-01-14 13:16:31 -05:00
vendor Switch to using YAML as our config saving format, integrate yaml-cpp. Switch B-field input to kG instead of G 2022-07-13 11:59:11 -04:00
.gitignore Update README, gitignore 2022-10-01 22:21:25 -04:00
.gitmodules Switch to using YAML as our config saving format, integrate yaml-cpp. Switch B-field input to kG instead of G 2022-07-13 11:59:11 -04:00
CMakeLists.txt Switch to using YAML as our config saving format, integrate yaml-cpp. Switch B-field input to kG instead of G 2022-07-13 11:59:11 -04:00
LICENSE Adding license to repo 2021-12-15 14:44:03 -05:00
README.md Merge branch 'main' into devel 2022-10-24 14:34:54 -04:00

SPS-SABRE Data Analysis Package

Version 4 This is a software package designed to help experimenters analyze data from SPS-SABRE at FSU. It can convert CoMPASS data to ROOT, sort the data in time, build events, perform preliminary analysis, and provide basic plots.

Installation

To build and install the event builder, the CMake build system is used. To build, simply run the following commands from the SPS_SABRE_EventBuilder directory:

mkdir build
cd build
cmake ..
make

To clone the repository use git clone --recursive https://github.com/sesps/SPS_SABRE_EventBuilder.git. The recursive flag is important; this tells github to pull all submodules associated with the repository.

The binaries are installed to the bin directory of the event builder, and should be run from the event builder directory (i.e. ./bin/EventBuilderGui). THe bin directory also contains a shell script named archivist for transferring data from a CoMPASS project to the event builder workspace.

In general, one should only build for Release (this is the default), for maximum optimization. However, it can be useful to run in Debug (change the cmake command to cmake -DCMAKE_BUILD_TYPE=Debug ..) when testing new features.

EventBuilder vs. EventBuilderGui

There are two programs provided. They are EventBuilderGui and EventBuilder. The first is a full GUI version of the event builder. The GUI supports all conversion methods and the plotting tool.

Details

For more information see the wiki, which describes the app in much more detail. Additionally, check the FAQ if you're having trouble with something.

System Requirements

  • Requires C++17
  • Requires ROOT version which supports CMake dictionary generation and is C++17 compatible
  • Requires CMake >= 3.16
  • This version is for data from CAEN CoMPASS >= 2.0. Data from older CoMPASS versions are not compatible.